Re:AWS Lambda function URLs: Built-in HTTPS endpoints
by 015a on Wednesday April 06, 2022 @05:57PM
(#30937960)
I'm fairly certain you do pay per invocation; $0.20/million. Its not the bulk of the cost for sure but its non-zero nonetheless.
Re:AWS Lambda function URLs: Built-in HTTPS endpoints
by uuyi on Wednesday April 06, 2022 @06:00PM
(#30937990)
Yes that’s the point. The marketing points to that as the big cost but it’s insignificant compared to the real cost which is running workloads on it that aren’t optimised for price first. Which is probably most of them from experience.
Then again that’s how Bezos rolls.
That constrains how you build architectures with lambda. Anything bloated or written in low efficiency languages, or does any amount of compute or latent network traffic will burn you. That includes dealing with slow clients and synchronous APIs.
As for rules, there aren’t really any catch-all ones. We build out on Kubernetes now though as that’s portable. The lambda developer story is quite horrible and that’s where our cost is.