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

ap-northeast-1

ami-0148288598227344a amzn2-ami-hvm-2.0.20181114-x86_64-ebs

ami-0a2de1c3b415889d2 amzn2-ami-hvm-2.0.20181114-x86_64-gp2

ami-0891d76eefe5917b0 amzn2-ami-minimal-hvm-2.0.20181114-x86_64-ebs

ap-northeast-2

ami-044a2adf298bfadaf amzn2-ami-hvm-2.0.20181114-x86_64-ebs

ami-0b4fdb56a00adb616 amzn2-ami-hvm-2.0.20181114-x86_64-gp2

ami-0c8971e73c2061be4 amzn2-ami-minimal-hvm-2.0.20181114-x86_64-ebs

ap-northeast-3

ami-08a810bda302ae836 amzn2-ami-hvm-2.0.20181114-x86_64-ebs

ami-079ab661fe705c5ac amzn2-ami-hvm-2.0.20181114-x86_64-gp2

ami-0fa64ce702af99f07 amzn2-ami-minimal-hvm-2.0.20181114-x86_64-ebs

ap-south-1

ami-08b0e86cc971ef5cd amzn2-ami-hvm-2.0.20181114-x86_64-ebs

ami-06bcd1131b2f55803 amzn2-ami-hvm-2.0.20181114-x86_64-gp2

ami-00aec8f0c70278cda amzn2-ami-minimal-hvm-2.0.20181114-x86_64-ebs

ap-southeast-1

ami-018d9f3a71efd1e21 amzn2-ami-hvm-2.0.20181114-x86_64-ebs

ami-0b84d2c53ad5250c2 amzn2-ami-hvm-2.0.20181114-x86_64-gp2

ami-09a3a6d62e6083b1a amzn2-ami-minimal-hvm-2.0.20181114-x86_64-ebs

ap-southeast-2

ami-0b27aae3ff2e5c923 amzn2-ami-hvm-2.0.20181114-x86_64-ebs

ami-08589eca6dcc9b39c amzn2-ami-hvm-2.0.20181114-x86_64-gp2

ami-038acd28714c15121 amzn2-ami-minimal-hvm-2.0.20181114-x86_64-ebs

ca-central-1

ami-08a1c053f7354aadc amzn2-ami-hvm-2.0.20181114-x86_64-ebs

ami-076b4adb3f90cd384 amzn2-ami-hvm-2.0.20181114-x86_64-gp2

ami-02f412389bb82e476 amzn2-ami-minimal-hvm-2.0.20181114-x86_64-ebs

eu-central-1

ami-069979975d4f3f49f amzn2-ami-hvm-2.0.20181114-x86_64-ebs

ami-034fffcc6a0063961 amzn2-ami-hvm-2.0.20181114-x86_64-gp2

ami-0e963e723f241c4dd amzn2-ami-minimal-hvm-2.0.20181114-x86_64-ebs

eu-west-1

ami-0a166fb5b1a5d9532 amzn2-ami-hvm-2.0.20181114-x86_64-ebs

ami-09693313102a30b2c amzn2-ami-hvm-2.0.20181114-x86_64-gp2

ami-0093757e056f6fe96 amzn2-ami-minimal-hvm-2.0.20181114-x86_64-ebs

eu-west-2

ami-0bab1e17be043c7e9 amzn2-ami-hvm-2.0.20181114-x86_64-ebs

ami-0274e11dced17bb5b amzn2-ami-hvm-2.0.20181114-x86_64-gp2

ami-07db027e93ebddc44 amzn2-ami-minimal-hvm-2.0.20181114-x86_64-ebs

eu-west-3

ami-0eb1fbb9d7d43d9a8 amzn2-ami-hvm-2.0.20181114-x86_64-ebs

ami-051707cdba246187b amzn2-ami-hvm-2.0.20181114-x86_64-gp2

ami-0736df1ec4da1ae3f amzn2-ami-minimal-hvm-2.0.20181114-x86_64-ebs

sa-east-1

ami-0f42e92005237136f amzn2-ami-hvm-2.0.20181114-x86_64-ebs

ami-0112d42866980b373 amzn2-ami-hvm-2.0.20181114-x86_64-gp2

ami-0bc29fe295aae11e1 amzn2-ami-minimal-hvm-2.0.20181114-x86_64-ebs

us-east-1

ami-0b8d0d6ac70e5750c amzn2-ami-hvm-2.0.20181114-x86_64-ebs

ami-009d6802948d06e52 amzn2-ami-hvm-2.0.20181114-x86_64-gp2

ami-0cdf00dcd2b77d124 amzn2-ami-minimal-hvm-2.0.20181114-x86_64-ebs

us-east-2

ami-01aeea5586d1cb5e9 amzn2-ami-hvm-2.0.20181114-x86_64-ebs

ami-02e680c4540db351e amzn2-ami-hvm-2.0.20181114-x86_64-gp2

ami-027ad79216389cf1b amzn2-ami-minimal-hvm-2.0.20181114-x86_64-ebs

us-west-1

ami-01cd822533dfab45e amzn2-ami-hvm-2.0.20181114-x86_64-ebs

ami-011b6930a81cd6aaf amzn2-ami-hvm-2.0.20181114-x86_64-gp2

ami-0d5c57a240ae1126c amzn2-ami-minimal-hvm-2.0.20181114-x86_64-ebs

us-west-2

ami-0e07063c9635a53aa amzn2-ami-hvm-2.0.20181114-x86_64-ebs

ami-01bbe152bf19d0289 amzn2-ami-hvm-2.0.20181114-x86_64-gp2

ami-0465f1208c47dd659 amzn2-ami-minimal-hvm-2.0.20181114-x86_64-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