Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I ran Minecraft on spot instances when we used to play in university, complete with automatic terraform+ansible provisioning and automatic saves/backups in S3. Never used Fargate but I doubt it can beat spot instance pricing. More than half my bill was network traffic.


The README points out that Fargate spot instances are an option: https://github.com/doctorray117/minecraft-ondemand#cost-brea...


Aren't spot instances and Fargate preempt-able at anytime by AWS and/or AWS can throttle your instance as the cpu cores are shared like in a VPS ?.

Do you just stop playing when it happens ?.


You can set it to automatically adjust the price so it doesn't get preempted. The price used to be essentially at a constant minimum (m4.medium/large) during the evening & night when we played, so even without that we never got preempted.


I'm afraid this isn't completely true. You can still be interrupted for capacity issues no matter what your bid is. It's quite rare on more common instance types, but becomes a problem if you have more than a few GPU or high memory type instances.


I don’t think I’ve ever had my instances taken out from under me when I set the max price to the same amount as a normal instance.

That said, when we exceed capacity we cannot boot any more instances, that’s definitely true.


I thought this was true, but I have had spot instances go away even when going above reserved instance pricing.


Just don’t plan on playing in Black Friday when every box on AWS is tied up by one retailer or another.


They changed that a few years ago. It used to be the price would spike when they needed the capacity, oftentimes going higher than On Demand pricing. Now the price adjusts gradually, if at all, and they'll terminate instances regardless of bid price.


Not op or linked post, but AWS sends a message N minutes before it shuts you down.

You just turn that msg into a in-game countdown.

I always wanted to go after an auto-switch style system but never got that far.




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

Search: