Elastic Beanstalk Linux platforms - AWS Elastic Beanstalk

Elastic Beanstalk Linux platforms

AWS Elastic Beanstalk provides a variety of platforms on which you can build your applications. You design your web application to one of these platforms, and Elastic Beanstalk deploys your code to the platform version you selected to create an active application environment.

Elastic Beanstalk provides platforms for different programming languages, application servers, and Docker containers. Some platforms have multiple concurrently-supported versions.

For full coverage of Elastic Beanstalk platforms, see Elastic Beanstalk platforms.

Many of the platforms that Elastic Beanstalk supports are based on the Linux operating system (OS). Specifically, these platforms are based on Amazon Linux, a Linux distribution provided by AWS. Elastic Beanstalk Linux platforms use Amazon Elastic Compute Cloud (Amazon EC2) instances, and these instances run Amazon Linux. To learn more, see Amazon Linux in the Amazon EC2 User Guide for Linux Instances.

The Elastic Beanstalk Linux platforms provide a lot of functionality out of the box. You can extend the platforms in several ways to support your application. For details, see Extending Elastic Beanstalk Linux platforms.

Linux platform versions

AWS provides two versions of Amazon Linux: Amazon Linux 2 and Amazon Linux AMI. The last version of the Amazon Linux AMI, 2018.03, ended standard support on December 31, 2020. For more information, see the AWS blog post Amazon Linux AMI end of life.

Elastic Beanstalk only supports platform versions based on Amazon Linux 2. For details about supported platform versions, see Elastic Beanstalk supported platforms.

Some key improvements in Amazon Linux 2 compared to Amazon Linux AMI are:

  • Amazon Linux 2 offers long-term support.

  • Amazon Linux 2 is available as virtual machine images for on-premises development and testing.

  • Amazon Linux 2 comes with updated components: the Linux kernel, C library, compiler, and tools. It also uses the systemd service and systems manager as opposed to System V init system in Amazon Linux AMI.


On July 18,2022, Elastic Beanstalk set the status of all platform branches based on Amazon Linux AMI (AL1) to retired. For more information about migrating to a current and fully supported Amazon Linux 2 platform branch, see Migrating your Elastic Beanstalk Linux application to Amazon Linux 2.

List of Elastic Beanstalk Linux platforms

The following list mentions the Linux platforms that Elastic Beanstalk supports for different programming languages, as well as for Docker containers, and links to chapters about them in this developer guide.