2

How do I create a new GCE instance and not have it start up after creation?

I want to create a clone of a running instance.

No problem to create the disk from a snapshot, but creating the new instance automatically runs it and I don't see a way to stop it from doing that.

1

Sadly we don't have feature to create VM instance without running it immediately. The best you can do is to add shutdown command to your startup script.

0

According to GCE Instance Life Cycle, after PROVISIONING and STAGING states instance always enters into RUNNING state, so there are no way to create stopped instance in TERMINATED state after PROVISIONING and STAGING states.

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.