I need some help with Google cloud. I need a shell script for creating a current instance snapshot. I have researched and found some shell script which can create snapshots for all project instances, but I don't want to give access to another instances. Please help me!

Thanks in advance.


You can use the gcloud command "gcloud compute disks snapshot [disk_name]" to get a snapshot of a specific disk instead of all disks in a project.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.