ec2-describe-addresses [public_ip ...]
Lists elastic IP addresses assigned to your account.
public_ip
Elastic IP addresses to describe
Example: 67.202.55.255
67.202.55.255
No
Amazon EC2 returns a table that contains the following information:
Output type identifier ("ADDRESS")
Elastic IP address assigned to your account
Instance ID to which the IP address is assigned
Amazon EC2 displays errors on stderr.
stderr
This example returns elastic IP addresses assigned to the account.
$ ec2-describe-addresses
$
Amazon EC2 returns 67.202.55.255 which is assigned to instance i-f15ebb98 and 67.202.55.233 which is not assigned to an instance.
i-f15ebb98
67.202.55.233
ADDRESS 67.202.55.255 i-f15ebb98 ADDRESS 67.202.55.233
ec2-release-address
ec2-associate-address
ec2-disassociate-address
Submit feedback about this site to: