by airocker · 7y ago · 0 comments
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.
Yes, Farage does add the serverless features over EC2. However, you are in AWS ecosystem.
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 believe Kubernetes stack is more intuitive than any AWS (or GC or Azure) software. The open source approach will spur innovation that will outclass Fargate by miles. Fargate provides single instances, you would need networks/routes/Load balancers/auto scalers to make anything meaningful. I bet they will all be provided as AWS way of doing the same if Fargate gets any traction.
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.