How to find the IP address of an amazon EC2 instance on reboot

前端 未结 10 1330
长发绾君心
长发绾君心 2020-12-12 13:50

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

10条回答
  •  盖世英雄少女心
    2020-12-12 14:00

    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 
    

提交回复
热议问题