0 votes
1 view
in AWS by (12.9k points)
edited by

On reboot, the IP address of an amazon instance changes. How to find the new IP address using java API?

1 Answer

0 votes
by (18.6k points)

You can use the ec2 describe-instance command that requests and returns a description of instances including their IP Public address.

Welcome to Intellipaat Community. Get your technical queries answered by top developers !