Slackbot
12/26/2022, 5:10 PMKenneth Mroz
12/26/2022, 5:11 PMAsaf Erlich
12/26/2022, 5:46 PMVitor Costa
12/26/2022, 5:58 PM.tfvars
files.Vitor Costa
12/26/2022, 5:58 PMpublic = true
would create the DNS record, register the load balancer rules, etc. Also, I don't like CloudFormation so I am running away from it.Kenneth Mroz
12/26/2022, 6:01 PMRic McLaughlin
12/26/2022, 6:17 PMAsaf Erlich
12/26/2022, 6:56 PM@Asaf Erlich any specific reason for moving off it? The container image is changed in a CD pipeline. I was thinking about giving them simple YAML files that have the values for any IaC tool to use. Something like public = true would create the DNS record, register the load balancer rules, etc. Also, I don't like CloudFormation so I am running away from it.
We are moving everyone to EKS / Kubernetes. There are a lot of reasons for this choice: 1. Much more public documentation for Kubernetes over ECS. 2. A developer is much more likely to have used it before and be familiar with how to use it on day 1. 3. As you hinted asking new engineers to run kubectl apply is less overhead than teaching them terraform or cloud formation. 4. There is a much bigger ecosystem around Kubernetes. Everything from services automatically creating load balancers to service mesh solutions. 5. Kubernetes is designed to be more extensible. You can create plugins on top of kubectl to abstract things like auth and cluster discovery. There exist custom resources to manage aws resource creation for people. 6. Open source tools like Argo CD exist to manage gitops deployment for users. There's just a much bigger menu of open source solutions off the shelf to build on top of.
Asaf Erlich
12/26/2022, 6:57 PMVitor Costa
12/26/2022, 7:11 PMRic McLaughlin
12/26/2022, 8:11 PMThe CDK doesn’t abstract ECS clusters, services, load balancers, listener rules, etc. The platform team would still need to write code to reduce the cognitive load on the developers. Also, everything I’d do with the CDK I could achieve building Terraform modulesUsing CDK you definitely could extend the L2 ECS constructs to do this and it’s common practice - really like this blog article on how to get that done: https://aws.amazon.com/blogs/containers/general-availability-amazon-ecs-service-extensions-for-aws-cdk/
I am not sure yet about using a CDK, even though I know it’s amazing, but so is Terraform.Agreed Terraform is great; that said, it’s a new language to learn and doesn’t enjoy the deployment safety features present in CFN/CDK. That doesn’t mean CFN is frustration free… 🙂
…Kubernetes management is complex, and our applications are pretty simple. I think ECS is adding more complexity than Kubernetes would because it doesn’t have this unique ecosystem and its extensibility.💯 agree with this and it’s the key to developer productivity. High level I’d approach it like: Lambda is less complex than Fargate which is less complex than EC2 which is less complex than Kubernetes (EKS). And the less complex the environment is, the more developers are happy and productive.
Hutger Hauer
12/26/2022, 8:55 PMVitor Costa
12/27/2022, 12:50 PM.tfvars
to the developers. As soon as it is stable, we can start thinking about Kubernetes and its ecosystem. I am also prioritising the tools that will help with this migration. Thanks, everyone, for the insights! Amazing community.Ravi Kotecha
12/27/2022, 12:58 PMMaciej Raszplewicz
12/27/2022, 4:01 PMRomaric Philogène
12/27/2022, 11:09 PMNeil Millard
12/28/2022, 9:29 AMBradley Sickles
12/28/2022, 8:15 PMShawn Tolidano
02/20/2023, 2:16 PM