Skip to content

Look into using EC2 instance metadata when available. #39

@danfuzz

Description

@danfuzz

See https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-metadata-v2-how-it-works.html for the "fun" bits required now that the local-data URL requires token-based access.

…But… you can get a token just by asking? Not clear why this makes anything better.

TOKEN=`curl -X PUT "http://169.254.169.254/latest/api/token" -H "X-aws-ec2-metadata-token-ttl-seconds: 21600"`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions