pour manipuler du json en cmdline à la jq
curl -s http://169.254.169.254/latest/meta-data/
or
/opt/aws/bin/ec2-metadata