What Is a Gb Second Lambda

AWS Lambda measures your usage time with a metric called GB-second. Every month you are given 1M free requests, and 400.000 GB-seconds. GB-seconds are the number of seconds your function runs for, multiplied by the amount of RAM memory consumed.

What is per GB second?

gigabyte per second (GB/s) (can be abbreviated as GBps) is a unit of data transfer rate equal to: 8,000,000,000 bits per second. 1,000,000,000 bytes per second.

How do you calculate GBS per second?

So if your code uses 1 GB for 1 minute then 2 GB for two minutes, the accumulated memory usage is 1*60 + 2*120 = 300 GByte seconds. The Gigabyte-second unit specifies the amount of memory allocated to a task per second that that task runs. Example: Task 1: 1 GB * 10 seconds = 10 gb-sec.

James H. Sterling

James H. Sterling

Environmental Science & Climate Journalist

James Sterling reports on renewable energy developments, climate policy, ecological conservation, and green tech innovations around the globe.

Share this article
Twitter Facebook Pinterest