Monday, April 17, 2023

How to get public IP from AWS EC2 instance ?

 


Use Below command 


login as root 



curl http://checkip.amazonaws.com



[root@ip-173-11-11-11 ~]#

[root@ip-173-11-11-11~]# curl http://checkip.amazonaws.com

55.2232.1123.123341

[root@ip-173-11-11-11 ~]#

1 comment: