As our recent blog post mentioned, Ubuntu 20.04 LTS (Focal Fossa) is reaching the tip of its customary help interval. This implies the free model will not obtain safety updates.
For AWS customers, you will have two choices: improve to a more recent LTS model or improve to Ubuntu Professional to increase the safety upkeep and maintain receiving updates till no less than 2030. This publish covers each choices.
⚠Observe: If you’re operating Ubuntu 20.04 LTS on any AWS service apart from EC2, EKS, or ECS, please contact AWS Assist for improve choices.
For extra particulars on the Ubuntu LTS help interval and launch cadence, go to the Ubuntu lifecycle and release cadence page.
Possibility 1: Improve to a brand new LTS model.
Ubuntu 22.04 LTS (Jammy Jellyfish) and 24.04 LTS (Noble Numbat) are nonetheless inside their customary help durations. If you wish to improve, you will have two options:
Deploying right into a recent occasion
If you happen to can redeploy your workloads on a brand new server, you may launch a recent occasion of Ubuntu LTS through the AWS marketplace or AWS CLI and begin deploying and testing your utility. If you happen to use automation, switching to the brand new AMI ought to be enough.
Carry out an in-place improve:
Ubuntu contains an in-place improve choice utilizing the do-release-upgrade command. This script upgrades your current set up. Nonetheless, bear in mind that functions or packages put in from exterior repositories (i.e., these not included in Ubuntu’s official repositories reminiscent of Primary and Universe) won’t be upgraded robotically and should must be reinstalled manually.
Be taught extra about it in our official documentation page.
⚠Observe: There isn’t any rollback choice as soon as the improve course of begins. Since this can be a cloud occasion somewhat than a bodily machine, our really useful method for cloud migrations is to begin recent.
Possibility 2: Get one other 5 years of upkeep of 20.04 LTS, and extra safety updates with Ubuntu Professional
If you happen to want extra time to plan your improve or need to prolong the financial lifetime of a challenge that doesn’t require an instantaneous improve, Ubuntu Professional is a good resolution.
Ubuntu Professional is Canonical’s safety and compliance subscription for Ubuntu. It supplies the identical Ubuntu expertise with further providers, together with:
- esm-infra: Extends LTS launch protection from 5 to 10 years, guaranteeing continued safety fixes for prime and important Widespread Vulnerabilities and Exposures (CVEs).
- esm-apps: Covers safety patching for over 25,000 third-party open supply functions out there within the Universe repository. This contains generally used libraries and toolchains like OpenJDK, Python, Php and others.
- Kernel livepatch: Enhance your uptime by making use of in-memory safety patches to your kernel avoiding unplanned restarts.
- Ubuntu Safety Information: for automated and assisted hardening in opposition to business requirements reminiscent of CIS or DISA-STIG.
If you wish to be taught extra about Ubuntu Professional and the way it differs from Ubuntu LTS, please learn the official Ubuntu Pro FAQ here.
Present Ubuntu customers have a number of paths to allow Ubuntu Professional of their AWS surroundings: both by deploying a recent Ubuntu Professional occasion or by performing an in-place improve.
Deploying right into a recent Ubuntu Professional occasion
If you happen to can redeploy, you may launch recent situations of Ubuntu Professional and begin redeploying and testing with out affecting the unique occasion. If you happen to use automation, merely updating your base AMI ID from Ubuntu 20.04 LTS to the Ubuntu Professional 20.04 AMI will guarantee a seamless transition, supplied your machine has outbound web entry. Learn the Ubuntu Pro network requirements.
Yow will discover the Ubuntu Professional AMI IDs within the AWS Marketplace by trying to find “Ubuntu Professional 20.04” or through AWS CLI:
If you’re utilizing AWS, the next command will provide you with the newest AMI ID for Ubuntu Professional 20.04:
aws ssm get-parameters --names /aws/service/canonical/ubuntu/pro-server/20.04/steady/present/amd64/hvm/ebs-gp2/ami-id
Carry out an in-place improve to Ubuntu Professional:
If redeployment is just not an choice, you may carry out an in-place improve by attaching an Ubuntu Professional license. There are two methods to improve a operating occasion to Ubuntu Professional:
1. Utilizing AWS License Supervisor
AWS License Supervisor allows you to connect a brand new license to a operating occasion. This requires your occasion to be managed by AWS Methods Supervisor (SSM) and primarily based on an official Ubuntu LTS picture from AWS.
Now we have a step-by-step information right here: How to upgrade Ubuntu LTS to Ubuntu Pro on AWS using AWS License Manager or you may comply with our demonstration video as right here:
2. Utilizing Canonical tokens
If AWS License Supervisor is just not an choice, you may acquire an Ubuntu Professional token from Canonical whereas nonetheless transacting through AWS Market. When you obtain a token, connect it to your machine with the next command:
sudo professional connect
To acquire Ubuntu Professional tokens, please full our contact form or electronic mail us at aws@canonical.com.
Extra Sources: