I am trying to follow these Instance Metadata and User Data documentation.
I am trying to curl my EC2 instance but for some reason it give me connection refused. I have allowed incoming requests for HTTP
and SSH
, and allowed all traffic for outgoing traffic in my security group. I am able to ssh
in its but unable to curl
.
What am I missing?
The Amazon EC2 instance metadata service is available from within the Amazon EC2 instance itself, via this URL:
curl http://169.254.169.254/latest/meta-data/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With