Elastic Beanstalk


In this lab, you will configure your Visual Studio Environment and use “Publish to Elastic Beanstalk” wizard, provided as part of the Toolkit for Visual Studio, to deploy a traditional ASP.NET web application to AWS Beanstalk.


AWS Elastic Beanstalk is an easy-to-use service for deploying and scaling 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.

You can simply upload your code and Elastic Beanstalk automatically handles the deployment, from capacity provisioning, load balancing, auto-scaling to application health monitoring. At the same time, you retain full control over the AWS resources powering your application and can access the underlying resources at any time.

The AWS Toolkit for Visual Studio is an extension for Microsoft Visual Studio running on Microsoft Windows that makes it easier for developers to develop, debug, and deploy .NET applications using Amazon Web Services. With the AWS Toolkit for Visual Studio, you’ll be able to get started faster and be more productive when building AWS applications.

You can easily use the AWS Toolkit for Visual Studio to develop, debug, and then deploy your .NET web applications using a web application template. Then you can use Visual Studio to build and run your application locally before deploying to AWS Elastic Beanstalk


To complete the lab, you need the following requirements:

  • Microsoft Visual Studio versions 2013 and later. (including Community editions).

  • An AWS Account

  • An AWS IAM user with privileges to create/modify AWS Elastic Beanstalk environments

  • Amazon EC2 key pair created for the selected region