EC2META(1)
π 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.0ami_manifest_pathβ the manifest path of the AMI this instance was launched with. π«Ά1.0ami_launch_indexβ the index of this instance in the reservation (per AMI). π1.0ancestor_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_10instance_idβ the ID of this instance. the main character's name tag fr fr.1.0instance_typeβ the type of instance to launch. for more info, see Selecting Instance Types. π2007_08_29local_hostnameβ the local hostname of the instance.2007_01_19public_hostnameβ the public hostname of the instance.2007_01_19local_ipv4β public IP address if launched with direct addressing; private IP address if launched with public addressing.1.0public_ipv4β the NATted public IP Address. π¦2007_01_19public_keys/β public keys. only available if supplied at instance launch time, so like, if you didn't bring them, don't be surprised. π1.0reservation_idβ ID of the reservation.1.0security_groupsβ names of the security groups the instance is launched in. only available if supplied at instance launch time. no cap.1.0product_codesβ product codes associated with this instance. π₯2007_03_01user_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
- fedora 43: perl-Net-Amazon-EC2-Metadata 0.10-41.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms