-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(aws-s3-deployment): Switch Lambda architecture to ARM_64 #29996
Comments
Make perfect sense to me. Welcome to submit a PR. Thank you. |
Is Graviton Lambda available in all the regions and partitions? I could not find relevant coverage data. |
@tmokmss That is a good question, did not think about that. I will check, otherwise we would have to introduce a property. |
The documentation states that we should be using the pricing region dropdown to get the ARM availability. It seems to be globally available as of today, comparing the dropdown options with a browser inspector, they both have the following 31 regions, including Gov:
The CN regions are not included, but they also both seem to support the ARM arch, see pricing. It should also be safe to assume newly introduced regions will get this feature, given |
The linked PR looks good imo. |
This issue has received a significant amount of attention so we are automatically upgrading its priority. A member of the community will see the re-prioritization and provide an update on the issue. |
Update: Our PR was basically rejected, because the proposed solution does not cover all requirements. I changed the issue description accordingly. |
@eruvanos I think there is still value but we cannot just change it for everyone. We have to assume someone somewhere relied on this being The path to getting this added to CDK would be:
This adds more work but removes risks from just changing the default to something else without worry about breaking any existing customers. |
@jfuss That sounds like a good plan. Is this "feature" already planned on you side and if so, can you give an ETA? |
@daschaa Not planned at this time from our side to my knowledge. You or another community member is free to pick it up, if anyone is passionate about it. |
@jfuss So to implement this feature it's also expected from a community member to create a pull request on the layer repo to support both architectures? Or is this something that is implemented by AWS? |
Describe the feature
To reduce costs and improve sustainability, it would be great to switch CDKBucketDeployment Lambda to ARM_64.
Use Case
Reduced costs.
Proposed Solution
The code looks compatible to ARM_64, switching architecture should be enough.
Other Information
To give more information, it would be great to be able to have little more control about created Lambdas.
E.g. our environment enforces Lambdas to be deployed into a VPC. This is only possible using an Aspect.
Acknowledgements
CDK version used
2.102.0
Environment details (OS name and version, etc.)
independent
The text was updated successfully, but these errors were encountered: