Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Skip to main content

Amazon Linux AMI

The Amazon Linux AMI (also called Amazon Linux 1) reached its end of life on December 31, 2023. Amazon Linux AMI will not receive any security updates or bug fixes starting January 1, 2024. Customers are encouraged to upgrade their applications to use Amazon Linux 2023, which includes long term support through 2028.

Overview

The Amazon Linux AMI is a supported and maintained Linux image provided by Amazon Web Services for use on Amazon Elastic Compute Cloud (Amazon EC2). It is designed to provide a stable, secure, and high performance execution environment for applications running on Amazon EC2. It supports the latest EC2 instance type features and includes packages that enable easy integration with AWS. Amazon Web Services provides ongoing security and maintenance updates to all instances running the Amazon Linux AMI. The Amazon Linux AMI is provided at no additional charge to Amazon EC2 users.

Create Free Account

Key Features

AWS Integration

The Amazon Linux AMI includes packages and configurations that provide tight integration with Amazon Web Services. The Amazon Linux AMI comes pre-installed with many AWS API tools and CloudInit. AWS API tools enable scripting of important provisioning tasks from within an Amazon EC2 instance. CloudInit allows passing instance configuration actions to instances at launch time via the EC2 user-data fields, enabling remote configuration of Amazon EC2 instances.

The Amazon Linux AMI is available in all AWS regions. See the supported Amazon Linux AMI image and instance type combinations for more information.

Secure Configuration

The configuration of the Amazon Linux AMI enhances security by focusing on two main security goals: limiting access and reducing software vulnerabilities. The Amazon Linux AMI limits remote access capabilities by using SSH key pairs and by disabling remote root login. Additionally, the Amazon Linux AMI reduces the number of non-critical packages which are installed on your instance, limiting your exposure to potential security vulnerabilities. Security updates rated "critical" or "important" are automatically applied on the initial boot of the AMI. Upon login, the Message of the Day (\/etc\/motd) indicates whether or not any additional updates are available.

Package Repository Access

The Amazon Linux AMI includes packages and configurations that provide seamless integration with Amazon Web Services. This allows the Amazon Linux AMI to launch and work with various AWS services out of the box.

The repositories are available in all regions and are accessed via yum. Hosting repositories in each region allows updates to be deployed quickly and without any data transfer charges.

Security Updates

Security updates are provided via the Amazon Linux AMI yum repositories as well as via updated Amazon Linux AMIs. Security alerts are published in the Amazon Linux AMI Security Center. For more information on AWS security policies or to report a security problem, please visit the AWS Security Center.

Lightweight

By default, the Amazon Linux AMI includes a small set of services, utilities, and tools for integration with AWS. The Amazon Linux AMI is designed to provide a functional base, allowing you to add on (via the package repositories) additional utilities and services. Starting with a smaller base of packages means there are fewer components to maintain, as well as less surface area for security exploits.

AWS Support

Support for installation and use of the base Amazon Linux AMI is included through subscriptions to AWS Support. For more information on AWS Support please visit the AWS Support web page.

Older versions of the AMI and updated packages will continue to be available for launch in Amazon EC2 and for installation from the Amazon Linux AMI yum repository even as new Amazon Linux AMI versions are released.

However, we encourage customers to move to, and to use, the latest version of the Amazon Linux AMI in order to ensure the best customer experience that we can provide.

Pricing

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

Amazon Linux AMI IDs

The latest Amazon Linux AMI 2018.03 was released on 2018-11-19

Region
HVM (SSD) EBS-Backed 64-bit
HVM Instance Store 64-bit
PV EBS-Backed 64-bit
PV Instance Store 64-bit
HVM (NAT) EBS-Backed 64-bit
HVM (Graphics) EBS-Backed 64-bit
US East N. Virginia
ami-0ff8a91507f77f867
ami-0130c3a072f3832ff
ami-0023040df18933030
ami-00f0abdef923519b0
ami-0422d936d535c63b1
US East Ohio

ami-0b59bfac6be064b78

ami-077d7e91242395d35
n/a
n/a
ami-0f9c61b5a562a16af
n/a
US West Oregon

ami-a0cfeed8
ami-a6cfeede
ami-afe1c0d7
ami-b9cbeac1
ami-40d1f038
US West N. California
ami-0bdb828fd58c52235
ami-0dfd61ae8fdc4cd9d
ami-06819ed4f6553bd1e
ami-01be46cb5c9ccda19
ami-0d4027d2cdbca669d
Canada Central
ami-0b18956f
ami-04189560
n/a
n/a
ami-b61b96d2
n/a
EU Ireland
ami-047bb4163c506cd98
ami-07a877f081af74359
ami-0c651f40f9861388f
ami-0b92ca4d379a3f8df
ami-0ea87e2bfa81ca08a
EU London
ami-f976839e
ami-e7768380
n/a
n/a
ami-e6768381
n/a
EU Paris
ami-0ebc281c20e89ba4b
ami-0e605e9bcfac420c0
n/a
n/a
ami-0050bb60cea70c5b3
n/a
EU Frankfurt
ami-0233214e13e500f77
ami-0e0287b26addd9ff8
ami-07c6c98d42a4bc369
ami-013f76979ce992eea
ami-06465d49ba60cf770
Asia Pacific Singapore
ami-08569b978cc4dfa10
ami-0f248bcac6ff5bc17
ami-0a318515629ae86fd
ami-04763b6d5ab6fe9a1
ami-0cf24653bcf894797
Asia Pacific Seoul
ami-0a10b2721688ce9d2
ami-07d5665d0c129d8b7
n/a
n/a
ami-08cfa02141f9e9bee
n/a
Asia Pacific Tokyo
ami-06cd52961ce9f0d85
ami-094524ca01aa224d2
ami-0f16a2ca7efacfa65
ami-063401dda25d63e2f
ami-0cf78ae724f63bac0
Asia Pacific Sydney
ami-09b42976632b27e9b
ami-01ab4a3bc7e75f44a
ami-0d783a243942fbe54
ami-0c75a9821f3a629af
ami-00c1445796bc0a29f
Asia Pacific Mumbai
ami-0912f71e06545ad88
ami-0d7b208dc5b0fe76a
n/a
n/a
ami-0aba92643213491b9
n/a
South America São Paulo

ami-07b14488da8ea02a0
ami-0eb8a2edbee46ccfb
ami-0655fe368ed42fcf7
ami-020a5eaeda85140a0
ami-09c013530239687aa
/a
China Beijing
ami-0a4eaf6c4454eda75
ami-097fcba8f18ba407e
ami-078e06ff99837f9d5
ami-00458e0e45aa0bca8
ami-04cd0cf505fd3295e
n/a
AWS GovCloud
ami-906cf0f1
ami-8f70ecee
ami-d169f5b0
ami-d069f5b1
ami-c177eba0
n/a