AWS Tools for Microsoft Visual Studio Team Services
User Guide

AWS Elastic Beanstalk Deployment Task


This task deploys an application to Amazon EC2 instances by using Elastic Beanstalk.


This task deploys and scales web applications and services developed with Java, .NET, PHP, Node.js, Python, Ruby, Go, and Docker on familiar servers such as Apache, Nginx, Passenger, and IIS.

Elastic Beanstalk automatically handles the deployment, from capacity provisioning, load balancing, and automatic scaling to application health monitoring.


You can set the following parameters for the task. Required parameters are noted by an asterisk (*). Other parameters are optional.


The default name of the task, AWS Elastic Beanstalk Deployment. You can rename it.

AWS Credentials*

The AWS credentials to use. If needed, choose +, and then add a new AWS connection.

AWS Region*

The AWS Region name to use. For more information, see Regions and Endpoints in the Amazon Web Services General Reference.

Application Type*

The type of application bundle to deploy. ASP.NET application deployments use Web Deploy archives. ASP.NET Core deployments are performed using the dotnet publish command line tool.

Web Deploy Archive

Required if Application Type is set to ASP.NET. The path to the web deploy archive containing the application to deploy to Elastic Beanstalk.

Published Application Path

Required if Application Type is set to ASP.NET Core. The path to the directory where the command dotnet publish outputs the published application.

Application Name*

The name of the Elastic Beanstalk application.

Environment Name*

The name of the Elastic Beanstalk environment that will run the application.

An environment represents the AWS resources (e.g., load balancer, Auto Scaling group, and Amazon EC2 instances) created specifically to run your application.

Version Label

Version label for the new application revision. If not specified the task will construct a version label based on the current date and time, expressed in milliseconds (for example v20171120222623).