Release: Elastic Beanstalk Amazon Linux 2 platform updates on August 4, 2020 - AWS Elastic Beanstalk

Release: Elastic Beanstalk Amazon Linux 2 platform updates on August 4, 2020

This release provides new versions for AWS Elastic Beanstalk platforms based on Amazon Linux 2. The release includes security updates. The release solves several Amazon Linux 2 platform compatibility issues. It also includes nginx, Go, Corretto, Tomcat, Node.js, .NET Core, and PHP updates.

Release date: August 4, 2020

Changes

This update plugs several gaps that the Amazon Linux 2 platforms had compared to previous Amazon Linux AMI platforms. Amazon Linux 2 platform functionality is now much closer to previous platforms. The fixes are listed in the table below.

Some remaining gaps are related to underlying operating system changes. For an example to such a case and a way to fix it, see Log streaming file for Amazon Linux 2 on the elastic-beanstalk-samples GitHub repository.

Minor gaps that still exist on the platform side include:

  • The Tomcat Amazon Linux 2 platform doesn't support version 2.2 of the Apache HTTPD proxy server.

  • The Tomcat and Node.js Amazon Linux 2 platforms don't support the GzipCompression option.

Other features are supported but have to be configured differently on Amazon Linux 2 platforms. For a detailed migration guide, see Migrating your Elastic Beanstalk Linux application to Amazon Linux 2 in the AWS Elastic Beanstalk Developer Guide.

The following table lists the changes included in this release.

Note

Be aware that at the time these release notes are published, the new platform versions might not yet be available in all the AWS Regions that Elastic Beanstalk supports. It might take a few hours for the release to complete.

Category Description

Security updates

Applied all security updates published in the Amazon Linux Security Center on or before July 15, 2020 to all Amazon Linux 2 platforms.

The PHP 7.2.31 release includes security fixes. For more information, see Platform-specific updates in this table.

Cross-platform updates

Made these cross-platform updates:

Component Update

Apache HTTPD support

Initially, Amazon Linux 2 platform branches supported only the nginx proxy server. Today we're bringing back support for Apache HTTPD on platforms that supported it before: Tomcat, Node.js, PHP, and Python. See specific platform notes under Platform-specific updates on this page.

get-config script

A shell script called get-config exists on Amazon Linux AMI platform branches, officially supported only for custom platforms, but heavily used for managed platform configuration too. Initially, it didn't exist on Amazon Linux 2 platform versions. Today we're bringing back this script to Amazon Linux 2 platform branches as a fully supported extensibility mechanism. You can use this script to get environment variable values and other information in hooks that run on-instance in environments launched with your platform. For details, see Platform scripts in the AWS Elastic Beanstalk Developer Guide.

Configuration hooks

Initially, Amazon Linux 2 platform versions supported platform hooks, executable files that run during application deployments, when your source bundle is deployed to environment instances. Today we're adding support for configuration hooks that run during configuration deployments, when configuration options are updated on running instances. To learn more, expand the Platform hooks section on the Extending Elastic Beanstalk Linux platforms page in the AWS Elastic Beanstalk Developer Guide.

Event messages

Initially, Amazon Linux 2 platform branches didn't send event messages to the event log. Today we're adding support for event messages to all Amazon Linux 2 platform branches. For details about event viewing, see Viewing an Elastic Beanstalk environment's event stream in the AWS Elastic Beanstalk Developer Guide.

nginx

Updated platforms supporting the nginx server to version 1.18.0.

Platform-specific updates

Made these platform-specific updates:

Platform Update

Go

Updated Go to release 1.14.6. For details, see go1.14 in The Go Programming Language Release History.

Corretto

Updated Corretto 11 to version 11.0.8.10.1. For change log, see Change Log for Amazon Corretto 11.

Updated Corretto 8 to version 8.262.10.1. For change log, see Change Log for Amazon Corretto 8.

Tomcat

Updated Tomcat 8.5 to Tomcat 8.5.56.

Node.js

Updated the Node.js platform to add support for Node versions 12.18.3, 12.18.2, and 10.22.0.

.NET Core

Updated .NET Core 3.1 to version 3.1.6.

Updated .NET Core 2.1 to version 2.1.20.

PHP

Updated PHP 7.4, 7.3, and 7.2 to releases 7.4.7, 7.3.19, and 7.2.31, respectively.

The PHP 7.2.31 release includes security fixes.

New platform versions

Note

The following tables list all supported platform branches for each platform. Only Amazon Linux 2 platform branches are updated.

Docker

Platform Version and Solution Stack Name

AMI

Docker Version

Proxy Server

Docker AL2 version 3.1.0

64bit Amazon Linux 2 v3.1.0 running Docker

2.0.20200723

19.03.6-ce

nginx 1.18.0

Single Container Docker version 2.15.2

64bit Amazon Linux 2018.03 v2.15.2 running Docker 19.03.6-ce

2018.03.0

19.03.6-ce

nginx 1.16.1

Go

Platform Version and Solution Stack Name

AMI

Language

AWS X‑Ray

Proxy Server

Go 1 AL2 version 3.1.0

64bit Amazon Linux 2 v3.1.0 running Go 1

2.0.20200723

Go 1.14.6

3.2.0

nginx 1.18.0

Go 1.14 version 2.15.5

64bit Amazon Linux 2018.03 v2.15.5 running Go 1.14.4

2018.03.0

Go 1.14.4

3.1.0

nginx 1.16.1

Java SE

Platform Version and Solution Stack Name

AMI

Language

Tools

AWS X‑Ray

Proxy Server

Corretto 11 version 3.0.5

64bit Amazon Linux 2 v3.0.5 running Corretto 11

2.0.20200723

Corretto 11.0.8.10.1

Ant 1.10.7, Gradle 5.6.2, Maven 3.6.2

3.2.0

nginx 1.18.0

Corretto 8 version 3.0.5

64bit Amazon Linux 2 v3.0.5 running Corretto 8

2.0.20200723

Corretto 8.262.10.1

Ant 1.10.7, Gradle 5.6.2, Maven 3.6.2

3.2.0

nginx 1.18.0

Java 8 version 2.10.9

64bit Amazon Linux 2018.03 v2.10.9 running Java 8

2018.03.0

Java 1.8.0_252

Ant 1.9.6, Gradle 2.7, Maven 3.3.3

3.1.0

nginx 1.16.1

Java 7 version 2.10.9

64bit Amazon Linux 2018.03 v2.10.9 running Java 7

2018.03.0

Java 1.7.0_261

Ant 1.9.6, Gradle 2.7, Maven 3.3.3

3.1.0

nginx 1.16.1

Tomcat

Platform Version and Solution Stack Name

AMI

Language

AWS X‑Ray

Application Server

Proxy Server

Corretto 11 with Tomcat 8.5 AL2 version 4.1.0

64bit Amazon Linux 2 v4.1.0 running Tomcat 8.5 Corretto 11

2.0.20200723

Corretto 11.0.8.10.1

3.2.0

Tomcat 8.5.56

nginx 1.18.0 (default), Apache 2.4.43

Corretto 8 with Tomcat 8.5 AL2 version 4.1.0

64bit Amazon Linux 2 v4.1.0 running Tomcat 8.5 Corretto 8

2.0.20200723

Corretto 8.262.10.1

3.2.0

Tomcat 8.5.56

nginx 1.18.0 (default), Apache 2.4.43

Corretto 11 with Tomcat 7 AL2 version 4.1.0

64bit Amazon Linux 2 v4.1.0 running Tomcat 7 Corretto 11

2.0.20200723

Corretto 11.0.8.10.1

3.2.0

Tomcat 7.0.76

nginx 1.18.0 (default), Apache 2.4.43

Corretto 8 with Tomcat 7 AL2 version 4.1.0

64bit Amazon Linux 2 v4.1.0 running Tomcat 7 Corretto 8

2.0.20200723

Corretto 8.262.10.1

3.2.0

Tomcat 7.0.76

nginx 1.18.0 (default), Apache 2.4.43

Java 8 with Tomcat 8.5 version 3.3.8

64bit Amazon Linux 2018.03 v3.3.8 running Tomcat 8.5 Java 8

2018.03.0

Java 1.8.0_252

3.1.0

Tomcat 8.5.56

Apache 2.4.43 (default), Apache 2.2.34, Nginx 1.16.1

Java 7 with Tomcat 7 version 3.3.8

64bit Amazon Linux 2018.03 v3.3.8 running Tomcat 7 Java 7

2018.03.0

Java 1.7.0_261

3.1.0

Tomcat 7.0.104

Apache 2.4.43 (default), Apache 2.2.34, Nginx 1.16.1

.NET Core on Linux

Platform Version and Solution Stack Name

Framework

Proxy Server

AMI

AWS X‑Ray

.NET Core on AL2 version 2.0.1

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

.NET Core 3.1.6, supports 3.1.6, 2.1.20

nginx 1.18.0

2.0.20200723

3.2.0

Node.js

Platform Version and Solution Stack Name

AMI

Node.js versions (npm versions)

Proxy Server

Git

AWS X‑Ray

Node.js 12 AL2 version 5.2.0

64bit Amazon Linux 2 v5.2.0 running Node.js 12

2.0.20200723

12.18.3 (6.14.6), 12.18.2 (6.14.5), 12.18.1 (6.14.5), 12.17.0 (6.14.4), 12.16.3 (6.14.4), 12.16.2 (6.14.4), 12.16.1 (6.13.4), 12.16.0 (6.13.4), 12.15.0 (6.13.4), 12.14.1 (6.13.4), 12.14.0 (6.13.4), 12.13.1 (6.12.1), 12.13.0 (6.12.0), 12.12.0 (6.11.3), 12.11.1 (6.11.3), 12.11.0 (6.11.3), 12.10.0 (6.10.3), 12.9.1 (6.10.2), 12.9.0 (6.10.2), 12.8.1 (6.10.2), 12.8.0 (6.10.2), 12.7.0 (6.10.0), 12.6.0 (6.9.0), 12.5.0 (6.9.0), 12.4.0 (6.9.0), 12.3.1 (6.9.0), 12.3.0 (6.9.0), 12.2.0 (6.9.0), 12.1.0 (6.9.0), 12.0.0 (6.9.0)

Default version: 12.18.3

nginx 1.18.0 (default), Apache 2.4.43

2.23.3

3.2.0

Node.js 10 AL2 version 5.2.0

64bit Amazon Linux 2 v5.2.0 running Node.js 10

2.0.20200723

10.22.0 (6.14.6), 10.21.0 (6.14.4), 10.20.1 (6.14.4), 10.20.0 (6.14.4), 10.19.0 (6.13.4), 10.18.1 (6.13.4), 10.18.0 (6.13.4), 10.17.0 (6.11.3), 10.16.3 (6.13.4), 10.16.2 (6.9.0), 10.16.1 (6.9.0), 10.16.0 (6.9.0), 10.15.3 (6.4.1), 10.15.2 (6.4.1), 10.15.1 (6.4.1), 10.15.0 (6.4.1), 10.14.2 (6.4.1), 10.14.1 (6.4.1), 10.14.0 (6.4.1), 10.13.0 (6.4.1), 10.12.0 (6.4.1), 10.11.0 (6.4.1), 10.10.0 (6.4.1), 10.9.0 (6.2.0), 10.8.0 (6.2.0), 10.7.0 (6.1.0), 10.6.0 (6.1.0), 10.5.0 (6.1.0), 10.4.1 (6.1.0), 10.4.0 (6.1.0), 10.3.0 (6.1.0), 10.2.1 (5.6.0), 10.2.0 (5.6.0), 10.1.0 (5.6.0), 10.0.0 (5.6.0)

Default version: 10.22.0

nginx 1.18.0 (default), Apache 2.4.43

2.23.3

3.2.0

Node.js version 4.15.0

64bit Amazon Linux 2018.03 v4.15.0 running Node.js

2018.03.0

12.18.1 (6.14.5), 12.18.0 (6.14.4), 12.16.3 (6.14.4), 12.16.2 (6.14.4), 12.16.1 (6.13.4), 12.15.0 (6.13.4), 12.14.1 (6.13.4), 12.14.0 (6.13.4), 10.21.0 (6.14.4), 10.20.1 (6.14.4), 10.20.0(6.14.4), 10.19.0 (6.13.4), 10.18.1 (6.13.4), 10.18.0 (6.13.4), 10.17.0 (6.11.3), 10.16.3 (6.9.0), 10.16.2 (6.9.0), 10.16.1 (6.9.0), 10.16.0 (6.9.0), 10.15.3 (6.4.1), 10.15.1 (6.4.1), 10.15.0 (6.4.1), 10.14.1 (6.4.1), 8.17.0 (6.13.4), 8.16.2 (6.4.1), 8.16.1 (6.4.1), 8.16.0 (6.4.1), 8.15.1 (6.4.1), 8.15.0 (6.4.1), 8.14.0 (6.4.1), 7.10.1 (4.2.0), 6.17.1 (3.10.10), 6.17.0 (3.10.10), 6.16.0 (3.10.10), 6.15.1 (3.10.10), 5.12.0 (3.8.6), 4.9.1 (2.15.11), 4.8.7 (2.15.11)

Default version: 12.18.1

nginx 1.16.1, Apache 2.4.43

2.14.6

3.1.0

PHP

Platform Version and Solution Stack Name

AMI

Language

Composer

Proxy Server

PHP 7.4 AL2 version 3.1.0

64bit Amazon Linux 2 v3.1.0 running PHP 7.4

2.0.20200723

PHP 7.4.7

1.9.3

nginx 1.18.0 (default), Apache 2.4.43

PHP 7.3 AL2 version 3.1.0

64bit Amazon Linux 2 v3.1.0 running PHP 7.3

2.0.20200723

PHP 7.3.19

1.9.3

nginx 1.18.0 (default), Apache 2.4.43

PHP 7.2 AL2 version 3.1.0

64bit Amazon Linux 2 v3.1.0 running PHP 7.2

2.0.20200723

PHP 7.2.31

1.9.3

nginx 1.18.0 (default), Apache 2.4.43

PHP 7.3 version 2.9.8

64bit Amazon Linux 2018.03 v2.9.8 running PHP 7.3

2018.03.0

PHP 7.3.17

1.9.0

Apache 2.4.43

PHP 7.2 version 2.9.8

64bit Amazon Linux 2018.03 v2.9.8 running PHP 7.2

2018.03.0

PHP 7.2.30

1.9.0

Apache 2.4.43

Python

Platform Version and Solution Stack Name

AMI

Language

Package Manager

Packager

meld3

AWS X‑Ray

Proxy Server

Python 3.7 AL2 version 3.1.0

64bit Amazon Linux 2 v3.1.0 running Python 3.7

2.0.20200723

Python 3.7.6

pipenv 2020.6.2

3.2.0

nginx 1.18.0 (default), Apache 2.4.43

Python 3.6 version 2.9.12

64bit Amazon Linux 2018.03 v2.9.12 running Python 3.6

2018.03.0

Python 3.6.10

pip 9.0.3

setuptools 28.8.0

meld3 1.0.2

3.1.0

Apache 2.4.43 with mod_wsgi 3.5

Ruby

Platform Version and Solution Stack Name

AMI

Language

Package Manager

Application Server

AWS X‑Ray

Proxy Server

Ruby 2.7 AL2 version 3.1.0

64bit Amazon Linux 2 v3.1.0 running Ruby 2.7

2.0.20200723

Ruby 2.7.1-p83

RubyGems 3.1.4

Puma 4.3.5

3.2.0

nginx 1.18.0

Ruby 2.6 AL2 version 3.1.0

64bit Amazon Linux 2 v3.1.0 running Ruby 2.6

2.0.20200723

Ruby 2.6.6-p146

RubyGems 3.1.4

Puma 4.3.5

3.2.0

nginx 1.18.0

Ruby 2.5 AL2 version 3.1.0

64bit Amazon Linux 2 v3.1.0 running Ruby 2.5

2.0.20200723

Ruby 2.5.8-p224

RubyGems 3.1.4

Puma 4.3.5

3.2.0

nginx 1.18.0

Ruby 2.6 with Puma version 2.11.8

64bit Amazon Linux 2018.03 v2.11.8 running Ruby 2.6 (Puma)

2018.03.0

Ruby 2.6.6-p146

RubyGems 3.1.2

Puma 2.16.0

3.1.0

nginx 1.16.1

Ruby 2.6 with Passenger version 2.11.8

64bit Amazon Linux 2018.03 v2.11.8 running Ruby 2.6 (Passenger Standalone)

2018.03.0

Ruby 2.6.6-p146

RubyGems 3.1.2

Passenger 4.0.60

3.1.0

nginx 1.16.1

Ruby 2.5 with Puma version 2.11.8

64bit Amazon Linux 2018.03 v2.11.8 running Ruby 2.5 (Puma)

2018.03.0

Ruby 2.5.8-p224

RubyGems 3.1.2

Puma 2.16.0

3.1.0

nginx 1.16.1

Ruby 2.5 with Passenger version 2.11.8

64bit Amazon Linux 2018.03 v2.11.8 running Ruby 2.5 (Passenger Standalone)

2018.03.0

Ruby 2.5.8-p224

RubyGems 3.1.2

Passenger 4.0.60

3.1.0

nginx 1.16.1

Ruby 2.4 with Puma version 2.11.8

64bit Amazon Linux 2018.03 v2.11.8 running Ruby 2.4 (Puma)

2018.03.0

Ruby 2.4.10-p364

RubyGems 3.1.2

Puma 2.16.0

3.1.0

nginx 1.16.1

Ruby 2.4 with Passenger version 2.11.8

64bit Amazon Linux 2018.03 v2.11.8 running Ruby 2.4 (Passenger Standalone)

2018.03.0

Ruby 2.4.10-p364

RubyGems 3.1.2

Passenger 4.0.60

3.1.0

nginx 1.16.1