fix: migrate Lambda to Graviton - $47,462/yr savings - #3
Open
infracost[bot] wants to merge 1 commit into
Open
Conversation
This commit was automatically generated by Infracost Autofix
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
💰 Infracost opened this pull request as part of the following campaign:
Manual Optimization Campaign
Policy: Lambda - consider using Graviton
Graviton lambda functions are 20% cheaper than x86 equivalents with up to 19% improved performance. If you do not use x86 binary dependencies, setting lambda functions to use ARM64 can result in significant savings and improved performance. See [AWS docs](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/) for details.Risk: Medium
migrating functions to ARM64 architecture may introduce compatibility issues with native libraries and subtle behavior differences.Deployment details: May require downtime, Please see AWS docs for details
Changing the runtime architecture of a Lambda function can cause a brief service disruption if you are using a custom runtime. You can minimize this by implementing canary or blue-green deployments. AWS BlogNext steps:
✅ Deploy this change before the campaign deadline: April 7, 2026
💬 False positive? Add a PR comment with
@infracost dismiss🛠️ Incorrect code fix? Close the PR with a comment or check out the branch to adjust