This content was taken from the official AWS Blog but since you’re already here, might as well enjoy yourself and if you can think of something you’re thankful for in 5 seconds or less, go ahead and help my site stay up by clicking on an ad. If you don’t, there’ll be even more!
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.
We offer new major versions of the Amazon Linux AMI after a public testing phase that includes one or more Release Candidates. The Release Candidates are announced in the EC2 forum and we welcome feedback on them.
Launching 2016.09 Today (9/27/2016)
Today we launching the 2016.09 Amazon Linux AMI, which is supported in all regions and on all current-generation EC2 instance types. The Amazon Linux AMI supports both HVM and PV modes, as well as both EBS-backed and Instance Store-backed AMIs.
You can launch this new version of the AMI in the usual ways. You can also upgrade an existing EC2 instance by running the following commands:
$ sudo yum clean all $ sudo yum update
And then rebooting the instance.
The Amazon Linux AMI’s roadmap is driven in large part by customer requests. We’ve added a number of features in this release in response to these requests and to keep our existing feature set up-to-date:
This release of the Amazon Linux AMI includes kernel 4.4.19, including a newly updated ENA driver 1.0.2.
Nginx 1.10 – Based on numerous customer requests, the Amazon Linux AMI 2016.09 repositories include the latest stable Nginx 1.10 release. You can install or upgrade to the latest version with
sudo yum install nginx.
Based on customer requests, PHP 7.0 has been added to the Amazon Linux AMI repositories and is now available to be used alongside our existing PHP ecosystem. PHP 7.0 can be installed via
sudo yum install php70. PHP 7.0 is able to be installed in parallel with PHP 5.5 and PHP 5.6, and the version in use is controlled by alternatives. It is important to note that PHP 5.5 and PHP 5.6 have higher alternatives priority. If you have PHP 7.0 installed in parallel to other version, 5.5 and 5.6 will take precedence as the default.
If you want to ensure your environment will use PHP 7.0 even after installing PHP 5.5 or 5.6, run
sudo alternatives --set php /usr/bin/php-7.0 or run sudo alternatives --config php to set the default interactively.
PHP 7.0 maintains its own configuration files separate from the other system PHP versions, so changes made to PHP 7.0 will not be applied to either of PHP 5.5 or PHP 5.6 (and vice versa).
PostgreSQL 9.5 – Many customers have asked for PostgreSQL 9.5, and it is now available as a separate package from our other PostgreSQL offerings. PostgreSQL 9.5 is available via
sudo yum install postgresql95.
Python 3.5 – Python 3.5, the latest in the Python 3.x series, has been integrated with our existing Python experience and is now available in the Amazon Linux AMI repositories. This includes the associated virtualenv and pip packages, which can be used to install and manage dependencies. The default python version for /usr/bin/python can be managed via alternatives, just like our existing Python packages. Python 3.5 and the associated pip and virtualenv packages can be installed via
sudo yum install python35 python35-virtualenv python35-pip.
Amazon SSM Agent – The Amazon SSM Agent allows you to use Run Command in order to configure and run scripts on your EC2 instances and is now available in the Amazon Linux 2016.09 repositories (read Remotely Manage Your Instances to learn more). Install the agent by running
sudo yum install amazon-ssm-agent and start it with
sudo /sbin/start amazon-ssm-agent.
Boot Time Performance
We’ve made a variety of changes for this release to improve the boot performance of the Amazon Linux AMI. There is about a 20% improvement in launch time on average from 2016.03.0 to this release, 2016.09.0. We aim to continue to provide a performant instance boot experience with future Amazon Linux AMI releases.
To learn more about all of the new features of the new Amazon Linux AMI, take a look at the release notes.
— Sean Kelly, Amazon Linux AMI Team
PS – If you would like to work on future versions of the Amazon Linux AMI, check out our Linux jobs! (Tell them I referred you so I get the bonus!)
Brought to you by
Jeff Barr ( @jeffbarr)
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.
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.
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 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.
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.
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.
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 2016.09.0 was released on 2016-09-27.
When you're a little too careless about virtualizing your domain controllers, cloning, migrating, backing up and restoring, returning from vacation… Read More
Systemd is new service manager for Linux. It's a replacement for all previous init systems (SysV/SysVinit & Ubuntu's Upstart) and… Read More