Question

Upgrading to Ubuntu 22.04

I have several droplets currently running Ubuntu 20.04.5 LTS that are mainly used to host small WordPress sites that I’d like to soon upgrade to 22.04. Is creating a snapshot of my current droplet and spinning up another droplet using that snapshot a reliable way to create a staging site for that upgrade?


Submit an answer


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Bobby Iliev
Site Moderator
Site Moderator badge
January 16, 2023
Accepted Answer

Hi there,

Indeed, that is one of the best ways to create a staging version for your website and server as the two will be physically isolated.

That way you can be at ease when upgrading the OS of your server as this is a major change.

After that you can follow the steps here on how to upgrade to Ubuntu 22.04:

https://www.digitalocean.com/community/tutorials/how-to-upgrade-to-ubuntu-22-04-jammy-jellyfish

Let me know how it goes!

Best,

Bobby

KFSys
Site Moderator
Site Moderator badge
January 17, 2023

Hi @jplafata,

Yes, that’s absolutely the way to go in terms of a staging environment. Even if you didn’t need a staging environment, it’s always best to create a snapshot before a potential way of breaking, in this case, the upgrade of Ubuntu.

Even though I’m sure you are aware how to work a snapshot, I’ll post the documentation for visibility on it:

https://docs.digitalocean.com/products/images/snapshots/

alexdo
Site Moderator
Site Moderator badge
January 19, 2023

Hello @jplafata

You’re on the right way on to upgrade to Ubuntu 22.04. I would like to add that you can also take a local backup of your sites/applications on top of creating a snapshot.

In this way, you’ll have a local copy of your data in case you lose access to your account or any other inconvenience occurs.

Regards

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel