this post was submitted on 02 Aug 2023
934 points (99.2% liked)

196

16867 readers
3007 users here now

Be sure to follow the rule before you head out.

Rule: You must post before you leave.

^other^ ^rules^

founded 2 years ago
MODERATORS
 

I’d like to thank the admins for being so open and direct about the issues that they’re facing.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 60 points 2 years ago (16 children)

This. AWS architect here. There are a lot of ways to reduce pricing in AWS like horizontal scaling, serverless functions, reserved instances. Most people aren't aware of it and if you're going to dive in head first into something like cloud, you'll need to bear the consequences and then learn eventually.

[–] [email protected] 10 points 2 years ago (4 children)

Yep. And if you want to really save some cash and don't mind getting a little crazy, use an EKS node orchestrator that supports spot instances. I'm starting to do a serious dive into Harness at the moment actually.

Google recently released a white paper on cost saving in kubernetes as well.

[–] [email protected] 3 points 2 years ago (2 children)

If you've got a kubernetes cluster running on 10 different spot instances, isn't there a risk that all ten could be revoked at the same time? Even if they are built out across regions and availability zones?

[–] Phoenixbouncing 1 points 2 years ago

Got my AWS architect cert 2 weeks ago.

What you can do is setup a spot fleet so it'll fill up with spots and only use on-demand if spot goes above the on demand price.

You could also have a pure spot fleet and a reserved instance and use a load balancer with health checks to route traffic.

The one thing you shouldn't do with cloud providers is lift and shift your existing instances, that's what leads to the crazy prices some people are seeing.

Renting an ec2 on demande and installing your software is almost always the wrong way to do it.

load more comments (1 replies)
load more comments (2 replies)
load more comments (13 replies)