Ubuntu new Offers and SKUs for Azure VMs

Some of you have noticed that Offers and SKUs for Ubuntu images in Azure have changed recently. The brand new key is used for Offers naming - the OS family is narrow (earlier there was an UbuntuServer):

az vm image list-offers \  
--publisher Canonical \
--location westeurope \
-o table

Location    Name  
----------  -------------------------------------------
westeurope  0001-com-ubuntu-minimal-focal-daily  
westeurope  0001-com-ubuntu-minimal-groovy-daily  
westeurope  0001-com-ubuntu-minimal-hirsute-daily  
westeurope  0001-com-ubuntu-pro-advanced-sla  
westeurope  0001-com-ubuntu-pro-advanced-sla-att  
westeurope  0001-com-ubuntu-pro-advanced-sla-nestle  
westeurope  0001-com-ubuntu-pro-advanced-sla-servicenow  
westeurope  0001-com-ubuntu-pro-advanced-sla-shell  
westeurope  0001-com-ubuntu-pro-bionic  
westeurope  0001-com-ubuntu-pro-bionic-fips  
westeurope  0001-com-ubuntu-pro-focal  
westeurope  0001-com-ubuntu-pro-hidden-msft-fips  
westeurope  0001-com-ubuntu-pro-trusty  
westeurope  0001-com-ubuntu-pro-xenial  
westeurope  0001-com-ubuntu-pro-xenial-fips  
westeurope  0001-com-ubuntu-server-eoan  
westeurope  0001-com-ubuntu-server-focal  
westeurope  0001-com-ubuntu-server-focal-daily  
westeurope  0001-com-ubuntu-server-groovy  
westeurope  0001-com-ubuntu-server-groovy-daily  
westeurope  0001-com-ubuntu-server-hirsute-daily  
westeurope  0002-com-ubuntu-minimal-bionic-daily  
westeurope  0002-com-ubuntu-minimal-disco-daily  
westeurope  0002-com-ubuntu-minimal-focal-daily  
westeurope  0002-com-ubuntu-minimal-xenial-daily  
westeurope  0003-com-ubuntu-minimal-eoan-daily  
westeurope  0003-com-ubuntu-server-trusted-vm  
westeurope  test-ubuntu-premium-offer-0002  
westeurope  Ubuntu15.04Snappy  
westeurope  Ubuntu15.04SnappyDocker  
westeurope  UbunturollingSnappy  
westeurope  UbuntuServer  
westeurope  Ubuntu_Core  

Thanks for that, new SKUs lists are short:

az vm image list-skus \  
--publisher Canonical \
--offer 0001-com-ubuntu-server-focal-daily \
--location westeurope \
-o table

Location    Name  
----------  --------------------
westeurope  20_04-daily-lts  
westeurope  20_04-daily-lts-gen2  

At the end we have a much shorter list of images:

az vm image list --all \  
--publisher Canonical \
--offer 0001-com-ubuntu-server-focal-daily \
--sku 20_04-daily-lts \
--location westeurope \
-o table

Offer                               Publisher    Sku                   Urn                                                                                Version  
----------------------------------  -----------  --------------------  ---------------------------------------------------------------------------------  ---------------
0001-com-ubuntu-server-focal-daily  Canonical    20_04-daily-lts       Canonical:0001-com-ubuntu-server-focal-daily:20_04-daily-lts:20.04.202012100       20.04.202012100  
0001-com-ubuntu-server-focal-daily  Canonical    20_04-daily-lts       Canonical:0001-com-ubuntu-server-focal-daily:20_04-daily-lts:20.04.202012110       20.04.202012110  
0001-com-ubuntu-server-focal-daily  Canonical    20_04-daily-lts       Canonical:0001-com-ubuntu-server-focal-daily:20_04-daily-lts:20.04.202101050       20.04.202101050  
0001-com-ubuntu-server-focal-daily  Canonical    20_04-daily-lts       Canonical:0001-com-ubuntu-server-focal-daily:20_04-daily-lts:20.04.202101060       20.04.202101060  
0001-com-ubuntu-server-focal-daily  Canonical    20_04-daily-lts       Canonical:0001-com-ubuntu-server-focal-daily:20_04-daily-lts:20.04.202101120       20.04.202101120  
0001-com-ubuntu-server-focal-daily  Canonical    20_04-daily-lts       Canonical:0001-com-ubuntu-server-focal-daily:20_04-daily-lts:20.04.202101140       20.04.202101140  
0001-com-ubuntu-server-focal-daily  Canonical    20_04-daily-lts       Canonical:0001-com-ubuntu-server-focal-daily:20_04-daily-lts:20.04.202101180       20.04.202101180  
0001-com-ubuntu-server-focal-daily  Canonical    20_04-daily-lts-gen2  Canonical:0001-com-ubuntu-server-focal-daily:20_04-daily-lts-gen2:20.04.202011260  20.04.202011260  
0001-com-ubuntu-server-focal-daily  Canonical    20_04-daily-lts-gen2  Canonical:0001-com-ubuntu-server-focal-daily:20_04-daily-lts-gen2:20.04.202012010  20.04.202012010  
0001-com-ubuntu-server-focal-daily  Canonical    20_04-daily-lts-gen2  Canonical:0001-com-ubuntu-server-focal-daily:20_04-daily-lts-gen2:20.04.202012100  20.04.202012100  
0001-com-ubuntu-server-focal-daily  Canonical    20_04-daily-lts-gen2  Canonical:0001-com-ubuntu-server-focal-daily:20_04-daily-lts-gen2:20.04.202012110  20.04.202012110  
0001-com-ubuntu-server-focal-daily  Canonical    20_04-daily-lts-gen2  Canonical:0001-com-ubuntu-server-focal-daily:20_04-daily-lts-gen2:20.04.202101050  20.04.202101050  
0001-com-ubuntu-server-focal-daily  Canonical    20_04-daily-lts-gen2  Canonical:0001-com-ubuntu-server-focal-daily:20_04-daily-lts-gen2:20.04.202101060  20.04.202101060  
0001-com-ubuntu-server-focal-daily  Canonical    20_04-daily-lts-gen2  Canonical:0001-com-ubuntu-server-focal-daily:20_04-daily-lts-gen2:20.04.202101120  20.04.202101120  
0001-com-ubuntu-server-focal-daily  Canonical    20_04-daily-lts-gen2  Canonical:0001-com-ubuntu-server-focal-daily:20_04-daily-lts-gen2:20.04.202101140  20.04.202101140  
0001-com-ubuntu-server-focal-daily  Canonical    20_04-daily-lts-gen2  Canonical:0001-com-ubuntu-server-focal-daily:20_04-daily-lts-gen2:20.04.202101180  20.04.202101180  

If you are wondering what is the root cause of this change, I have an answer for you:

We need to separate out our different releases into different offers, hence having them all distinct and then the numbering is because you can't delete or fully replace them so if publishing is stuck on 1 vm image in 1 listing, you cannot update any other vm image in that listing.

comments powered by Disqus