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 51 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.
![](../../users/profiles/392629.webp)
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.
![](../../users/profiles/50880.webp)
theist
- 1,199
- 2
- 9
- 24