[ABTEST-498] Test and Change Java runtime in AB Testing Auth lambda function Created: 23/Jun/21  Updated: 16/Jul/21  Resolved: 12/Jul/21

Status: Closed
Project: A/B Testing
Component/s: None
Affects Version/s: None
Fix Version/s: 1.0.1

Type: Improvement Priority: Neutral
Reporter: Nguyen Phung Chi Assignee: Nguyen Phung Chi
Resolution: Fixed Votes: 0
Labels: VN-Implementation, VN-Testing
Remaining Estimate: Not Specified
Time Spent: 7.5h
Original Estimate: Not Specified

Template:
Acceptance criteria:
[X]* Test the lamdba function with Amazon Corretto 8 in advance
[X]* If okay, change the runtime to Amazon Corretto 8
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Epic Link: ABn. Post GA tasks
Sprint: Content Mngmt 08
Story Points: 5

 Description   

AWS Lambda is migrating the java8 managed runtime from the OpenJDK implementation to the Amazon Corretto 8 implementation. The following describes this change and provides resources with further information.

Q: What is happening?
A: The java8 managed runtime in AWS Lambda will migrate from the current Open Java Development Kit (OpenJDK) [1] implementation to the latest Amazon Corretto [2] implementation. This migration will take place in two phases. In the first phase, starting July 19, 2021, new and updated functions will be migrated to the Amazon Corretto runtime. In the second phase, starting August 16, 2021, any remaining functions will be migrated. The migration is scheduled to be completed by September 10, 2021.

Q: Why are you making this change?
A: This change enables customers to benefit from the latest innovations and extended support of the Amazon Corretto JDK distribution. Amazon Corretto 8 is designed as a drop-in replacement for OpenJDK 8, and includes security fixes and performance enhancements.

Q: Why are you contacting me?
A: We are contacting you as we have identified that your AWS account currently has one or more Lambda functions using the java8 runtime.

The following command shows how to use the AWS CLI to list all functions in a specific Region using the java8 runtime. To find all such functions in your account, repeat this command for each Region:

aws lambda list-functions --function-version ALL --region us-east-1 --output text --query "Functions[?Runtime=='java8'].FunctionArn"

Q: What do I need to do?
A: If you are using the java8 runtime, your functions will be updated automatically. For production workloads, we recommend that you test functions in advance for compatibility with Amazon Corretto 8.

Q: Where can I learn more?
A: Further information is available in the AWS Blog post Announcing migration of the Java 8 runtime in AWS Lambda to Amazon Corretto [3].

Q: What if I need additional help?
A: Please contact us through AWS Support [4], the AWS Lambda Developer Forum [5], or your AWS account team should you have any questions or concerns.

[1] https://openjdk.java.net/
[2] https://aws.amazon.com/corretto/
[3] https://aws.amazon.com/blogs/compute/announcing-migration-of-the-java-8-runtime-in-aws-lambda-to-amazon-corretto/
[4] https://aws.amazon.com/support
[5] https://forums.aws.amazon.com/forum.jspa?forumID=186


Generated at Sun Feb 11 22:56:50 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.