Use Case for AWS Lambdas should leverage ARM instances
Quick Links
- Configure AWS Lambdas should leverage ARM instances
- Use Case for AWS Lambdas should leverage ARM instances
- Triage Guides by Violation Type
When should I use arm64 instead of x86_64 with AWS Lambda?
Pros
arm64
is 20% cheaper per billed millisecond thanx86_64
[1]arm64
is 19% faster compute thanx86_64
, generally lowering execution times[1]
So it costs less per unit of time, and your program probably runs in less time. This can be especially impactful for compute-intensive workloads.
Cons
- Your application and it's dependencies must be compatible and built for
arm64
.- This implies a redeployment, which may not be worth it for low execution volume Lambdas.
- Some applications may perform slower, but most won't, especially simple Lambdas.
[1] - According to Amazon : AWS Lambda Functions Powered by AWS Graviton2 Processor – Run Your Functions on Arm and Get Up to 34% Better Price Performance