By using AWS re:Post, you agree to the Terms of Use

Lambda memory billing

0

Hello,

I've been researching for a while exactly how the billing of memory works but I could not find a solid answer to my question.

Here is my case: A function takes 1s to execute, has maximum allocated memory of 512mb but uses only 256mb of memory.

Will I be billed for the actual usage of memory (256mb) or the maximum allocated memory (512mb)?

Edited by: Matey on Sep 6, 2019 1:30 PM

asked 3 years ago21 views
1 Answer
0
Accepted Answer

Billing is based on memory configured. So in your example, the calculation would be based on 512 MB.

answered 3 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions