Reputation: 1687
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?
Upvotes: 2
Views: 989
Reputation: 1687
One more solution is
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.
Upvotes: 0
Reputation: 6099
There are two ways for this:
1) You can Navigate to Elastic IP Console and click on 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.
Hope this will solve your issue/query
Thanks
Upvotes: 2