3 ms·
When starting this project I thought the same thing, but having done it I honestly cannot tell that much of a difference. Yes, there are two more steps in setti
by llogiq 3y ago
When starting this project I thought the same thing, but having done it I honestly cannot tell that much of a difference. Yes, there are two more steps in setting up the Lambda function, but in the end you still write an HTTP server and have them serve it.
- rcme 3y agoWhen using an EC2 instance, testing, deployment, and adding new endpoints are all simpler.
- zeroCalories 3y agoI agree on testing and dev, but for deployment I think stuff like elastic beanstalk or app engine strike a good balance. Almost never run pure EC2.
- rajamaka 3y agoEasier for you* I've done both for years now and I find developing, deploying, testing lambdas much simpler.
- tobilg 3y agoUsing a decent IaC framework such as Serverless Framework or the CDK instead of the AWS CLI would make the deployment pretty easy.
- llogiq 3y agoI also found while writing the article but after I had already done my research that cargo-lambda has grown some additional functionality that could have removed the need for the AWS CLI, but I wanted to get the article out, so I didn't test-drive that.