On reboot, the IP address of an amazon instance changes. How to find the new IP address using java API?
You can use CLI CRUD aplication to AWS resources. AWS-CRUD-Manager
To find all ec2 instances
./awsconsole.py ec2 all
To find all of data for one ec2 instances (including IP priv and public)
./awsconsole.py ec2 find -i