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

Mohamed Wadie Nsiri
on 19 December 2023

Still running SQL Server on Ubuntu 16.04 LTS or 18.04 LTS ?


Running SQL Server on Ubuntu 16.04 LTS or 18.04 LTS? If so, this blog is for you to evaluate options to avoid compromising the security of your data

Houston, we have a problem

Ubuntu 16.04 LTS and 18.04 LTS reached the end of standard support on 31 May 2021 and 31 May 2023, respectively.

While SQL Server is famous for being the least vulnerable database for over a decade, running it on an unsupported operating system can leave your data vulnerable to cyber security threats. It is therefore important to upgrade your stack to a supported setup. Let’s go over your options.

Solving the problem

You have two main options to mitigate risks:

  • Expand your security coverage with Ubuntu Pro to extend your support until April 2026 for Ubuntu 16.04 and April 2028 for Ubuntu 18.04.
  • Upgrade to Ubuntu 20.04 LTS or Ubuntu 22.04 LTS.

Let’s explore these two options in more detail.

How Ubuntu Pro can help

Ubuntu Pro provides you with Expanded Security Maintenance for an additional 5 years (so 10 in total). Second, it widens your patch coverage to more than 30,000 packages that are part of Ubuntu repositories (up from 2,300 packages in Ubuntu LTS). Moreover, it offers tools to harden your OS following the most stringent compliance regimes and security standards like ISO 27k, PCI-DSS, CIS, DISA-STIG and FedRAMP. With an Ubuntu Pro subscription, you can also opt in for 24/7 support.

You can upgrade to Ubuntu Pro in-place without the need for complex migrations. Please follow this tutorial for a step-by-step guide.   

You can also deploy new Azure virtual machines running SQL Server on top of Ubuntu Pro using the following optimised images from Azure’s marketplace:

Together, Canonical and Microsoft provide 24/7 support for the above configurations. You can use the same flow when opening support tickets in Azure to get help. Behind the scenes, Microsoft and Canonical coordinate to help you resolve your issues promptly. Ubuntu Pro is available for free for personal and small-scale commercial users on up to 5 machines. It is also available for bigger enterprise deployments with transparent, per-machine pricing.

Upgrading to Ubuntu 20.04 or Ubuntu 22.04

Transitioning to the latest operating system, such as Ubuntu 20.04 LTS or Ubuntu Pro 22.04 LTS, is another option to keep your stack supported. Using a more recent version of Ubuntu provides additional benefits like performance improvements and hardware enablement.  

Depending on your environment, it may be complex to execute such upgrades. Therefore, we recommend performing proper testing with your workloads. Our Ubuntu Server upgrade guide can help you plan for your upgrades. You also need to check that your SQL Server version is supported on the target Ubuntu version:

SQL Server versionSupported Ubuntu versionsReleases notes and details
SQL Server 201716.04 or 18.04Release notes for SQL Server 2017 
SQL Server 201916.04 or 18.04 or 20.04Release notes for SQL Server 2019 
SQL Server 202220.04 or 22.04Releases notes for SQL Server 2022 
Compatibility between Ubuntu versions and SQL Server versions

When opting for an out-of-place migration (using new VMs), we also recommend upgrading to the latest version of SQL Server to benefit from all the new added features.

More Information

You can learn more about Ubuntu support policies and lifecycle using:

If you have any questions, please contact the Canonical team.

Related posts


Ishani Ghoshal
27 March 2025

Open source enterprise application security remains a challenge despite greater patching efforts, IDC research reveals

Ubuntu Article

The latest report from the International Data Corporation (IDC) co-sponsored by Canonical and Google Cloud  indicates that 36% of organizations adopt open source to improve development velocity, and 7 in 10 organizations see open source as extremely important to run mission critical workloads. However as open source adoption grows, organi ...


Rajan Patel
4 March 2025

Install FreePBX and Asterisk on Ubuntu 24.04 LTS for security patches until 2036

Cloud and server Article

Deploying FreePBX and Asterisk on a single Ubuntu virtual machine in a public cloud is an ideal solution for personal users and small to medium-sized businesses with voice over IP (VoIP) and fax over IP (FoIP) needs. This setup costs nothing, is scalable and secure, and has daily recovery points with a recovery time measured ...


Jehudi
4 March 2025

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

Ubuntu Article

As standard support for Ubuntu 20.04 LTS ends on May 31, 2025, Azure users must choose between upgrading to a newer version or enabling extended security with Ubuntu Pro to ensure continued compliance and protection against vulnerabilities. ...