Hacker News new | past | comments | ask | show | jobs | submit login

Why would you use " Terraform + Packer + EC2 vs ECS + Docker + Fargate" if you can just use AWS Lambda?



Because it's never just Lambda. It's the toolchain you use for deployment and orchestration, routing, etc. (eg, "Serverless Framework + Lambda + API Gateway")


Well 'serverless framework' really is just node.js or java. That's likely going to be used anyhow.

Lambda itself doesn't really take maintenance.

Routing can be done in the app, you only need one - or a small number of 'endpoints' so messing with API gateway can be minimized.

You can run any sized app with a single API Gateway endpoint, and a single lambda, on a simple node.js setup.

I can't see any reason to use containers on EC2 or containers on Amazon's container service until an app gains quite a degree of sophistication.


CloudFormation, API gateway, AIM, Secret Manager. Production application requires much more than just a lambda. It is better to start from something more structured than shell scripts.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: