I have set up one AWS windows instance. As per my requirement, I need static IP. So I set up one elastic IP and assign those IP to Windows instance. My problem is I'm not able to verify that elastic IP is assigned to Windows instance or not. Any way to verify that elastic Ip is assigned or not?
Asked
Active
Viewed 64 times
2 Answers
2
I have found my answer
There are two ways for this: 1) You can Navigate to Elastic IP Console and click on any IP There and see the fourth TAB as Instance ID, this will confirm that what Instance is associated with the Elastic IP.
2) Look at Instance Description and see Public IP Tab if it IP With Hyperlink then it is Elastic IP.

Maulik Kakadiya
- 141
- 5
1
If you have AWS command line client properly configured, this command:
aws ec2 describe-addresses --query "Addresses[].[InstanceId, PublicIp]" --output table
Will show you a table with each Elastic IP association. If an IP is not attached will show the InstanceId
empty.

theist
- 1,229
- 2
- 10
- 24