claudiajs / claudia

Deploy Node.js projects to AWS Lambda and API Gateway easily
https://claudiajs.com
MIT License
3.8k stars 274 forks source link

AWS launches ARM-powered Lambdas #227

Closed aleemb closed 3 years ago

aleemb commented 3 years ago

https://aws.amazon.com/about-aws/whats-new/2021/09/better-price-performance-aws-lambda-functions-aws-graviton2-processor/

20% cheaper and up to 19% faster using ARM. Would be great to be able to configure for using ARM. It's as easy as flipping a switch https://aws.amazon.com/blogs/aws/aws-lambda-functions-powered-by-aws-graviton2-processor-run-your-functions-on-arm-and-get-up-to-34-better-price-performance/

tbenbrahim commented 3 years ago

The code changes needed are minimal, and can be seen here.

I have not submitted a PR yet because it need some tests, but I am using it with the new flag in production.

gojko commented 3 years ago

@tbenbrahim please submit a PR, so you get some contributor kudos. I'll add the tests and merge it.

gojko commented 3 years ago

this is now published as v 5.14.0