Skip to main content

Your submission was sent successfully! Close

Thank you for signing up for our newsletter!
In these regular emails you will find the latest updates from Canonical and upcoming events where you can meet our team.Close

Thank you for contacting us. A member of our team will be in touch shortly. Close

  1. Blog
  2. Article

Jehudi
on 4 March 2025

Ubuntu 20.04 LTS on Azure: how to stay secure after standard support ends


As Ubuntu 20.04 LTS (Focal Fossa) standard support ends on May 31, 2025, Azure users must proactively evaluate their options to maintain security and regulatory compliance.

What this means for you

After May 31, 2025, Ubuntu 20.04 LTS instances on Azure will no longer receive critical security updates through standard channels, potentially affecting compliance with standards like PCI-DSS, SOC 2, or GDPR.

Your options

Option 1: Upgrade to a newer Ubuntu LTS Version

Ubuntu 22.04 LTS (Jammy Jellyfish) and 24.04 LTS (Noble Numbat) are currently maintained under standard support by Canonical until 2027 and 2029, respectively. You can upgrade via:

  • Deploying a Fresh Instance: Launch a new instance from the Azure Marketplace or CLI, then redeploy and test your application. For automation, update your base image.
    For Ubuntu 24.04 LTS: az vm create –name vm-name –resource-group myRG –image Canonical:0001-com-ubuntu-server-noble:24_04-lts:latest
  • Upgrading the OS Version: Use the `do-release-upgrade` command to update your existing installation. Be aware that there is no rollback option, and packages from external repositories might require manual reinstallation. Given cloud instance flexibility and ease of automation, we strongly recommend deploying a fresh instance for migrations rather than performing in-place upgrades. Learn more in the official documentation.

Note: Before proceeding with either upgrade method, ensure compatibility of your applications and dependencies with the target Ubuntu version, as some packages or configurations may have changed or been deprecated.

Option 2: Extend support with Ubuntu Pro

If you rely on specific application compatibility, hardware stability, or have enterprise constraints that make upgrading difficult, extending your support to Ubuntu Pro may be preferable. 

Ubuntu Pro extends security maintenance for 5 years beyond standard support (until 2030), offering:

  • ESM-infra: Security fixes for high and critical CVEs.
  • ESM-apps: Patches for over 25,000 open-source applications.
  • Kernel Livepatch: Security updates without reboots.
  • Ubuntu Security Guide: Hardening for industry standards such as FedRAMP, CIS, STIG, and more
  • FIPS Support: Compliance with federal security standards for cryptographic modules.
  • Optional phone and ticket support (Contact us)
  • Optional Legacy Support: Providing extended security and maintenance through 2032

To learn more about Ubuntu Pro’s offerings, see https://ubuntu.com/azure/pro 

As Andy Parker, Engineering Manager at TIM, explains: 

“ESM has given us the space to plan what comes next. It’s helping us get into a position where we can have a more sustainable infrastructure.”

How to enable Ubuntu Pro on Azure:

  • Deploy a Fresh Ubuntu Pro Instance: Launch a new Ubuntu Pro 20.04 instance and redeploy your application. For automation, switch to the Pro image.
    az vm create –name pro-vm –resource-group myRG –image Canonical:0001-com-ubuntu-pro-focal:pro-20_04-lts:latest
  • Enable Ubuntu Pro on an Existing Instance: Attach a subscription to your current Ubuntu 20.04 LTS instance:
  1. Update the VM license:

az vm update –resource-group myRG –name myVM –license-type UBUNTU_PRO

  1. Install and attach the subscription:

sudo pro auto-attach

  1. Verify activation:

pro status # Should display subscription details 

Take action now

Ensure your Azure deployments remain secure by evaluating your migration or upgrade strategy well before May 31, 2025. Whether upgrading to a newer LTS or enabling Ubuntu Pro, early planning ensures a smooth transition. For assistance, contact Ubuntu experts from Canonical at https://ubuntu.com/azure/contact-us.

Related posts


Yash Aggarwal
4 November 2024

Join us for Microsoft Ignite

Ubuntu Article

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 deep into the latest conversations that will shape the future of cloud and open-source innovation. Expand and secure your Microsoft Ignite journey with a visit to ...


Canonical
19 November 2024

Getting started with Azure IoT Operations on Ubuntu

Ubuntu Article

Introduction With the recent announcement of the release of Azure IoT Operations, Microsoft has provided its customers with a unified data plane offering significant improvements in node data capture, edge-based telemetry processing, and cloud-ingress.  Combining Azure IoT Operations with Ubuntu provides the perfect pairing to build secur ...


Jehudi
16 August 2024

Ubuntu 24.04 LTS Confidential Virtual Machines with Ubuntu Pro enabled Now Available in the Microsoft Azure Marketplace

Ubuntu Article

Ubuntu 24.04 LTS and 22.04 LTS Confidential VMs with Ubuntu Pro now available on Azure Marketplace, offering enhanced security and compliance for sensitive workloads. ...