by tbrock · 7y ago · 0 comments
I actually really like ECS and aware of how much time it would save me (a lot) and how much terraform I could delete (a ton) and it’s still not even close to worth it.
Amazon usually nails this sort of thing, surprising that despite the operational value it provides nobody seems to be using it.
Still, I'm with you. I use Fargate for my open source project but I fully expect teams using it to eventually move to EC2 and manage the cluster directly in order to save money. It is easily, by far, the most expensive part of my pipeline.
The problem with AWS (or any cloud provider) is that nobody can create its own cloud services. See the case of Mongo DB.
AWS is a closed source platform, which can be extended only by Amazon.
This will be more evident once more operators will be created for kuberentes.
My Fargate cluster runs DGraph, an open source database, which my clients connect to the same way they would if it were on EC2.
It's basically logging in to ECR and triggering an ECS service update (2 API calls).
I voluntarily keep out the networking and IAM parts out, as I believe they are also needed for a Kubernetes cluster.
What I don't get is that many people seem to think that they are lock-in free just by choosing Kubernetes. But:
1. Kubernetes itself is a very, very opinionated piece of software. You are not free, you have to go the Kubernetes way.
2. The overhead of learning and maintaining Kubernetes is real, compared to a more managed solution like Fargate.
3. If you use Kubernetes, you still have to set up the underlying infrastructure. This infra is still vendor specific. If you go for a managed Kubernetes like GKE or EKS, you still have to deal with a vendor-specific API.
I also fail to see how Fargate locks you in: as you say, it's just docker and DNS, with a sprinkle of environment variables if you use it with SSM Parameter Store.
Keep in mind, this doesn't make it bad or impossible to move out. Just more work. That all being said, I still like Fargate even with it tying me to using AWS. I think the pros out-weight the cons.
That’s just like all of the software developers using the repository pattern just in case their CTO decides to move from their six figure Oracle installation to Postgres.
The cost of moving away from your chosen vendor is usually not worth the cost, doesn’t have the ROI, and not worth the business risks of regressions.
First thanks for the feedback. We are listening closely and feedback (critical or otherwise) really helps us focus on what to build.
We think of Fargate as simplicity, without compromising on capability. We don’t want price to be a barrier for customers to realize simpler operations models. We are thinking through additional pricing options for customers. We use open source where it matters for our customers and partners. For instance, we recently launched a new capability called FireLens (in preview) that uses Fluentd and Fluent Bit to help partners use a standard codebase and to help developers realize cost savings on logs.
WRT lock in comments on this thread, I was a startup product manager in my past life. What really mattered to us was speed of execution and keeping our costs in control. Choose a product that helps you realize those goals (if they resonate with you), whether it is Kubernetes or ECS/Fargate.
From a cloud provider PoV, Fargate is a very hard problem - like Lambda except harder because the container might need to run forever.