Upgrade GCE from Debian 9 Stretch to Debian 10 Buster

Detaching and Reattaching GCE Boot Disks Previously, boot disks were permanently attached to their VM instances. Now you can detach boot disks from your instance. This feature simplifies the process for repairing boot disks by allowing you to mount them to another instance without deleting your original instance. Additionally, you can replace boot disks for an instance rather than recreate the entire VM instance.

debian.org doc: upgrading from debian 9 https://serverfault.com/questions/993081/policy-to-upgrade-os-images-in-google-gce?r=SearchResults https://cloud.google.com/compute/docs/images/install-guest-environment#update-guest https://groups.google.com/forum/#!searchin/gce-discussion/upgrade$20to$20debian$2010%7Csort:date Differences from standard debian images How to upgrade Debian linux distro, 8 jessie to 9 stretch ArsTechnica article on Debian 10 Migrate Persistence Disk from one project to another

Image Family 	      End mainstream support, deprecation date
Debian 9 (Stretch)    July 2020

Create a snapshot before upgrading, restore snapshot to new instance and try to upgrade it to Debian 10; if all looks good, update f1-micro

Restoring and deleting persistent disk snapshots | Create a VM instance from a snapshot |

$ sudo systemctl list-unit-files | grep google | grep enabled
google-accounts-daemon.service         enabled  
google-clock-skew-daemon.service       enabled  
google-instance-setup.service          enabled  
google-network-daemon.service          enabled  
google-shutdown-scripts.service        enabled  
google-startup-scripts.service         enabled  

thedevx@f1-micro:/var/www/html/tips$ apt list --installed | grep google-compute
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

google-compute-engine/google-compute-engine-stretch-stable,now 1:20190916.00-g2 all [installed]
google-compute-engine-oslogin/google-compute-engine-stretch-stable,now 1:20191014.00-g1+deb9 amd64 [installed,automatic]
python-google-compute-engine/google-compute-engine-stretch-stable,now 1:20191120.00-g1 all [installed]
python3-google-compute-engine/google-compute-engine-stretch-stable,now 1:20191120.00-g1 all [installed]

nftables Replaces iptables for Packet Filtering In Debian Buster the iptables subsystem is replaced by nftables, a newer packet filtering system with improved syntax, streamlined ipv4/ipv6 support, and built-in support for data sets such as dictionaries and maps. You can read a more detailed list of differences on the nftables wiki. Compatibility with existing iptables scripts is provided by the iptables-nft command. The nftables wiki also has advice on transitioning from iptables to nftables. [source]