Creating and deploying .NET applications on Elastic Beanstalk - AWS Elastic Beanstalk

Creating and deploying .NET applications on Elastic Beanstalk

Important

TLS 1.2 Compatibility

As of December 31, 2023, AWS started fully enforcing TLS 1.2 across all AWS API endpoints. This removed the ability to use TLS versions 1.0 and 1.1 with all AWS APIs. This was originally communicated on June 28, 2022. To avoid the risk of availability impact, upgrade your platform versions to a newer version as soon as possible.

Potential impact

Elastic Beanstalk platforms versions that run TLS v1.1 or earlier will be impacted. This change will impact environment actions that include but are not limited to the following: configuration deployments, application deployments, auto scaling, new environment launch, log rotation, enhanced health reports, and publishing application logs to the Amazon S3 bucket that's associated with your applications.

Affected Windows Platform Versions

Customers with Elastic Beanstalk environments on the following platform version are advised to upgrade each of their corresponding environments to Windows platform version 2.8.3 or later, released on Feb 18, 2022.

  • Windows Server 2019 — platform version 2.8.2 or prior versions

 

Customers with Elastic Beanstalk environments on the following platform versions are advised to upgrade each of their corresponding environments to Windows platform version 2.10.7 or later, released on Dec 28, 2022.

  • Windows Server 2016 — platform version 2.10.6 or prior versions

  • Windows Server 2012 — all platform versions; this platform was retired on December 4, 2023

  • Windows Server 2008 — all platform versions; this platform was retired on October 28, 2019

 

For a list of the most recent and supported Windows Server platform versions, see Supported Platforms in the AWS Elastic Beanstalk Platforms guide.

For details and best practices about updating your environment, see Updating your Elastic Beanstalk environment's platform version.

AWS Elastic Beanstalk for .NET makes it easier to deploy, manage, and scale your ASP.NET web applications that use Amazon Web Services. Elastic Beanstalk for .NET is available to anyone who is developing or hosting a web application that uses IIS.

Get started now: To get started with a tutorial, you can go directly to Tutorial: Deploying an ASP.NET Core application with Elastic Beanstalk. In this tutorial, you will deploy a sample ASP.NET Web Application to an AWS Elastic Beanstalk application.

The rest of this section presents instructions for creating, testing, deploying, and redeploying your ASP.NET web application to Elastic Beanstalk. Some examples demonstrate using the AWS Toolkit for Visual Studio, and The AWS Toolkit for Visual Studio subsection explains how to manage and configure your applications and environments using the toolkit. For more information about prerequisites, installation instructions, and running code samples, go to the AWS Toolkit for Microsoft Visual Studio. This site also provides useful information about tools, how-to topics, and additional resources for ASP.NET developers.

Note

This platform doesn't support the following Elastic Beanstalk features:

In addition, platform versions earlier than v2.0.0 don't support enhanced health reporting, managed platform updates, immutable updates, immutable deployments, and rolling deployments with an additional batch.

The topics in this chapter assume that you have some knowledge of Elastic Beanstalk environments. If you haven't used Elastic Beanstalk before, try the getting started tutorial to learn the basics.