Live data from Hacker News

Persisting state between AWS EC2 spot instances

peteris.rocks

11–20 of 80 posts

Re: Persisting state between AWS EC2 spot instances

#12
post #8

If you don't care about reliability, why not just get a cheap and powerful VPS? Paying $90/month for that machine is madness. I pay $6/month for 6GB RAM, 4 cores, 50GB disk.

Where? I'm using Digital Ocean and it'd be way more expensive for that kind of configuration.

Digital Ocean is still a premium provider.

I would look at providers like OVH and even cheaper (Treudler, TransIP, RamNode, etc.) For example, an SSD with 2 vCPUs, 8GB RAM and 40GB SSD is 13.49$ per month from OVH.

Re: Persisting state between AWS EC2 spot instances

#13
post #8

If you don't care about reliability, why not just get a cheap and powerful VPS? Paying $90/month for that machine is madness. I pay $6/month for 6GB RAM, 4 cores, 50GB disk.

Where? I'm using Digital Ocean and it'd be way more expensive for that kind of configuration.

Here’s a list of providers by cost:

https://git.io/vps

(PS: Don’t use DigitalOcean, they tend to steal your credit if they feel like it. Lost 100 bucks "promotional credit" that way with only a few days notice)

Re: Persisting state between AWS EC2 spot instances

#14
post #13
post #8

Earlier quoted context omitted.

Where? I'm using Digital Ocean and it'd be way more expensive for that kind of configuration.

Here’s a list of providers by cost: https://git.io/vps (PS: Don’t use DigitalOcean, they tend to steal your credit if they feel like it. Lost 100 bucks "promotional credit" that way with only a few days notice)

They expired some credits that I haven't used but after asking they just restored them and I could use them. Asking helps.

Re: Persisting state between AWS EC2 spot instances

#17
Even if you don't use spot instances, the technique of using separate EBS volumes to hold state is useful (and well-known). Ordinary on-demand instances can also be terminated prematurely due to hardware failure or other issues, so storing state on a non-root volume should be considered a best current practice for any instance type.

Re: Persisting state between AWS EC2 spot instances

#18
post #14
post #13

Earlier quoted context omitted.

Here’s a list of providers by cost: https://git.io/vps (PS: Don’t use DigitalOcean, they tend to steal your credit if they feel like it. Lost 100 bucks "promotional credit" that way with only a few days notice)

They expired some credits that I haven't used but after asking they just restored them and I could use them. Asking helps.

Asking is not a solution.

This is a question of trust. I have to trust that DO will keep my data safe, that, if the US government would be after my data, DO would prevent them from accessing it. I have to trust that DO won’t access my data.

How am I supposed to trust my, and my user’s personally identifying data, to a company that just like that revokes credit, without warning, and says "well, if you ask nicely, you can get it back"?

Re: Persisting state between AWS EC2 spot instances

#19

If you don't care about reliability, why not just get a cheap and powerful VPS? Paying $90/month for that machine is madness. I pay $6/month for 6GB RAM, 4 cores, 50GB disk.

If you don't care about reliability, why not just get a cheap and powerful VPS?

Personally, because my needs aren't constant. I might need two cores for two months followed by 100 cores for a week.

Re: Persisting state between AWS EC2 spot instances

#20
post #10
post #7

Earlier quoted context omitted.

where are you getting that for $6?

Not quite $6, but close: https://www.scaleway.com/pricing/

If you don't need any connection scaleway is a good option, since they tend to absolutely not care about their network quality and reliability at all.
Post reply on HN