Elastic Beanstalk supported platforms - AWS Elastic Beanstalk

Elastic Beanstalk supported platforms

AWS Elastic Beanstalk provides managed platforms that support running web applications developed for specific programming languages, frameworks, and web containers. Elastic Beanstalk offers one or more platform versions for each platform. When you create an environment and choose a platform, Elastic Beanstalk provisions the resources that your application needs, including one or more Amazon Elastic Compute Cloud (Amazon EC2) instances. The software stack running on the Amazon EC2 instances depends on the platform version you chose.

For more information about platforms, see AWS Elastic Beanstalk Platforms in the AWS Elastic Beanstalk Developer Guide. Detailed release notes are available for recent releases at AWS Elastic Beanstalk Release Notes.

The following sections provide information about all current platform versions. For lists of historical platform versions and the date ranges they were current, see Platform history.

Elastic Beanstalk has scheduled some platform versions for retirement, because some of their components are reaching their End of Life (EOL). These platform versions remain available until the published retirement date of their retiring components. For a list of component retirement dates, see AWS Elastic Beanstalk platform schedules in the AWS Elastic Beanstalk Developer Guide. For a list of platform versions scheduled for retirement, see Elastic Beanstalk platform versions scheduled for retirement.

Docker

Docker is a container platform that allows you to define your own software stack and store it in an image that can be downloaded from a remote repository. The Docker platform includes an nginx proxy server.

See Deploying Elastic Beanstalk Applications from Docker Containers in the AWS Elastic Beanstalk Developer Guide for more information about the Docker platform.

Platform Version and Solution Stack Name

AMI

ECS Agent

Docker

Docker Compose

Proxy Server

Docker AL2023 version 4.3.7

64bit Amazon Linux 2023 v4.3.7 running Docker

2023.5.20240903

25.0.6

2.29.2

nginx 1.24.0

ECS AL2023 version 4.0.13

64bit Amazon Linux 2023 v4.0.13 running ECS

2023.5.20240903

1.86.2

Docker AL2 version 4.0.2

64bit Amazon Linux 2 v4.0.2 running Docker

2.0.20240903

25.0.6

2.29.2

nginx 1.22.1

ECS AL2 version 3.3.6

64bit Amazon Linux 2 v3.3.6 running ECS

2.0.20240903

1.86.2

For information about previous platform versions, see Docker platform history.

Go

Elastic Beanstalk supports the following Go platform versions.

Platform Version and Solution Stack Name

AMI

Language

AWS X-Ray

Proxy Server

Go 1 AL2023 version 4.1.4

64bit Amazon Linux 2023 v4.1.4 running Go 1

2023.5.20240903

Go 1.22.5

3.3.13

nginx 1.24.0

Go 1 AL2 version 3.11.1

64bit Amazon Linux 2 v3.11.1 running Go 1

2.0.20240903

Go 1.23.1

3.3.13

nginx 1.22.1

For information about previous platform versions, see Go platform history.

Java SE

Elastic Beanstalk supports the following Java SE platform versions.

Platform Version and Solution Stack Name

AMI

Language

Tools

AWS X-Ray

Proxy Server

Corretto 21 AL2023 version 4.3.1

64bit Amazon Linux 2023 v4.3.1 running Corretto 21

2023.5.20240903

Corretto 21.0.4.7.1

Ant 1.10.15, Gradle 8.10, Maven 3.9.9

3.3.13

nginx 1.24.0

Corretto 17 AL2023 version 4.3.1

64bit Amazon Linux 2023 v4.3.1 running Corretto 17

2023.5.20240903

Corretto 17.0.12.7.1

Ant 1.10.15, Gradle 8.10, Maven 3.9.9

3.3.13

nginx 1.24.0

Corretto 11 AL2023 version 4.3.1

64bit Amazon Linux 2023 v4.3.1 running Corretto 11

2023.5.20240903

Corretto 11.0.24.8.1

Ant 1.10.15, Gradle 8.10, Maven 3.9.9

3.3.13

nginx 1.24.0

Corretto 8 AL2023 version 4.3.1

64bit Amazon Linux 2023 v4.3.1 running Corretto 8

2023.5.20240903

Corretto 8.422.05.1

Ant 1.10.15, Gradle 8.10, Maven 3.9.9

3.3.13

nginx 1.24.0

Corretto 17 version 3.7.6

64bit Amazon Linux 2 v3.7.6 running Corretto 17

2.0.20240903

Corretto 17.0.12.7.1

Ant 1.10.15, Gradle 8.10.1, Maven 3.9.9

3.3.13

nginx 1.22.1

Corretto 11 version 3.7.6

64bit Amazon Linux 2 v3.7.6 running Corretto 11

2.0.20240903

Corretto 11.0.24.8.1

Ant 1.10.15, Gradle 8.10.1, Maven 3.9.9

3.3.13

nginx 1.22.1

Corretto 8 version 3.7.6

64bit Amazon Linux 2 v3.7.6 running Corretto 8

2.0.20240903

Corretto 8.422.05.1

Ant 1.10.15, Gradle 8.10.1, Maven 3.9.9

3.3.13

nginx 1.22.1

For information about previous platform versions, see Java SE platform history.

Tomcat

Elastic Beanstalk supports the following Tomcat platform versions.

Platform Version and Solution Stack Name

AMI

Language

AWS X-Ray

Application Server

Proxy Server

Corretto 21 with Tomcat 10 AL2023 version 5.3.2

64bit Amazon Linux 2023 v5.3.2 running Tomcat 10 Corretto 21

2023.5.20240903

Corretto 21.0.4.7.1

3.3.13

Tomcat 10.1.28

nginx 1.24.0 (default), Apache 2.4.62

Corretto 17 with Tomcat 10 AL2023 version 5.3.2

64bit Amazon Linux 2023 v5.3.2 running Tomcat 10 Corretto 17

2023.5.20240903

Corretto 17.0.12.7.1

3.3.13

Tomcat 10.1.28

nginx 1.24.0 (default), Apache 2.4.62

Corretto 17 with Tomcat 9 AL2023 version 5.3.2

64bit Amazon Linux 2023 v5.3.2 running Tomcat 9 Corretto 17

2023.5.20240903

Corretto 17.0.12.7.1

3.3.13

Tomcat 9.0.91

nginx 1.24.0 (default), Apache 2.4.62

Corretto 11 with Tomcat 9 AL2023 version 5.3.2

64bit Amazon Linux 2023 v5.3.2 running Tomcat 9 Corretto 11

2023.5.20240903

Corretto 11.0.24.8.1

3.3.13

Tomcat 9.0.91

nginx 1.24.0 (default), Apache 2.4.62

Corretto 11 with Tomcat 9 AL2 version 4.7.1

64bit Amazon Linux 2 v4.7.1 running Tomcat 9 Corretto 11

2.0.20240903

Corretto 11.0.24.8.1

3.3.13

Tomcat 9.0.91

nginx 1.22.1 (default), Apache 2.4.62

Corretto 8 with Tomcat 9 AL2 version 4.7.1

64bit Amazon Linux 2 v4.7.1 running Tomcat 9 Corretto 8

2.0.20240903

Corretto 8.422.05.1

3.3.13

Tomcat 9.0.91

nginx 1.22.1 (default), Apache 2.4.62

For information about platform versions scheduled for retirement as published in Platform Support Policy, see Tomcat on the Retiring Platform Versions page. For information about previous platform versions, see Tomcat platform history.

.NET Core on Linux

Elastic Beanstalk supports the following .NET Core on Linux platform versions.

Platform Version and Solution Stack Name

Framework

Proxy Server

AMI

AWS X-Ray

.NET 8 on AL2023 version 3.1.6

64bit Amazon Linux 2023 v3.1.6 running .NET 8

.NET 8.0.8, supports 8.0.8

nginx 1.24.0

2023.5.20240903

3.3.13

.NET 6 on AL2023 version 3.1.6

64bit Amazon Linux 2023 v3.1.6 running .NET 6

.NET 6.0.32, supports 6.0.32

nginx 1.24.0

2023.5.20240903

3.3.13

.NET Core on AL2 version 2.8.2

64bit Amazon Linux 2 v2.8.2 running .NET Core

.NET 8.0.8, supports 8.0.8, 6.0.33

nginx 1.22.1

2.0.20240903

3.3.13

For information about previous platform versions, see .NET Core on Linux platform history.

.NET on Windows Server

You can get started in minutes using the AWS Toolkit for Visual Studio. The toolkit includes the AWS libraries, project templates, code samples, and documentation. The AWS SDK for .NET supports the development of applications using .NET Framework 2.0 or later.

Note

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

To learn how to get started deploying a .NET application using the AWS Toolkit for Visual Studio, see Creating and Deploying Elastic Beanstalk Applications in .NET Using AWS Toolkit for Visual Studio in the AWS Elastic Beanstalk Developer Guide.

For information about the latest Microsoft security updates, see Security TechCenter and Security Advisories and Bulletins.

For information about previous .NET on Windows Server platform versions for Elastic Beanstalk, see .NET on Windows Server platform history.

Elastic Beanstalk supports the following .NET on Windows Server platform versions.

Configuration basics

Platform Version

Solution Stack Name

Framework

Proxy Server

Windows Server 2022 with IIS 10.0 version 2.15.4

64bit Windows Server 2022 v2.15.4 running IIS 10.0

.NET 8.0.8, supports 8.0.8, 6.0.33

.NET Framework 4.8.1, supports 4.x, 2.0

IIS 10.0

Windows Server Core 2022 with IIS 10.0 version 2.15.4

64bit Windows Server Core 2022 v2.15.4 running IIS 10.0

.NET 8.0.8, supports 8.0.8, 6.0.33

.NET Framework 4.8.1, supports 4.x, 2.0

IIS 10.0

Windows Server 2019 with IIS 10.0 version 2.15.4

64bit Windows Server 2019 v2.15.4 running IIS 10.0

.NET 8.0.8, supports 8.0.8, 6.0.33

.NET Framework 4.8, supports 4.x, 2.0

IIS 10.0

Windows Server Core 2019 with IIS 10.0 version 2.15.4

64bit Windows Server Core 2019 v2.15.4 running IIS 10.0

.NET 8.0.8, supports 8.0.8, 6.0.33

.NET Framework 4.8, supports 4.x, 2.0

IIS 10.0

Windows Server 2016 with IIS 10.0 version 2.15.4

64bit Windows Server 2016 v2.15.4 running IIS 10.0

.NET 8.0.8, supports 8.0.8, 6.0.33

.NET Framework 4.8, supports 4.x, 2.0

IIS 10.0

Windows Server Core 2016 with IIS 10.0 version 2.15.4

64bit Windows Server Core 2016 v2.15.4 running IIS 10.0

.NET 8.0.8, supports 8.0.8, 6.0.33

.NET Framework 4.8, supports 4.x, 2.0

IIS 10.0

More details

Platform Version

AMI version

AWS SDK for .NET

EC2Config

SSM Agent

Web Deploy

AWS X-Ray

Windows Server 2022 with IIS 10.0 version 2.15.4

2024.08.14

3.7.864.0

3.3.551.0

3.6

3.3.13

Windows Server Core 2022 with IIS 10.0 version 2.15.4

2024.08.14

3.7.864.0

3.3.551.0

3.6

3.3.13

Windows Server 2019 with IIS 10.0 version 2.15.4

2024.08.14

3.7.864.0

3.3.551.0

3.6

3.3.13

Windows Server Core 2019 with IIS 10.0 version 2.15.4

2024.08.14

3.7.864.0

3.3.551.0

3.6

3.3.13

Windows Server 2016 with IIS 10.0 version 2.15.4

2024.08.14

3.7.864.0

3.3.551.0

3.6

3.3.13

Windows Server Core 2016 with IIS 10.0 version 2.15.4

2024.08.14

3.7.864.0

3.3.551.0

3.6

3.3.13

Node.js

Each Node.js platform version on Amazon Linux 2 supports multiple Node.js language versions. Only the default Node.js version is pre-installed. Valid Node.js versions, as well as the default version, are listed in the following table. Starting with Amazon Linux 2023, only one Node.js version is available on each platform version. Each Node.js version includes a respective version of npm (the Node.js package manager). The table lists npm versions in parentheses.

Elastic Beanstalk supports the following Node.js platform versions.

Platform Version and Solution Stack Name

AMI

Node.js versions (npm versions)

Proxy Server

Git

AWS X-Ray

Node.js 20 AL2023 version 6.2.1

64bit Amazon Linux 2023 v6.2.1 running Node.js 20

2023.5.20240903

20.12.2 (10.5.0)

Default version: 20.12.2

nginx 1.24.0 (default), Apache 2.4.62

2.40.1

3.3.13

Node.js 18 AL2023 version 6.2.1

64bit Amazon Linux 2023 v6.2.1 running Node.js 18

2023.5.20240903

18.20.2 (10.5.0)

Default version: 18.20.2

nginx 1.24.0 (default), Apache 2.4.62

2.40.1

3.3.13

Node.js 18 AL2 version 5.9.6

64bit Amazon Linux 2 v5.9.6 running Node.js 18

2.0.20240903

18.20.4 (10.7.0), 18.20.3 (10.7.0), 18.20.2 (10.5.0), 18.20.1 (10.5.0), 18.20.0 (10.5.0), 18.19.1 (10.2.4), 18.19.0 (10.2.3), 18.18.2 (9.8.1), 18.18.1 (9.8.1), 18.18.0 (9.8.1), 18.17.1 (9.6.7), 18.17.0 (9.6.7), 18.16.1 (9.5.1), 18.16.0 (9.5.1), 18.15.0 (9.5.0), 18.14.2 (9.5.0), 18.14.1 (9.3.1), 18.14.0 (9.3.1), 18.13.0 (8.19.3), 18.12.1 (8.19.2), 18.12.0 (8.19.2), 18.11.0 (8.19.2), 18.10.0 (8.19.2), 18.9.1 (8.19.1), 18.9.0 (8.19.1), 18.8.0 (8.18.0), 18.7.0 (8.15.0), 18.6.0 (8.13.2), 18.5.0 (8.12.1), 18.4.0 (8.12.1), 18.3.0 (8.11.0), 18.2.0 (8.9.0), 18.1.0 (8.8.0), 18.0.0 (8.6.0)

Default version: 18.20.4

nginx 1.22.1 (default), Apache 2.4.62

2.40.1

3.3.13

For information about platform versions scheduled for retirement as published in Platform Support Policy, see Node.js on the Retiring Platform Versions page. For information about previous platform versions, see Node.js platform history.

Note

When support for the version of Node.js that you are using is removed from the platform version, you must change or remove the version setting prior to doing a platform update. This may occur when a security vulnerability is identified for the Node.js version, or when the version is retired.

When this happens, attempting to update to a new version of the platform that doesn't support the configured Node.js version fails. To avoid needing to create a new environment:

  • Amazon Linux 2 – change the Node.js version setting in package.json to a Node.js version that is supported by both the old platform version and the new one, or remove the setting, and then deploy the new source bundle. Only then perform the platform update.

  • Amazon Linux AMI – change the NodeVersion configuration option to a version that is supported by both the old platform version and the new one, or remove the option setting, and then perform the platform update.

PHP

Elastic Beanstalk supports the following PHP platform versions.

Platform Version and Solution Stack Name

AMI

Language

Composer

Proxy Server

PHP 8.3 AL2023 version 4.3.3

64bit Amazon Linux 2023 v4.3.3 running PHP 8.3

2023.5.20240903

PHP 8.3.10

2.7.9

nginx 1.24.0 (default), Apache 2.4.62

PHP 8.2 AL2023 version 4.3.3

64bit Amazon Linux 2023 v4.3.3 running PHP 8.2

2023.5.20240903

PHP 8.2.21

2.7.9

nginx 1.24.0 (default), Apache 2.4.62

PHP 8.1 AL2023 version 4.3.3

64bit Amazon Linux 2023 v4.3.3 running PHP 8.1

2023.5.20240903

PHP 8.1.29

2.7.9

nginx 1.24.0 (default), Apache 2.4.62

PHP 8.1 AL2 version 3.8.3

64bit Amazon Linux 2 v3.8.3 running PHP 8.1

2.0.20240903

PHP 8.1.29

2.7.9

nginx 1.22.1 (default), Apache 2.4.62

For information about platform versions scheduled for retirement as published in Platform Support Policy, see PHP on the Retiring Platform Versions page. For information about previous platform versions, see PHP platform history.

Python

Elastic Beanstalk supports the following Python platform versions.

Platform Version and Solution Stack Name

AMI

Language

Package Manager

Packager

meld3

AWS X-Ray

Proxy Server

Python 3.11 AL2023 version 4.1.4

64bit Amazon Linux 2023 v4.1.4 running Python 3.11

2023.5.20240903

Python 3.11.6

pipenv 2024.0.1

3.3.13

nginx 1.24.0 (default), Apache 2.4.62

Python 3.9 AL2023 version 4.1.4

64bit Amazon Linux 2023 v4.1.4 running Python 3.9

2023.5.20240903

Python 3.9.16

pipenv 2024.0.1

3.3.13

nginx 1.24.0 (default), Apache 2.4.62

Python 3.8 AL2 version 3.7.3

64bit Amazon Linux 2 v3.7.3 running Python 3.8

2.0.20240903

Python 3.8.16

pipenv 2024.0.1

3.3.13

nginx 1.22.1 (default), Apache 2.4.62

For information about platform versions scheduled for retirement as published in Platform Support Policy, see Python on the Retiring Platform Versions page. For information about previous platform versions, see Python platform history.

Ruby

Elastic Beanstalk supports the following Ruby platform versions.

Platform Version and Solution Stack Name

AMI

Language

Package Manager

Application Server

AWS X-Ray

Proxy Server

Ruby 3.2 AL2023 version 4.0.12

64bit Amazon Linux 2023 v4.0.12 running Ruby 3.2

2023.5.20240903

Ruby 3.2.2

RubyGems 3.4.10

Puma 6.4.2

3.3.13

nginx 1.24.0

For information about platform versions scheduled for retirement as published in Platform Support Policy, see Ruby on the Retiring Platform Versions page. For information about previous platform versions, see Ruby platform history.