4 ms·
I find AWS ECS with fargate to be a nice middle ground. You still have to deal with IAM, networking, etc. but once you get that sorted it’s quite easy to auto-s
by danenania 2y ago
I find AWS ECS with fargate to be a nice middle ground. You still have to deal with IAM, networking, etc. but once you get that sorted it’s quite easy to auto-scale a container and make it highly available.
I’ve used kubernetes as well in the past and it certainly can do the job, but ECS is my go-to currently for a new project. Kubernetes may be better for more complex scenarios, but for a new project or startup I think having a need for kubernetes vs. something simpler like ECS would tend to indicate questionable architecture choices.
- bastawhiz 2y agoI pretty strongly agree. Fargate is a great product, though it isn't quite perfect.
- wg0 2y agoECS is far, far far smoother, simpler and stable than anything else out there in cluster orchestration. It just works. Even with EC2 instances it just works. And if you opt for Fargate, then that's far more stable option. I am saying this after bootstrapping k8s and ECS both.
- Aeolun 2y agoThe only pain point there I think is auto scaling logic. But otherwise it’s painless.
- danenania 2y agoI find auto-scaling with fargate to be pretty straightforward. What's the pain point there for you?
- Aeolun 2y agoIt works, but the way it’s not part of fargate, and instead some combination of cloudwatch events and rules modifying the ‘desiredCount’ property on the service. Just feel like it could all be done in a slightly more integrated way.
- chihwei 2y agoGCP Cloud Run is even better, which you don't have to configure those networking stuff, just ship and run in production
- danenania 2y agoDoes Cloud Run give you a private network? While configuring it is annoying, I do want one for anything serious.
- subarctic 2y agoHow does it compare with fly.io? Last I checked, startup time is still in minutes instead of less than a second on fly, but I presume it's more reliable and you get that "nobody ever got fired for using AWS" effect
- dangus 2y agoFly.io is an unreliable piece of shit.
- danenania 2y agoFly is really cool and it's definitely an extremely quick way to get a container running in the cloud. I haven't used it in production so I can't speak to reliability, but for me the main thing that stops me from seriously considering it is the lack of an RDS equivalent that runs behind the firewall.
- hannofcart 2y ago+1 on this. ECS Fargate is great.