ec2-describe-addresses

ec2-describe-addresses [public_ip ...]

Lists elastic IP addresses assigned to your account.

OptionDescriptionRequired

public_ip

Elastic IP addresses to describe

Example: 67.202.55.255

No

Amazon EC2 returns a table that contains the following information:

Amazon EC2 displays errors on 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.

ADDRESS 67.202.55.255  i-f15ebb98
ADDRESS 67.202.55.233