My $0.10: think about how much you need to run in other clouds or on-premise deployments, and how many people you have to support it. If you don’t have a portability requirement or a fairly-large ops team, I would use the cloud provider’s managed services as much as possible: ECS + ALB/RDS/S3/EFS/etc. is explicitly trading some level of portability for reduced demands on your team.
I also typically recommend Fargate in that scenario for either EKS or ECS: the easiest server to manage is the one you don’t. This goes double if you have any sort of compliance requirements where reducing the number of servers you are responsible for saves you overhead time which might not be immediately obvious.
If you do have a need for portability or are approaching the time where you can potentially save more money than you’re spending on ops, EKS is a good option for Kubernetes while taking advantage of platform services where possible. For example, I know a lot of people like using RDS even with a k8s deployment because building & managing databases is a job in in its own right and SQL databases are highly portable so you can use RDS on AWS and CloudSQL on GCP with minimal hassle; S3 is similar, but something like DynamoDB is more of a red flag.
EKS or kub specifically has a larger eco system with more 3rd party solutions built on it. So if you want to run 3rd party apps kub might be better. Also if you want compatibility across providers such as AWS, Google. Vmware, Azure then kub has that play. However most app services still want to leverage platform services such as ddb, kinesis, etc. So if you’re already heavily invested in AWS, and the majority of work is home grown, then I prefer ECS as its just easier and works wonderfully.
You touch on the other point I think is often left out of these discussions: for most apps, the infrastructure-level work is certainly important but it’s usually not the majority of the work — I have a bunch of apps in ECS and if I had to deploy them in EKS or GKE it wouldn’t be more than a sprint since the apps just don’t need to know much about what’s running their containers.
Yeah, the care and feeding of K8S is expensive. Too many startups start from “well this brand new app with zero users NEEDS Kubernetes.” It doesn’t. It might not ever. When you do need it, it’s incredibly powerful, but too many times people choose really complex infra that they’re nowhere near needing. Instead, invest the time in making your app cloud friendly and then the underlying infra structure becomes easy to change when you’re ready to change it.
Oh yah multicloud as in “we operate across clouds” I think is silly. But as an engineer being ‘multicloud’ with k8s meaning that you can easily shift jobs between those providers because the core of your work is in kubernetes and is fairly standardized, is huge.
Got you. Secrets and the other services work great though. We use ECS in one of our large scale production products. We use EKS on other stuff. I think it’s ok.
I ask ppl to deploy serverless where we can. 99% of the time, serverless does the job fine, and containers got deployed for a something specific (long-running, stateful, etc)
I don’t disagree when painting in wide brush strokes about multicloud, but here’s an interesting real life example of it: China. If you deal with Chinese customers, you will likely be pushed into supporting those customers from a Chinese cloud vendor. This is something I have been seeing more and more of.
This is an overlooked cost - I’d estimate for a normal company using K8s places 1 in 5 engineering FTEs solely on K8s duties - absent from other cloud duties at all.
Seriously, use ECS. It’s easier to use, understand, support and there really isn’t much that it can’t do.
It’s a valid concern (although in that case AWS’ China regions should suffice). In general my advice would be to wait until you know exactly what you’re looking at before making plans which cost you money/time upfront.
How many disasters have you seen where AWS lost multiple regions? Now weigh that risk against both doubling your base costs (e.g. you need all of your storage & enough servers to bootstrap even if you trust autoscaling to pick up your failover on demand), needing to duplicate your security & ops training, restricting your use of features which aren’t highly-similar across providers, and especially the likelihood of problems caused by one of the services you’re using to do multi-provider replication/failover or which you’re running yourself because it’s not available from >1 provider.
It certainly is possible to do but I’ve heard more people give up on the approach than recommend it, even if they actually could afford the true cost.
I just ran containers in ECS then my group wanted to do complex stuff so everyone thought eks would be a good idea. I then proceed to push the bounds of the setup to be more and more cool and now we are nominated to collaborate with the cloud team to provide a k8s offering for the entire company to be tenants in. This man isn’t lieing it does become world domination.