Ran Isenberg
1 min readJul 26, 2024

--

Hi, I have to admit I don't fully understand your comment.

I think you missed my point, it's not one tool is better than the other, it's choose the correct tool for the job that fits your requirements and constraints.

As for cost and security:

Lambda is cheaper (very!) than Fargate and ECS until you reach very high scale/ constant predictable traffic where it shifts.

Security - it's up to you to configure and you the resources properly (shared responsibility model). It's so much more complicated to secure a Fargate ECS cluster than Lambda which doesnt even require a VPC.

I know so because I did both and I have a blog post coming up with full code examples :)

As for deployment time - Fargate takes a lot of time to create tasks, there's health checks etc, going on and setting up the cluster takes dozen of minutes. Lambda is so much quicker.

I haven't tried Vercel, so can't comment.

As for the deployment process, I'm not sure I understand that comment, you can have long CI/CD pipelines due to numerous reasons, long tests , canary deployments, mono repos with too many resources to test, etc.

--

--

Ran Isenberg
Ran Isenberg

Written by Ran Isenberg

AWS Serverless Hero | Principal Software Architect | ranthebuilder.cloud

Responses (1)