Is it safe to execute "sudo reboot" on a Google Compute Engine instance?

Solution 1:

There’s nothing different in running sudo reboot in a instance versus on your own server. This action shouldn't cause any problems.

Solution 2:

I believe the author was worried if the disk is persistent or not. Yes you can shutdown/start/reboot the instance and your data will persist.