1 Answers
[SOLVED]
If VM is still running, use shell script below to stop:
gcloud compute instances stop [vm name]
Run script below to confirm vm has stopped:
gcloud compute instances list
Run script below to modify machine type of vm:
gcloud compute instances set-machine-type [vm name] –zone=[xone name] –machine-type=[new machine-type]
Remember to start vm instance using gcloud compute instances start [vm name]