ec2-metadatafs
ec2-metadatafs copied to clipboard
Add caching of tags
With a configurable cache TTL so that we don't hammer the AWS API as much.
I'd also say cache the 169.254.169.254 for a bit too, when I run ec2-metadatafs with DEBUG in foreground and autocomplete like /tmp/aws/metTAB/instTAB there are a lot of HTTP requests.
Agreed, I'll open a separate issue for caching the metadata service.