10.7 Lambda Pricing: Requests and GB-Seconds
Alright, let’s talk money. Or, more accurately, let’s talk about how AWS decides to bill you for the privilege of running your brilliant little snippets of code. It’s a surprisingly elegant model, but if you don’t understand its moving parts, you can get a nasty surprise on your monthly bill. It’s not magic; it’s just math. Let’s break it down so you’re the one in control. AWS charges you for two things, and two things only: the number of times your function is invoked, and the total compute time it consumes. That’s it. No hourly fees for idle time, no complex licensing. You pay for the electrons as they spin.