Amazon Linux 2

Run all your cloud and enterprise applications in a secure, stable, and high performance Linux environment

Amazon Linux 2 is the next generation of Amazon Linux, a Linux server operating system from Amazon Web Services (AWS). It provides a secure, stable, and high performance execution environment to develop and run cloud and enterprise applications. With Amazon Linux 2, you get an application environment that offers long term support with access to the latest innovations in the Linux ecosystem. Amazon Linux 2 is provided at no additional charge.

Amazon Linux 2 is available as an Amazon Machine Image (AMI) for use on Amazon Elastic Compute Cloud (Amazon EC2). It is also available as a Docker container image and as a virtual machine image for use on Kernel-based Virtual Machine (KVM), Oracle VM VirtualBox, Microsoft Hyper-V, and VMware ESXi. The virtual machine images can be used for on-premises development and testing. Amazon Linux 2 supports the latest Amazon EC2 features and includes packages that enable easy integration with AWS. AWS provides ongoing security and maintenance updates for Amazon Linux 2.

Amazon Linux 2


Optimized performance

Amazon Linux 2 includes support for the latest Amazon EC2 instance capabilities and is tuned for enhanced performance. It includes packages that help ease integration with other AWS Services.

Predictability of long term support

Amazon Linux 2 will offer long-term support – a common need for many long-lived applications. Developers, IT administrators, and ISVs get the predictability and enhanced stability of a Long Term Support (LTS) release, but without compromising access to the latest versions of popular software packages.

Enhanced developer productivity

Amazon Linux 2 is offered as a virtual machine and container image for on-premises development and testing. Developers can speed up their application development by building, testing, and integrating on the same Linux distribution that is used in their production environment.

Rapidly growing Partner ecosystem

Amazon Linux 2 has a rapidly growing community of Technology Partners that includes Independent Software Vendors (ISVs). You can install and run many popular partner applications.


AWS integration

Amazon Linux 2 includes packages and configurations that provide tight integration with many Amazon Web Services (AWS) services. Amazon Linux 2 comes with many AWS tools (e.g. AWS CLI) and cloud-init. These tools are designed to simplify the scripting of common administration tasks from within an instance and enable remote configuration of instances.

Long term support

Amazon Linux 2 comes with long-term support that includes security updates and bug fixes for 5 years.

Extras repository for bleeding edge software

Extras in Amazon Linux 2 provides you with bleeding edge software on a stable base of Amazon Linux 2. You no longer need to tradeoff stability for software freshness.

On-premises use

Amazon Linux 2 is available as a virtual machine image for on-premises use, enabling you to easily develop, test, and certify applications from a local development environment.

Systemd support

Amazon Linux 2 includes the widely adopted systemd init system which is used to bootstrap the user space as well as manage system processes.

EC2 optimized kernel & toolchain

Amazon Linux 2 includes newer version of compiler and build toolchain and LTS Kernel tuned for enhanced performance on Amazon EC2.

Secure by default

Amazon Linux 2 limits remote access by using SSH key pairs and by disabling remote root login. Additionally, Amazon Linux 2 reduces the number of non-critical packages which are installed on an instance, limiting exposure to potential security vulnerabilities. Security updates rated "critical" or "important" are automatically applied on the initial boot.

Security updates

Security updates are provided via the Amazon Linux 2 yum repositories as well as via updated Amazon Machine Images (AMIs), VM and container images. Security alerts are published in the Amazon Linux AMI Security Center.

Kernel Live Patching

Amazon Linux 2 includes kernel live patching functionality. This enables you to patch critical and important security vulnerabilities in the Linux kernel without reboot or downtime.


The Amazon Linux 2 is provided at no additional charge. Standard Amazon EC2 and AWS charges apply for running Amazon EC2 instances and other services.

Try Amazon EC2  for Free! 

Click here to try for free

AWS Free Tier includes 750 hours of Linux and Windows t2.micro instances each month for one year. To stay within the Free Tier, use only EC2 Micro instances. View AWS Free Tier details >>

Ready to get started?
Sign up
Have more questions?
Contact us