Hacker News new | past | comments | ask | show | jobs | submit login

Can you keep your spot instance up 24/7?



No, spot instances can be shut down anytime you are outbid.


However, they can be great to help fill out your server cluster with things that don't always need to stay up (like Mongel servers). Buy some reserved instances, then put out several spot bids as well for things you can load balance to.


That said, keep in mind that if you need to keep at least one instance up, you need to put them in multiple availability zones, or vary the max spot prices - if there's a load spike that leads to your spot instances being terminated, it'll likely hit all of the spot instances at a given price in the same AZ.


If you keep your offer high enough, you can keep spot instances running 24/7, unless there's no offers at all.


There was a bug a while ago that it would occasionally kill them, even if you were well above all spot prices.


I've had 2 spot instances up for over 6 months. My bid price for those instances is the on-demand price.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: