https://cloud.google.com/solutions/image-management-best-practices isn't helpful.
Should I recreate infrastructure from new images or sudo apt dist-upgrade
?
https://cloud.google.com/solutions/image-management-best-practices isn't helpful.
Should I recreate infrastructure from new images or sudo apt dist-upgrade
?
If your images are Linux based the answer is: you can use
sudo apt dist-upgrade
.Check https://cloud.google.com/compute/docs/images#debian for description what Google's engineers are altered in Debian.
All alterations are done via packages
google-compute-engine
&python-google-compute-engine
those are preinstalled and available via/etc/apt/sources.list.d/google-cloud.list
:Before
dist-upgrade
you need to alter/etc/apt/sources.list
and/etc/apt/sources.list.d/google-cloud.list
and change occurrences ofstretch
tobuster
.With kernel updates you need to reboot VM.