Replies: 1 comment 1 reply
-
Hi @Navapon, IMDSv2 was introduced in Java SDK version 1.11.678 onwards. Since you are on SDK version 1.12.x, IMDSv2 is used by default. In the scenario, when the session token is not found for the request, it will try to fallback to IMDSv1. In your case, for IMDSv2, the HTTP error - You may also want to refer to this developer guide reference for usage of EC2 metadata utility in Java SDK V1. Regards, |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I would like to know how we config using AWS SDK version 1.12.x using ec2 metadata IMDSv2
I thought default using v1 because I changed EC2 instance to only support IMDSv2 my application got an error
Does anyone have a guide or recommendation please help
Thank you in advance
Beta Was this translation helpful? Give feedback.
All reactions