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.4.2

64bit Amazon Linux 2023 v4.4.2 running Docker

2023.6.20241212

25.0.6

2.32.1

nginx 1.26.2

ECS AL2023 version 4.0.17

64bit Amazon Linux 2023 v4.0.17 running ECS

2023.6.20241212

1.89.1

Docker AL2 version 4.0.5

64bit Amazon Linux 2 v4.0.5 running Docker

2.0.20241113

25.0.6

2.30.3

nginx 1.22.1

ECS AL2 version 3.3.9

64bit Amazon Linux 2 v3.3.9 running ECS

2.0.20241113

1.87.1

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.2.2

64bit Amazon Linux 2023 v4.2.2 running Go 1

2023.6.20241212

Go 1.22.7

3.3.13

nginx 1.26.2

Go 1 AL2 version 3.11.4

64bit Amazon Linux 2 v3.11.4 running Go 1

2.0.20241113

Go 1.23.3

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.4.2

64bit Amazon Linux 2023 v4.4.2 running Corretto 21

2023.6.20241212

Corretto 21.0.5.11.1

Ant 1.10.15, Gradle 8.11.1, Maven 3.9.9

3.3.13

nginx 1.26.2

Corretto 17 AL2023 version 4.4.2

64bit Amazon Linux 2023 v4.4.2 running Corretto 17

2023.6.20241212

Corretto 17.0.13.11.1

Ant 1.10.15, Gradle 8.11.1, Maven 3.9.9

3.3.13

nginx 1.26.2

Corretto 11 AL2023 version 4.4.2

64bit Amazon Linux 2023 v4.4.2 running Corretto 11

2023.6.20241212

Corretto 11.0.25.9.1

Ant 1.10.15, Gradle 8.11.1, Maven 3.9.9

3.3.13

nginx 1.26.2

Corretto 8 AL2023 version 4.4.2

64bit Amazon Linux 2023 v4.4.2 running Corretto 8

2023.6.20241212

Corretto 8.432.06.1

Ant 1.10.15, Gradle 8.11.1, Maven 3.9.9

3.3.13

nginx 1.26.2

Corretto 17 version 3.7.9

64bit Amazon Linux 2 v3.7.9 running Corretto 17

2.0.20241113

Corretto 17.0.13.11.1

Ant 1.10.15, Gradle 8.11, Maven 3.9.9

3.3.13

nginx 1.22.1

Corretto 11 version 3.7.9

64bit Amazon Linux 2 v3.7.9 running Corretto 11

2.0.20241113

Corretto 11.0.25.9.1

Ant 1.10.15, Gradle 8.11, Maven 3.9.9

3.3.13

nginx 1.22.1

Corretto 8 version 3.7.9

64bit Amazon Linux 2 v3.7.9 running Corretto 8

2.0.20241113

Corretto 8.432.06.1

Ant 1.10.15, Gradle 8.11, 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.4.2

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

2023.6.20241212

Corretto 21.0.5.11.1

3.3.13

Tomcat 10.1.34

nginx 1.26.2 (default), Apache 2.4.62

Corretto 17 with Tomcat 10 AL2023 version 5.4.2

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

2023.6.20241212

Corretto 17.0.13.11.1

3.3.13

Tomcat 10.1.34

nginx 1.26.2 (default), Apache 2.4.62

Corretto 17 with Tomcat 9 AL2023 version 5.4.2

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

2023.6.20241212

Corretto 17.0.13.11.1

3.3.13

Tomcat 9.0.91

nginx 1.26.2 (default), Apache 2.4.62

Corretto 11 with Tomcat 9 AL2023 version 5.4.2

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

2023.6.20241212

Corretto 11.0.25.9.1

3.3.13

Tomcat 9.0.91

nginx 1.26.2 (default), Apache 2.4.62

Corretto 11 with Tomcat 9 AL2 version 4.7.4

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

2.0.20241113

Corretto 11.0.25.9.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.4

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

2.0.20241113

Corretto 8.432.06.1

3.3.13

Tomcat 9.0.91

nginx 1.22.1 (default), Apache 2.4.62

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.2.2

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

.NET 8.0.11, supports 8.0.11

nginx 1.26.2

2023.6.20241212

3.3.13

.NET Core on AL2 version 2.8.5

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

.NET 8.0.11, supports 8.0.11, 6.0.36

nginx 1.22.1

2.0.20241113

3.3.13

For information about platform versions scheduled for retirement as published in Platform Support Policy, see .NET Core on Linux on the Retiring Platform Versions page. 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.16.1

64bit Windows Server 2022 v2.16.1 running IIS 10.0

.NET 8.0.11, supports 8.0.11, 6.0.36

.NET Framework 4.8.1, supports 4.x, 2.0

IIS 10.0

Windows Server Core 2022 with IIS 10.0 version 2.16.1

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

.NET 8.0.11, supports 8.0.11, 6.0.36

.NET Framework 4.8.1, supports 4.x, 2.0

IIS 10.0

Windows Server 2019 with IIS 10.0 version 2.16.1

64bit Windows Server 2019 v2.16.1 running IIS 10.0

.NET 8.0.11, supports 8.0.11, 6.0.36

.NET Framework 4.8, supports 4.x, 2.0

IIS 10.0

Windows Server Core 2019 with IIS 10.0 version 2.16.1

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

.NET 8.0.11, supports 8.0.11, 6.0.36

.NET Framework 4.8, supports 4.x, 2.0

IIS 10.0

Windows Server 2016 with IIS 10.0 version 2.16.1

64bit Windows Server 2016 v2.16.1 running IIS 10.0

.NET 8.0.11, supports 8.0.11, 6.0.36

.NET Framework 4.8, supports 4.x, 2.0

IIS 10.0

Windows Server Core 2016 with IIS 10.0 version 2.16.1

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

.NET 8.0.11, supports 8.0.11, 6.0.36

.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.16.1

2024.12.13

3.7.945.0

3.3.1345.0

3.6

3.3.13

Windows Server Core 2022 with IIS 10.0 version 2.16.1

2024.12.13

3.7.945.0

3.3.1345.0

3.6

3.3.13

Windows Server 2019 with IIS 10.0 version 2.16.1

2024.12.13

3.7.945.0

3.3.1345.0

3.6

3.3.13

Windows Server Core 2019 with IIS 10.0 version 2.16.1

2024.12.13

3.7.945.0

3.3.1345.0

3.6

3.3.13

Windows Server 2016 with IIS 10.0 version 2.16.1

2024.12.13

3.7.945.0

3.3.1345.0

3.6

3.3.13

Windows Server Core 2016 with IIS 10.0 version 2.16.1

2024.12.13

3.7.945.0

3.3.1345.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 22 AL2023 version 6.4.1

64bit Amazon Linux 2023 v6.4.1 running Node.js 22

2023.6.20241212

22.12.0 (10.9.0)

Default version: v22.12.0

nginx 1.26.2 (default), Apache 2.4.62

2.40.1

3.3.13

Node.js 20 AL2023 version 6.4.1

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

2023.6.20241212

20.18.0 (10.8.2)

Default version: 20.18.0

nginx 1.26.2 (default), Apache 2.4.62

2.40.1

3.3.13

Node.js 18 AL2023 version 6.4.1

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

2023.6.20241212

18.20.4 (10.7.0)

Default version: 18.20.4

nginx 1.26.2 (default), Apache 2.4.62

2.40.1

3.3.13

Node.js 18 AL2 version 5.9.9

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

2.0.20241113

18.20.5 (10.8.2), 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.5

nginx 1.22.1 (default), Apache 2.4.62

2.40.1

3.3.13

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.4.2

64bit Amazon Linux 2023 v4.4.2 running PHP 8.3

2023.6.20241212

PHP 8.3.10

2.8.4

nginx 1.26.2 (default), Apache 2.4.62

PHP 8.2 AL2023 version 4.4.2

64bit Amazon Linux 2023 v4.4.2 running PHP 8.2

2023.6.20241212

PHP 8.2.23

2.8.4

nginx 1.26.2 (default), Apache 2.4.62

PHP 8.1 AL2023 version 4.4.2

64bit Amazon Linux 2023 v4.4.2 running PHP 8.1

2023.6.20241212

PHP 8.1.29

2.8.4

nginx 1.26.2 (default), Apache 2.4.62

PHP 8.1 AL2 version 3.8.6

64bit Amazon Linux 2 v3.8.6 running PHP 8.1

2.0.20241113

PHP 8.1.30

2.8.2

nginx 1.22.1 (default), Apache 2.4.62

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.12 AL2023 version 4.3.2

64bit Amazon Linux 2023 v4.3.2 running Python 3.12

2023.6.20241212

Python 3.12.8

pipenv 2024.4.0

3.3.13

nginx 1.26.2 (default), Apache 2.4.62

Python 3.11 AL2023 version 4.3.2

64bit Amazon Linux 2023 v4.3.2 running Python 3.11

2023.6.20241212

Python 3.11.6

pipenv 2024.4.0

3.3.13

nginx 1.26.2 (default), Apache 2.4.62

Python 3.9 AL2023 version 4.3.2

64bit Amazon Linux 2023 v4.3.2 running Python 3.9

2023.6.20241212

Python 3.9.20

pipenv 2024.4.0

3.3.13

nginx 1.26.2 (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.3 AL2023 version 4.3.0

64bit Amazon Linux 2023 v4.3.0 running Ruby 3.3

2023.6.20241212

Ruby 3.3.6-p108

RubyGems 3.5.22

Puma 6.5.0

3.3.13

nginx 1.26.2

Ruby 3.2 AL2023 version 4.3.0

64bit Amazon Linux 2023 v4.3.0 running Ruby 3.2

2023.6.20241212

Ruby 3.2.2

RubyGems 3.4.10

Puma 6.5.0

3.3.13

nginx 1.26.2

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