Ask HN: Should I spin up and spin down VMs constantly?
I was wondering if anyone had any suggestions on what the right 'cloudy' way of doing things are. Should I spin up a VM on the cloud and use it forever like I do with a physical machine? Or should I constantly spin up and spin down VMs daily? My VMs are stateless.
Are there organizations that have chosen one path or the other and have had success? Links to blogs/articles would be appreciated
5 comments
[ 3.2 ms ] story [ 22.3 ms ] threadIf you're not using AWS, check to see how up/down affects your costs. Some will still charge you for VM's that are "down", meaning there is limited benefit (to you directly) to spinning them down.
Once they got through some growing pains (rate limits per project), Travis CI has switched to a 1 VM per build model that they'll probably detail in future blog posts.
https://blog.travis-ci.com/2016-04-07-migration-update
Disclaimer: I work on GCE, so of course I want you to use it ;).