Deploying to Your Environment
Now that you have tested your application, it is easy to edit and redeploy your application and see the results in moments.
To edit and redeploy your ASP.NET web application
In Solution Explorer, right-click your application, and then click Republish to Environment <
your environment name>. The Re-publish to AWS Elastic Beanstalk wizard opens.
Review your deployment details and click Deploy.
If you want to change any of your settings, you can click Cancel and use the Publish to AWS wizard instead. For instructions, see Create an Elastic Beanstalk Environment.
Your updated ASP.NET web project will be exported as a web deploy file with the new version label, uploaded to Amazon S3, and registered as a new application version with Elastic Beanstalk. The Elastic Beanstalk deployment feature monitors your existing environment until it becomes available with the newly deployed code. On the env:<
environment name> tab, you will see the status of your environment.
You can also deploy an existing application to an existing environment if, for instance, you need to roll back to a previous application version.
To deploy an application version to an existing environment
Right-click your Elastic Beanstalk application by expanding the Elastic Beanstalk node in AWS Explorer. Select View Status.
In the App: <
application name> tab, click Versions.
Click the application version you want to deploy and click Publish Version.
In the Publish Application Version wizard, click Next.
Review your deployment options, and click Deploy.
Your ASP.NET project will be exported as a web deploy file and uploaded to Amazon S3. The Elastic Beanstalk deployment feature will monitor your environment until it becomes available with the newly deployed code. On the env:<
environment name> tab, you will see status for your environment.