Product details are accessible from the Amazon Linux 2 page

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

Amazon Linux 2 - 03/13/2019 Update

This update fixes incorrect permissions for some system files https://alas.aws.amazon.com/AL2/ALAS-2019-1175.html

Amazon Linux 2 - 11/26/2018 Update

A1 support: Amazon Linux 2 is supported for use on A1 instances

Amazon Linux 2 - 11/19/2018 Update

ENA driver updates:

An ENA driver update that introduces Low Latency Queues (LLQ) for improved average and tail latencies. The update also adds support for receive checksum offload that improves CPU utilization.

Amazon Linux 2 - 10/31/2018 Update

OpenSSH daemon configuration file /etc/ssh/sshd_config updates

The OpenSSH daemon configuration file /etc/ssh/sshd_config has been updated. The AuthorizedKeysCommand value is configured to point to a customized script, /opt/aws/bin/curl_authorized_keys to support an upcoming feature to read SSH public keys; from the EC2 instance metadata during the SSH connection process.

 

Amazon Linux 2 - 9/25/2018 Update

Support for 32-bit Libraries: Amazon Linux 2 now supports 32-bit libraries and compatibility packages, which enables customers to run 32-bit applications on Amazon Linux 2. You can run 'yum update' on an Amazon Linux 2 instance to get the full 32-bit support. An updated Amazon Linux 2 AMI with full 32-bit support will also be available in the coming days.

Bug Fixes and Package Updates: This release also contains bug fixes and updates for several Amazon Linux 2 packages from their upstream projects.

Amazon Linux 2 provides the systemd service and systems manager (in place of System V init). As a result, applications running on Amazon Linux AMI may require changes to run on Amazon Linux 2. Amazon Elastic Compute Cloud (Amazon EC2) instances running Amazon Linux will not be upgradeable to Amazon Linux 2 through rolling upgrade mechanisms.

Amazon Linux 2 uses the systemd 219 init system to bootstrap userspace and manage system processes. It is available as /sbin/init and replaces the System V-style init system that was available in the previous generation of Amazon Linux. As a result, initscripts should no longer exist in /etc/init.d. systemctl {start|stop|restart} SERVICE_NAME.service should be used in its place. Additionally, service SERVICE_NAME {start|stop|restart} is compatible with both Amazon Linux AMI and Amazon Linux 2.

The extras mechanism provides the latest application software on a stable base of Amazon Linux 2 helping you balance operating system stability and software “freshness”. Extras provides topics to select AWS curated software bundles. Each topic contains all the dependencies required for the software to install and run on Amazon Linux 2.

Extras command to list the available topics:
$ amazon-linux-extras

Extras command to install a topic:
$ sudo amazon-linux-extras install <topic name>

Example:
$ sudo amazon-linux-extras install rust1

The extras channel provides an AWS curated list of rapidly evolving technologies. These technologies may be updated more frequently than they would otherwise be in the "core" repositories of Amazon Linux 2.

Over time, these technologies will continue to mature and stabilize and may eventually be added to the Amazon Linux 2 "core" channel to which the Amazon Linux 2 Long Term Support policies apply.

The package for Docker is only available through extras and is enabled by default. When new versions of Docker are released, support will be provided only for the most current stable packages.

Amazon Linux 2 comes with GCC 7.3, Glibc 2.26, and Binutils 2.29.1

In Amazon Linux 2, /bin, /sbin, /lib, and /lib64 are symlinks to /usr/bin, /usr/sbin, /usr/lib, and /usr/lib64, respectively. Packages that have Requires on specific binaries in /bin, will not resolve. This can be mitigated using the following logic for RPM package managment:

%if 0%{?amzn} == 1
Requires: /bin/grep
%else
Requires: /usr/bin/grep
%endif

Cloud-init has been updated to version 18.2 to handle early initialization of the operating system. It sets the default locale, instance hostname, generates SSH private keys, adds SSH keys into the user’s .ssh/authorized_keys entry, establishes ephemeral mount points, and configures network devices.

Amazon Linux 2 virtual machine images are currently available for VMware ESXi, Microsoft Hyper-V, KVM, and Oracle VM VirtualBox virtualization solutions for development and testing. These can be obtained here. After downloading the image, follow the Amazon Linux documentation to get started.

The minimum system requirement for running Amazon Linux 2 in a virtual machine instance is 512 MB of memory and 1 virtual CPUs.

AWS Systems Manager Patch Manager support Amazon Linux 2. This enables automated patching of fleets of Amazon Linux 2 EC2 instances and on-premises virtual machines (VMs). It can scan instances for missing patches and automatically install all missing patches.

To upgrade from Amazon Linux 2 LTS Candidate 2 to the LTS version of Amazon Linux 2 run the following commands:

$ sudo yum update system-release

$ sudo yum update cloud-init

$ sudo yum clean all

$ sudo yum update

$ sudo reboot

us-west-1
ami-0f9d113ee458b4f6e amzn2-ami-hvm-2.0.20190313-x86_64-ebs
ami-0019ef04ac50be30f amzn2-ami-hvm-2.0.20190313-x86_64-gp2
ami-04abfbe0050a1ef1d amzn2-ami-minimal-hvm-2.0.20190313-x86_64-ebs
eu-central-1
ami-08782e1cd8f682ceb amzn2-ami-hvm-2.0.20190313-x86_64-ebs
ami-09def150731bdbcc2 amzn2-ami-hvm-2.0.20190313-x86_64-gp2
ami-05ba799ee5fc165db amzn2-ami-minimal-hvm-2.0.20190313-x86_64-ebs
cn-north-1
ami-0a1ab0955075cd354 amzn2-ami-hvm-2.0.20190313-x86_64-ebs
ami-0cad3dea07a7c36f9 amzn2-ami-hvm-2.0.20190313-x86_64-gp2
ami-0bdb431f32f8fbf23 amzn2-ami-minimal-hvm-2.0.20190313-x86_64-ebs
us-east-1
ami-02013ed1a71752ea7 amzn2-ami-hvm-2.0.20190313-x86_64-ebs
ami-0de53d8956e8dcf80 amzn2-ami-hvm-2.0.20190313-x86_64-gp2
ami-0771c28c5580e5716 amzn2-ami-minimal-hvm-2.0.20190313-x86_64-ebs
ami-06b382aba6c5a4f2c amzn2-ami-hvm-2.0.20190313-arm64-gp2
ami-0b98c3bc6007ddf7a amzn2-ami-minimal-hvm-2.0.20190313-arm64-ebs
ap-northeast-2
ami-0e1a0346bf9f3b831 amzn2-ami-hvm-2.0.20190313-x86_64-ebs
ami-047f7b46bd6dd5d84 amzn2-ami-hvm-2.0.20190313-x86_64-gp2
ami-04a1d511fd8937540 amzn2-ami-minimal-hvm-2.0.20190313-x86_64-ebs
us-gov-west-1
ami-8b1e74ea amzn2-ami-hvm-2.0.20190313-x86_64-ebs
ami-6b157f0a amzn2-ami-hvm-2.0.20190313-x86_64-gp2
ami-296a0048 amzn2-ami-minimal-hvm-2.0.20190313-x86_64-ebs
sa-east-1
ami-0a7a2e3acb791c6dc amzn2-ami-hvm-2.0.20190313-x86_64-ebs
ami-0669a96e355eac82f amzn2-ami-hvm-2.0.20190313-x86_64-gp2
ami-0c0698b4027cd5931 amzn2-ami-minimal-hvm-2.0.20190313-x86_64-ebs
ap-northeast-3
ami-09b2bced4c085a04a amzn2-ami-hvm-2.0.20190313-x86_64-ebs
ami-088d713d672ed235e amzn2-ami-hvm-2.0.20190313-x86_64-gp2
ami-0f2bb49dc94889c57 amzn2-ami-minimal-hvm-2.0.20190313-x86_64-ebs
ap-northeast-1
ami-0930347fabaa9cd9c amzn2-ami-hvm-2.0.20190313-x86_64-ebs
ami-0f9ae750e8274075b amzn2-ami-hvm-2.0.20190313-x86_64-gp2
ami-086063d8c95bfa211 amzn2-ami-minimal-hvm-2.0.20190313-x86_64-ebs
ap-southeast-1
ami-0ba62a20f78ef85c8 amzn2-ami-hvm-2.0.20190313-x86_64-ebs
ami-0b419c3a4b01d1859 amzn2-ami-hvm-2.0.20190313-x86_64-gp2
ami-07dd66a9764fbb937 amzn2-ami-minimal-hvm-2.0.20190313-x86_64-ebs
us-east-2
ami-0ee8324901ba9164d amzn2-ami-hvm-2.0.20190313-x86_64-ebs
ami-02bcbb802e03574ba amzn2-ami-hvm-2.0.20190313-x86_64-gp2
ami-063225b63017efd17 amzn2-ami-minimal-hvm-2.0.20190313-x86_64-ebs
ami-06a134062219ad132 amzn2-ami-hvm-2.0.20190313-arm64-gp2
ami-0a9c86e7a2ba351f7 amzn2-ami-minimal-hvm-2.0.20190313-arm64-ebs
ap-southeast-2
ami-065d66d47fcd4dfc2 amzn2-ami-hvm-2.0.20190313-x86_64-ebs
ami-04481c741a0311bbb amzn2-ami-hvm-2.0.20190313-x86_64-gp2
ami-0ca7144d77a93c7a8 amzn2-ami-minimal-hvm-2.0.20190313-x86_64-ebs
cn-northwest-1
ami-0ab53e43fa638914b amzn2-ami-hvm-2.0.20190313-x86_64-ebs
ami-094b7433620966eb5 amzn2-ami-hvm-2.0.20190313-x86_64-gp2
ami-0f3167e19f0a25a08 amzn2-ami-minimal-hvm-2.0.20190313-x86_64-ebs
eu-west-1
ami-06a376457af6d8e1c amzn2-ami-hvm-2.0.20190313-x86_64-ebs
ami-07683a44e80cd32c5 amzn2-ami-hvm-2.0.20190313-x86_64-gp2
ami-055ff4f3e62e8e65e amzn2-ami-minimal-hvm-2.0.20190313-x86_64-ebs
ami-07140bc02c30028bb amzn2-ami-hvm-2.0.20190313-arm64-gp2
ami-0ac4ac84973353954 amzn2-ami-minimal-hvm-2.0.20190313-arm64-ebs
eu-north-1
ami-6462eb1a amzn2-ami-hvm-2.0.20190313-x86_64-ebs
ami-d16fe6af amzn2-ami-hvm-2.0.20190313-x86_64-gp2
ami-936ce5ed amzn2-ami-minimal-hvm-2.0.20190313-x86_64-ebs
us-gov-east-1
ami-7e15f30f amzn2-ami-hvm-2.0.20190313-x86_64-ebs
ami-1208ee63 amzn2-ami-hvm-2.0.20190313-x86_64-gp2
ami-7f15f30e amzn2-ami-minimal-hvm-2.0.20190313-x86_64-ebs
ap-south-1
ami-0295b1ab1c6e6f31c amzn2-ami-hvm-2.0.20190313-x86_64-ebs
ami-0889b8a448de4fc44 amzn2-ami-hvm-2.0.20190313-x86_64-gp2
ami-0d1ca7565b637e9a5 amzn2-ami-minimal-hvm-2.0.20190313-x86_64-ebs
eu-west-3
ami-080530ec9712e5948 amzn2-ami-hvm-2.0.20190313-x86_64-ebs
ami-0451ae4fd8dd178f7 amzn2-ami-hvm-2.0.20190313-x86_64-gp2
ami-097a9048c5511a941 amzn2-ami-minimal-hvm-2.0.20190313-x86_64-ebs
eu-west-2
ami-0dbd5595b1b1bdab4 amzn2-ami-hvm-2.0.20190313-x86_64-ebs
ami-09ead922c1dad67e4 amzn2-ami-hvm-2.0.20190313-x86_64-gp2
ami-072edd63fd2b95ca7 amzn2-ami-minimal-hvm-2.0.20190313-x86_64-ebs
ca-central-1
ami-0e8e4723a6ac8bb0f amzn2-ami-hvm-2.0.20190313-x86_64-ebs
ami-03338e1f67dae0168 amzn2-ami-hvm-2.0.20190313-x86_64-gp2
ami-0e5e1c6b373fed93b amzn2-ami-minimal-hvm-2.0.20190313-x86_64-ebs
us-west-2
ami-08e689a423405d7f6 amzn2-ami-hvm-2.0.20190313-x86_64-ebs
ami-061392db613a6357b amzn2-ami-hvm-2.0.20190313-x86_64-gp2
ami-027c5e2ccf2970def amzn2-ami-minimal-hvm-2.0.20190313-x86_64-ebs
ami-062ce7f8c1e7ffd3c amzn2-ami-hvm-2.0.20190313-arm64-gp2
ami-031e6edf8812d0fbf amzn2-ami-minimal-hvm-2.0.20190313-arm64-ebs

eu-west-1

ami-0b97e17c772f052e6 amzn2-ami-hvm-2.0.20181114.1-arm64-gp2

ami-0c0041e7a8dd7ffe1 amzn2-ami-minimal-hvm-2.0.20181114.1-arm64-ebs

us-east-1

ami-0f8c82faeb08f15da amzn2-ami-hvm-2.0.20181114.1-arm64-gp2

ami-02691a4da8615f148 amzn2-ami-minimal-hvm-2.0.20181114.1-arm64-ebs

us-east-2

ami-0998858ab6ad47da8 amzn2-ami-hvm-2.0.20181114.1-arm64-gp2

ami-001321a85978afa12 amzn2-ami-minimal-hvm-2.0.20181114.1-arm64-ebs

us-west-2

ami-0f374ff3bc5bb0929 amzn2-ami-hvm-2.0.20181114.1-arm64-gp2

ami-09a6749abd232f5a9 amzn2-ami-minimal-hvm-2.0.20181114.1-arm64-ebs

Learn more about Amazon Linux 2

Visit the product detail page
Ready to get started?
Sign up
Have more questions?
Contact us