4 ms·
Doesn't lambda have hundreds of thousands of requests for free? Also, the convenience of lambda counts for a lot: no set up or maintenance.
by colinramsay 10y ago
Doesn't lambda have hundreds of thousands of requests for free? Also, the convenience of lambda counts for a lot: no set up or maintenance.
- falcolas 10y agoNo set up except for the API gateway interface and the lambda function itself, as well as any IAM roles or policies you want to put in place. No maintenance except for watching for throttling by AWS, watching your billing to ensure it doesn't go out of control, watching for API Gateway errors.
- nkozyra 10y agoThe latter can be setup as part of Cloudwatch, though.
- falcolas 10y agoPlease forgive me the following: Hey, more setup! Theoretically, you could also do the entire setup via Cloud Formation; but you can also do the same with EC2 instances and ECS. What would I do instead? Set up a 1-n member autoscaling group, with rules to scale on load. Set up an ECS service which auto scales on load. Set up an ELB attached to the ECS service. Not as fancy as Lambda and AWS Gateway, but it will probably scale better, at a lower peak cost (at the expense of an up front cost of one server).
- nilved 10y agoAre you talking about AWS Lambda, or some other Lambda that is convenient? I have never seen "AWS Lambda" and "convenient" in the same sentence. Even the people who like AWS Lambda say it's complicated.