EC2 instance is not reachable by public IP


Hey guys,

I understand there is a million questions like this every day. However mine is different. I did not change a thing in my account. All VPC resources were created by Amazon. I tried all troubleshooting tutorials I could find to no avail. I tried launching instances in 3 different regions - same result. Again I did not create/configure any of the VPC stuff, the instance is launched into a default VPC, default subnet and SG is default too.


demandé il y a 4 ans9492 vues
2 réponses
Réponse acceptée

Hi Denis,

It is expected that you would not be able to reach instance over its public IP with default settings.

default security group associated to the instance, allow inbound traffic from network interfaces (and their associated instances) that are assigned to the same security group.


Therefore, to access instance over its public IP from your source machine, please add inbound rules to the security group.

To access windows instances:

To access linux instances:

I hope this helps.

répondu il y a 4 ans
profile picture
vérifié il y a un an

Oh, man. It's so simple it's embarrassing. Thank you very much!

répondu il y a 4 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions