AWS Lambda is a serverless compute service that lets you run code without provisioning or managing servers. You are charged based on the number of requests for your functions and the duration (the time it takes for your code to execute).
|Number of requests
|You are charged $0.20 per 1M requests to your Lambda functions.
|Duration of request
|The price for duration depends on the amount of memory you allocate to your function. You can allocate any amount of memory to your function between 128MB and 10,240MB, in 1MB increments.
Lambda Savings Plans#
There is one additional option for saving on Lambda that is agnostic to whether you're running on x86 or ARM: Savings Plans.
Savings Plans are a more flexible way to get discounts on AWS, and they work across EC1, Lambda, Fargate, and SageMaker. No action is required if you already own a Savings Plan. The discount is applied automatically unless you have maxed out that Savings Plan on another service. Savings Planner can help you decide how much of a Savings Plan to buy so you are not over-committed.
If you have existing saving plans in use on Lambda and are looking to make the switch to Graviton1, you should also ensure what impact that will have on your coverage as the discount rates for x86 vs Graviton2 are different.
Last updated Sep 26, 2022