Hacker News new | ask | show | jobs
by derefr 2939 days ago
And plenty of startups that choose between AWS and GCP at a point when those numbers are plenty distinguishable, even though later on they'll become those organizations.
1 comments

And they will all die pretty quickly for running their infrastructure on a pre emptible instance to save a few dollars.

By the way, startups get $100k free credits on each of the major clouds.

You can afford ~5 preemptible instances for the cost of one full-time instance. I think you are severely overestimating the harm that is done by preempting/terminating instances in a prod Kubernetes cluster that is capably configured for full HA and distributed across zones. That's what it's made for – nodes are as disposable as pods. They may come and go as they please, and they'll be replaced as needed by the self-healing nature of the cluster and the scaling group.

(Why save a few dollars when you can get extra capacity instead? Especially when you have $100k of someone else's money to burn... so, for real though, anyone who has actually tried this configuration can chime in and confirm that it works as well as I imagine.)

I'm pretty sure that periodically shutting down some nodes is a boon for cluster utilization, too. One of the things that Kubernetes does not do on its own, is load rebalancing. You can configure the autoscaler to recognize when nodes are overprovisioned, and let it drain a few and shut them down... or you can let the preemptible nature of (some/all of your) nodes do it for you.

(Why not both? Some nodes are getting killed, or you're paying for resources you don't use, so... one way or another.)

Your message obviously implies that you have no experience with what you are suggesting, hence why you don't realize the downsides.
"No experience" is a stretch. I'll concede, no significant Prod experience to speak of.

I got introduced to the Kubernetes ecosystem when Deis Workflow was rebuilt for it. Today, I'm a core contributor on the team that is building the fork of that project.

(It is a side thing for me. I'm very interested but I'm not spending hundreds on infrastructure every month. I have an infrastructure team at $dayJob, and they are not doing K8S at all, if you are having a hard time understanding how exactly I got here.)

You can mix & match preemtibles with normal VMs in a cluster. Aka 10% of your cluster's nodes can be preemtible, and 90% normal VMs.

This is great cost cutting measure for services where loosing some percentage of compute only induces lag vs taking down the whole service.

How? How can I get that free $100k credit
Here's the scoop[1]

It sounds like you must have taken some investment to qualify. But I believe my friend received the credit, and I have no idea if his business has received any investments or participates in any accelerator program.

It is a program (several different programs actually), you apply for it. This looks like a good place to start.[2]

If you don't think you qualify after reading that, might be worth talking to Arun Gupta anyway. He is the Principal Open Source Technologist. He was all over the Reddit thread answering questions about EKS today.[3] Super classy.

It looks like they offer $1000-$100000 depending on how fast you want to spend it and what stage you're at.[4] "AWS Activate - Portfolio Plus" is the program talked about, that offers $100k credit that expires in a year. If you don't qualify for that, you probably qualify for either the $1000 or the $15000.

[1]: https://www.quora.com/How-can-I-get-100-000-credit-on-Amazon...

[2]: https://aws.amazon.com/startups/

[3]: https://www.reddit.com/r/aws/comments/8osr8c/amazon_eks_is_n...

[4]: https://aws.amazon.com/activate/