Is it possible? Official manual consists this:
Deterministic instance templates
- Use custom images or disk snapshots rather than startup scripts.
But no more info how can I do this. Maybe someone have already did that? Tnx in advance.
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.
It's possible. Here's the process:
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.
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!