1EC2META(1)            User Contributed Perl Documentation           EC2META(1)
2
3
4

NAME

6       ec2meta   - get the metadata for this particular ec2 instance
7

SYNOPSIS

9       ec2meta  -h --help  [type]
10

ARGUMENTS

12       With a TYPE reports just that TYPE of meta data.  With out one reports
13       on all meta data available. (except the keys, which are listed by name,
14       not value)
15
16       The -h flag displays this help message.
17
18       types:
19
20        ami_id             The AMI ID used to launch the instance. 1.0
21        ami_manifest_path  The manifest path of the AMI with which the instance was launched.  1.0
22        ami_launch_index   The index of this instance in the reservation (per AMI).    1.0
23        ancestor_ami_ids   The AMI IDs of any instances that were rebundled to create this AMI.    2007_10_10
24        instance_id        The ID of this instance.    1.0
25        instance_type      The type of instance to launch. For more information, see Selecting Instance Types. 2007_08_29
26        local_hostname     The local hostname of the instance. 2007_01_19
27        public_hostname    The public hostname of the instance.    2007_01_19
28        local_ipv4         Public IP address if launched with direct addressing; private IP address if launched with public addressing.    1.0
29        public_ipv4        NATted public IP Address    2007_01_19
30        public_keys/       Public keys. Only available if supplied at instance launch time 1.0
31        reservation_id     ID of the reservation.  1.0
32        security_groups    Names of the security groups the instance is launched in. Only available if supplied at instance launch time    1.0
33        product_codes      Product codes associated with this instance.    2007_03_01
34        user_data          User supplied data at instance launch
35
36
37
38perl v5.28.1                      2019-02-02                        EC2META(1)
Impressum