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

2 Answers 2

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.

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.