Given that DreamCompute accrues usage costs anytime an instance exists, even if it is suspended or shutdown, it would often be nice to be able to:
launch an instance
do work on that instance
shutdown the instance
create a snapshot while it is shutdown
terminate that instance
launch a new instance at some later time from the snapshot
The GUI supports doing all of that easily and I would expect that’s a common pattern and reason for having snapshots. However, I’ve been unable to access the second instance that is booted from the snapshot. At least not from SSH. I can access it from the web console.
I believe it’s because the instance network configuration is configured with a static IP, which is then the wrong IP when the new instance is launched.
I’m wondering if/how others are dealing with this? I’m sure it’s possible to modify the network configuration manually via the console in the new instance, and maybe even possible to do it automatically via some sort of boot script. (Although I haven’t yet been able to get either approach to work myself yet.)
It seems like there should be an easier way to launch new instances from snapshots and have them just work though. Ideas? Am I missing something?
In case it matters, I’ve been launching instances from the Ubuntu 16.04 images.