Reputation: 2171
Is it possible? Official manual consists this:
Deterministic instance templates
But no more info how can I do this. Maybe someone have already did that? Tnx in advance.
Upvotes: 7
Views: 3772
Reputation: 697
I don't know whether it is anew feature, but you can simply replicate an instance by
It'll take a minute or so and the new instance will start-up, and that's all!
Upvotes: -1
Reputation: 2208
It's possible. Here's the process:
Upvotes: 7
Reputation: 1967
So my solution is following:
The startup scripts will run on instance boots up or restarts. So the only way I found to run it once is the same which you have tired i.e deleting them from metadata. In my setup when using startup scripts I don't reboot the instances I rather delete them and create a new ones if required.
Upvotes: 6