FICHA · AUR

ec2-metadata

Query the EC2 instance Metadata from within a running instance

  • cloud-metadata-tool
  • CLI
  • Launchable
  • Runs in terminal
official+codex · reviewed · May 31, 2026 description in en

Description

Cloud instance identity, region, networking, and configuration details can be queried from inside a running AWS EC2 instance. It is useful for scripts that adapt behavior to the current instance.

Instance metadata can expose credentials or sensitive infrastructure data depending on configuration. Restrict access and avoid logging secrets.

How to run

ec2-metadata

Commands: ec2-metadata

Permissions

Permissions not analysed for this source yet.