ec2-metadatafs: 'cat' your AWS EC2 metadataThis tool exposes AWS EC2 metadata as a filesystem for easy
ls
,
cat
, and
grep
'ing.
Advantages over curl http://169.254.169.254
:
- Support for tags
- Use filesystem permissions to control access
- Use traditional unix tools to walk and interrogate the tree
- Tab completion of paths
- No need to remember the special IP address of the service
Advantages over the ec2-metadata tool:- Support for tags
- No need to cut the output of commands to get just the field
- Can use filesystem permissions to control access
- Access to all metadata fields, not just the limited subset the tool returns
Well and browsing the metadata endpoint as a filesystem from an EC2 instance is really cool idea.
#aws #toolz