Upgrade your existing Ubuntu LTS instances to Ubuntu Pro in AWS
Carlos Bravo
on 28 April 2023
Tags: AWS , AWS EC2 , FIPS , Public cloud , Ubuntu Pro
In April 2023, Amazon Web Services (AWS) released a new functionality that allows users running Ubuntu LTS to upgrade their instances to Ubuntu Pro with just a few clicks. This upgrade provides additional security features, including patching for universe packages, extended security management for an additional five years, live kernel patching, and access to FedRamp and FIPS modules. In this blog, we will cover all the steps needed to upgrade Ubuntu LTS instances to Ubuntu Pro on AWS using AWS License Manager.
If you are using an Ubuntu version which is already, or coming to, an end-of-support like Ubuntu 16.04 LTS or Ubuntu 18.04 LTS, and you are not ready to migrate to a newer version, you may want to look at upgrading to Ubuntu Pro.
What is Ubuntu Pro?
Ubuntu Pro is a premium version of the Ubuntu Linux distribution that is designed for enterprise use. It is built on top of the popular Ubuntu distribution and includes additional features and support options that are not available in the standard version. Ubuntu Pro is available in the AWS Marketplace and is optimized for use on AWS.
Features of Ubuntu Pro
Enhanced security
Ubuntu Pro includes several security features that are designed to protect your data and infrastructure. These features include kernel livepatching, security fixes for all packages on Main and Universe repositories under SLA and hardening scripts using CIS and DISA-STIG standards.
FIPS 140-2 compliance
Ubuntu Pro is compliant with the Federal Information Processing Standards (FIPS) 140-2, which is a U.S. government standard that defines security requirements for cryptographic modules. This compliance ensures that your infrastructure meets the security standards required by many organizations.
Long-term support
Ubuntu Pro includes long-term support (LTS) for up to ten years. This means that you will receive security updates and bug fixes for a longer period, reducing the need for frequent major upgrades.
How to upgrade Ubuntu LTS to Ubuntu Pro on EC2 using AWS License Manager
Requirements
- Ubuntu LTS EC2 machines from 16.04 onwards
- Instances managed by AWS Systems Manager (SSM)
- The pro client tool up to date: sudo apt install ubuntu-advantage-tools
- Network access for the instances as described here
⚠ Note: If you’re using an image from outside AWS, make sure to reinitialize cloud-init so it can correctly detect the cloud environment. To do this, run
sudo cloud-init clean
and then restart your machine.
To enable SSM on your instances, follow the instructions in the AWS official documentation, video tutorial, or step-by-step tutorial.
To check if your instances are managed by SSM, go to the SSM console and check if the instances you would like to upgrade appear as managed nodes under fleet management. If they don’t appear, follow the links provided above and ensure you have completed the steps correctly. You may need to restart the instances to activate the SSM Agent.
Step 1: Shut down your instances
Go to the EC2 dashboard and shut down all the instances you would like to upgrade.
Step 2: Upgrade to Ubuntu Pro
- Go to the AWS License Manager and select License type conversion on the left side menu.
- Click the Create license type conversion button.
- Select Ubuntu LTS from the dropdown menu and choose the instances you want to upgrade.
- Click Next and select Ubuntu Pro as the License type destination.
- Review the information and click Convert.
The conversion process may take some time, and you can monitor its progress on the License Manager dashboard.
Step 3: Verify the upgrade
After the conversion process is complete, log in to one of the upgraded instances and run the following command to verify the upgrade:
pro status
The output should show that the instance is now running Ubuntu Pro.
Need additional support?
If you would like additional phone and ticketing support on top of Ubuntu Pro, or talk to our Sales Representatives for volume usage email us or contact us
Conclusion
Upgrading to Ubuntu Pro provides additional security and compliance certifications for your instances. With AWS License Manager, upgrading your Ubuntu LTS instances to Ubuntu Pro is a straightforward process that can be completed in just a few clicks. Follow the steps outlined in this blog to upgrade your instances and enjoy the benefits of Ubuntu Pro.
Further reading
Ubuntu on public clouds
There is no one size fits all cloud architecture.
Developing the optimum cloud strategy requires evaluating your business needs and aligning them with the different solutions available.
Newsletter signup
Related posts
Ubuntu Explained: How to ensure security and stability in cloud instances—part 3
Applying updates across a fleet of multiple Ubuntu instances is a balance of security and service uptime. We explore best practices to maximise stability.
Ubuntu Explained: How to ensure security and stability in cloud instances—part 2
You probably know that it is important to apply security updates. You may not be clear how to do that. We are going to explain best practices for applying...
Join us for Microsoft Ignite
The Canonical team is gearing up for the next big gathering at Microsoft Ignite 2024, which will take place from November 18 – 22, 2024. Get ready to dive...