Re:Serverless LAMP stack
by Pfhreak on Sunday June 14, 2020 @04:45PM
(#23521201)
Have they figured out how to make API Gateway not cost an arm and a leg yet? I absolutely adore Lambda for side projects, but every time I wire up API Gateway I'm worried I'm going to saddle myself with a huge bill.
[ Parent
| on HN ]
Re:Serverless LAMP stack
by asymptotic on Sunday June 14, 2020 @05:43PM
(#23521638)
API Gateway came out with a cheaper variant (called HTTP APIs, admittedly a poor name) that is $1 per 300 million requests (114 requests per second for a month): https://aws.amazon.com/api-gateway/pricing/
You can also hook up an Application Load Balancer to Lambdas if that works for you: https://aws.amazon.com/elasticloadbalancing/pricing/
That's $1/million requests for the first 300m requests each month, not $1/300m requests.
It still increases the cost of running Lambda a whole lot, but that seems pretty reasonable for the projects I'm running.
Re:Serverless LAMP stack
by asymptotic on Monday June 15, 2020 @01:20AM
(#23524045)
You are correct, I misread this.
I haven't compared API Gateway to other services.
Looks like it costs $1 per 1 million HTTP calls. That does not sound very costly if you are talking about just side projects which may not generate close to a million requests?