This extension doesn't support the Instance Metadata Service Version 2. Please see the documents below about IMDSv2: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-service.html https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-metadata-v2-how-it-works.html Therefore, if IMDSv2 is required for EC2 instances instead of optional like in attached screenshot, this extensions will not work. Could you please document that this AWS Extensions doesn't support IMDSv2 calls? Please make sure to update Github README as well.