In this tutorial i will work Amazon EC2 instance public IP accessible from outside. First go to “cmd” from your computer and copy ipv4 public id from this:
Write ping and past it in “cmd” then enter
Then go to Action and edit inbound rules:
Now click add rule and then select setting and click save button.
Then hit ip in your browser :
We are not getting our public ip from anywhere of the world because we did not set security group this ip (for all traffic) now save it.
Now we change setting and save it then we can ping it: