Score:0

Upgrading existing Azure VM with Ubuntu 18.04 LTS to Ubuntu Pro 18.04

bz flag

What are the steps to upgrade an existing Azure VM with Ubuntu 18.04 LTS to Ubuntu Pro 18.04. Is it possible without creating a new VM?

user535733 avatar
cn flag
While you get community answers here, keep in mind that we are merely fellow users. We are not Azure nor Pro support, and have no special insight into those proprietary services. You might get a more authoritative answer by asking them directly.
Score:2
in flag

Update: This is now possible natively in Azure. See https://ubuntu.com/blog/announcing-in-place-upgrade-from-ubuntu-server-to-ubuntu-pro-on-azure :

In Azure CLI run:

az vm update -g myResourceGroup -n myVmName --license-type UBUNTU_PRO

and then run these commands in the instance that you have converted:

sudo apt install ubuntu-advantage-tools
sudo pro auto-attach

Verify that Ubuntu Pro is enabled on your instance by running:

pro status --all --wait 

Prior to this native functionality existing, the advice was as follows:

  • For new instances or instances that are easy to redeploy (e.g. launched programmatically in a CI/CD pipeline), the best option is to redeploy onto a new Azure Ubuntu Pro instance. These Ubuntu Pro instances on Azure attach to their entitlements automatically and will receive the extended security maintenance for 18.04 by default without further steps.
  • Contact Canonical for a token that could be manually attached to an instance. Now that native in-place upgrade to Ubuntu Pro exists, this is unlikely the best option.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.