6 quick ways to cut cost on your Lambdas

  • You get one million invocations for free and 3.2M seconds of compute time, every month.
  • You only pay for the invocations you use on top of those.
  • For every individual invocation, you pay $0.0000002 but it’s important to note that duration plays an important factor too as you’ll have to pay about $0.0000166667 for every Gb/s after that.

How to keep Lambda costs down?

Reducing cold starts impact

Use a runtime that boots up fast

Use HTTP calls instead of HTTPS

Bump up the memory limit

Downgrade the memory of your functions

Decrease Lambda execution time

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store