Ubuntu 14.04, now with the AWS tuned Ubuntu kernel
Users of Ubuntu on Amazon EC2 provided positive feedback on their use of the AWS tuned Ubuntu kernel with the Ubuntu 16.04 LTS release. The customer feedback encouraged the AWS engineering and Canonical kernel engineering teams to extend those improvements to Ubuntu 14.04 LTS release which we are now making generally available.
AWS and Canonical collaborated to provide performance improvements and enhance customer experience through the linux-aws kernel package. Some of the most notable improvements are as follows:
- Up to 30% faster boot times, on a 15% smaller kernel
- Full Support for the Elastic Network Adapter
- Improved i3 instance class support with NVMe storage disks under high IO load
- Increased I/O performance for i3 instances
The Ubuntu 16.04 LTS images provided for instance launch after March 29th and later boot the AWS tuned kernel by default. In the case of the Ubuntu 14.04 LTS images, instances will continue to boot by default with the GA kernel and if the AWS tuned Ubuntu kernel is preferred, then can elect to run the AWS tuned kernel. Users who are comfortable with the use of the Ubuntu LTS hardware enablement (HWE) stacks will find the process of moving to the AWS tuned Ubuntu kernel familiar.
To install the AWS tuned Ubuntu kernel for active Amazon EC2 instances, execute the following commands on the instances:
$ sudo apt -y update
$ sudo apt -y install linux-aws
Once the step is completed, you will need to initiate a reboot to enable the newly installed kernel. If you are planning to launch on an enhanced networking ENA-enabled instance type, instances created from Ubuntu 14.04 LTS images prior to July 27, 2017 may require enabling ENA support. If the image is not enabled for ENA Support, then the instance will need to be stopped, and the following CLI command will need to be executed from your local computer with the instance id:
$ aws ec2 modify-instance-attribute --instance-id --ena-support
Once these steps are completed, the instance can be restarted for immediate use with full ENA support. With the AWS tuned Ubuntu kernel, it is no longer necessary to perform the steps outlined in the Enhanced Networking on Linux section of the AWS documentation.
Official Ubuntu AMIs are provided in all regions and for all instance types by the Canonical public cloud team and the Canonical teams have been making these images available on AWS for more than 8 years now. AWS customers use Ubuntu images as the foundation for a wide variety of workloads on Amazon EC2 and you can find community images in the advanced EC2 launch instance wizard, in the AWS Marketplace and the Ubuntu Amazon EC2 AMI Locator. The AWS tuned Ubuntu kernel is available in all regions for all instances running Ubuntu 14.04 LTS release or later. Try it for yourself today.