Ubuntu on AWS gets serious performance boost with AWS-tuned kernel

This article was last updated 5 years ago.


Canonical and Amazon Web Services have been working closely together to create the best experience of the world’s most popular cloud OS, on the world’s most popular public cloud. Official Ubuntu guest images have been available on AWS for years, and underlie the majority of workloads on the service—whether you use the EC2 Quickstart, Marketplace, or Lightsail. This week, and for the first time on the public cloud, Canonical, in collaboration with Amazon, is delighted to announce the availability of an AWS-tuned Ubuntu kernel for the Ubuntu 16.04 LTS release.

Thanks to our public cloud and kernel teams, as of March 29th, Ubuntu Cloud Images for Amazon have been enabled with the AWS-tuned Ubuntu kernel by default. The AWS-tuned Ubuntu kernel will receive the same level of support and security maintenance as all supported Ubuntu kernels for the duration of the Ubuntu 16.04 LTS.

The kernel itself is provided by the linux-aws kernel package.  The most notable highlights for this kernel include:

  • Up to 30% faster kernel boot speeds, on a 15% smaller kernel package
  • Full support for Elastic Network Adapter (ENA), including the latest driver version 1.1.2, supporting up to 20 Gbps network speeds for ENA instance types (currently I3, P2, R4, X1, and m4.16xlarge)
  • Improved i3 instance class support with NVMe storage disks under high IO load
  • Increased I/O performance for i3 instances
  • Improved instance initialization with NVMe backed storage disks
  • Disabled CONFIG_NO_HZ_FULL to eliminate deadlocks on some instance types
  • Resolved CPU throttling with AWS t2.micro instances

Any Ubuntu 16.04 LTS image brought up from EC2 Quickstart or AWS Marketplace on March 29th or later will be running on this AWS-tuned kernel. You can also query the EC2 API to confirm that these AMIs are ENA-enabled:


Instances using the AWS-tuned Ubuntu kernel will, of course, be supportable through Canonical’s Ubuntu Advantage service, available for purchase on an hourly metered basis on the AWS-Marketplace (Standard or Advanced) tiers, or at an annual price on our Shop. The AWS-tuned Ubuntu kernel will not support the Canonical Livepatch Service at the time of this announcement, but investigation is underway to evaluate delivery of this service for users of the AWS-tuned Ubuntu kernel.

If, for now, you prefer stability over speed, you can get still get going with Livepatch by reverting to the old kernel, using the following commands:

Watch this space for more developments from Amazon and Canonical throughout the year, as we continue to optimize performance on a host of AWS services, and to make it easy to deploy and operate complex workloads in production.

Ubuntu cloud

Ubuntu offers all the training, software infrastructure, tools, services and support you need for your public and private clouds.

Newsletter signup

Get the latest Ubuntu news and updates in your inbox.

By submitting this form, I confirm that I have read and agree to Canonical's Privacy Policy.

Related posts

6 facts for CentOS users who are holding on

Considering migrating to Ubuntu from other Linux platforms, such as CentOS? Find six useful facts to get started!

Generative AI on a GPU-Instance with Ubuntu on AWS: Part 1 – Image Generation

This blog post will show you how to run one of the most used Generative AI models for Image generation on Ubuntu on a GPU-based EC2 instance on AWS

Understanding AWS pricing

Have you ever wondered how AWS pricing actually works? You launch a startup or a new project in your organisation. You decide to use Amazon Web Services (AWS)...