aws

http://status.aws.amazon.com/ https://www.expeditedssl.com/aws-in-plain-english
indy 2021-05-29T09:24:06.017Z

Has anyone migrated from AWS EC2 + Kubernetes to AWS Fargate + Kubernetes? Any pros and cons of doing this? The goal is to reduce costs.

futuro 2021-06-01T19:10:11.019300Z

One potential con, depending on your workload, is that Fargate has more restrictive cpu/memory limits. So if you need more than 8 vCPUs per container, Fargate may be a bad fit.

futuro 2021-06-01T19:10:27.019900Z

That said, the savings in time may allow you to rework your code to need less cpu.

kenny 2021-06-01T19:13:47.020300Z

4 vcpu 🙂

futuro 2021-06-01T19:14:08.020800Z

Haha, whoops! Thanks Kenny!

kenny 2021-06-01T19:36:52.021700Z

It’s be great to have 8. When you said that I got excited since we’d love more vcpu per node.

lukasz 2021-06-01T19:56:48.021900Z

I've recently run into this... but yes - refactoring code and fixing hotspots quickly addressed that

indy 2021-06-01T20:15:47.026Z

Thanks for the input, all. I think I’ll let the Fargate idea pass since we have been running with a decent setup of EKS + EC2 + Chef + Terraform and the cost savings might only be marginal if any.

kenny 2021-06-02T00:12:06.027Z

Yeah, the cost savings with Fargate typically comes by freeing up eng resources to work on product instead of infra.

lukasz 2021-06-02T13:45:55.038900Z

Absolutely, I went from part time managing our EC2 fleet to not worrying about it at all, after we solidified our setup and created Terraform modules for everything

lukasz 2021-05-29T19:53:13.017100Z

Best to check pricing but EC2 is always going to be cheaper than Fargate, but it involves more management and prep. We're running all workloads on ECS+Fargate, but not because of the direct cost, but because it cuts human cost required in managing everything.

kenny 2021-05-29T21:37:26.017300Z

We switched from EKS to ECS Fargate. Far less overhead with Fargate.