AWS Metadata Service version support

Which AWS Metadata service versions does Hyperglance support? V1, V2

Hyperglance supports both v1 and v2 of the AWS Metadata service.


Nothing needs to be done for v1 but there is an extra configuration needed for Hyperglance to be able to use v2.


Hyperglance requires the HTTP PUT response hop limit to be set to 2. The default is 1. This is due to Hyperglance running in a docker container so it adds an extra hop. 
aws ec2 modify-instance-metadata-options \
--instance-id i-1234567898abcdef0 \
--http-put-response-hop-limit 2 \
--http-endpoint enabled