Conceptual
Login

Lambda Memory-CPU Allocation

Memory (128 MB to 10,240 MB) is the single performance dial: CPU scales linearly with it, with a full vCPU at roughly 1,769 MB and up to 6 vCPUs at maximum. Billing is GB-seconds (memory times duration), so raising memory often lowers cost for CPU-bound code because duration falls faster than the rate rises; arm64 (Graviton) prices about 20% below x86.

This Concept is waiting for its first lesson!

Memory (128 MB to 10,240 MB) is the single performance dial: CPU scales linearly with it, with a full vCPU at roughly 1,769 MB and up to 6 vCPUs at maximum. Billing is GB-seconds (memory times duration), so raising memory often lowers cost for CPU-bound code because duration falls faster than the rate rises; arm64 (Graviton) prices about 20% below x86.

Are you a teacher? Sign in to start contributing.

Sign In