4 ms·
Any chance you can share the adapted scripts? I assume they are easy to make, but the less barriers to entry the better.
by Tenoke 10y ago
Any chance you can share the adapted scripts? I assume they are easy to make, but the less barriers to entry the better.
- rahimnathwani 10y agoSure: 1) Create the instance the first time: https://gist.github.com/rahimnathwani/40ed3b6f496d377e3d17de4a82393520 https://gist.github.com/rahimnathwani/40ed3b6f496d377e3d17de... 2) SSH into the instance and run this script (replace anaconda mirror if your instance isn't in Asia, and definitely set the password hash): https://gist.github.com/rahimnathwani/b63ebc5900b832743d9e22324543c04f https://gist.github.com/rahimnathwani/b63ebc5900b832743d9e22... 3) After you've tested the server, snapshot the disk (using the web console) and destroy the instance and the persistent disk. 4) Run this script to recreate the instance and disk from the snapshot (replace with your snapshot name): https://gist.github.com/rahimnathwani/9019df33d4ad7ec4607413fd0a29c207 https://gist.github.com/rahimnathwani/9019df33d4ad7ec4607413...