EC2META(1)

πŸ“¦
version 0.10 Β· 2 versions
, in fedora 43

πŸ’– EC2META(1) β€” aka ec2meta, from the User Contributed Perl Documentation girlies ✨

okay bestie, so like. you know how your ec2 instance has ✨lore✨ about itself? all the little facts about this specific instance? yeah. ec2meta is the girl who goes and fetches all of that for you. she's giving metadata retrieval and she's serving it up cute. πŸŽ€


🌸 NAME 🌸

ec2meta β€” get the metadata for this particular ec2 instance πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

ec2meta  -h --help  [type]

πŸ‘‘ ARGUMENTS πŸ‘‘

so here's the vibe. if you hand her a TYPE, she reports just that one TYPE of meta data. no extras, no fluff, just that. if you hand her nothing at all? she dumps all the meta data available, everything, the whole buffet. (except the keys, bestie β€” those get listed by name, not by value. iykyk. πŸ™ˆ)

and the -h flag? that one's just "hey show me this help message" β€” she's literally so polite for that.

here are the types, in all their glory:

  • ami_id β€” the AMI ID that was used to launch the instance. ✨ 1.0
  • ami_manifest_path β€” the manifest path of the AMI this instance was launched with. 🫢 1.0
  • ami_launch_index β€” the index of this instance in the reservation (per AMI). πŸ‘‘ 1.0
  • ancestor_ami_ids β€” the AMI IDs of any instances that got rebundled to create this AMI. yes she knows her ancestry, she did the research πŸ’€ 2007_10_10
  • instance_id β€” the ID of this instance. the main character's name tag fr fr. 1.0
  • instance_type β€” the type of instance to launch. for more info, see Selecting Instance Types. 🌈 2007_08_29
  • local_hostname β€” the local hostname of the instance. 2007_01_19
  • public_hostname β€” the public hostname of the instance. 2007_01_19
  • local_ipv4 β€” public IP address if launched with direct addressing; private IP address if launched with public addressing. 1.0
  • public_ipv4 β€” the NATted public IP Address. πŸ¦‹ 2007_01_19
  • public_keys/ β€” public keys. only available if supplied at instance launch time, so like, if you didn't bring them, don't be surprised. πŸ™ˆ 1.0
  • reservation_id β€” ID of the reservation. 1.0
  • security_groups β€” names of the security groups the instance is launched in. only available if supplied at instance launch time. no cap. 1.0
  • product_codes β€” product codes associated with this instance. πŸ”₯ 2007_03_01
  • user_data β€” user supplied data at instance launch.

and that's the whole page, bestie!! πŸ’œ that was EC2META(1), brought to you by perl v5.42.0, dated 2025-07-25, and it ate, no crumbs. go get your instance's lore. periodt. βœ¨πŸŽ€πŸ’…

πŸ“¦ where this page comes from