How Soon Can External Access be possible to My EC2 Instance Public IP Address

0

Question 1: How soon does it take after deploying my EC2 instance for its public IP address to be reachable ?

Question 2: I am struggling now for a few days to see the public ip address is not reachable. Currently have a quad zero route under network ACL and also have security group inbound and outbound rules defined to allow all traffic. There is also a quad zero route pointing to the internet gateway ( under routes ) Is there anything else that is required to get my instance ec2-44-198-166-191.compute-1.amazonaws.com to be reachable from the internet?

asked 2 years ago287 views
1 Answer
2

Q1: It should be pretty much immediate

Q2: Here are some things to check:

  • That the security group is correctly assigned to the instance and that the rules match the protocol (eg. ICMP) as well as port and source IP range
  • The inbound and outbound rules for the network ACL are correct and assigned to the right VPC
  • Any firewall rules (eg. Windows firewall) on the instance are set correctly
  • That the service you're trying to connect to (eg. a webserver) is up and running correctly on the instance

Finally you may consider using the AWS VPC Reachability Analyzer: https://aws.amazon.com/blogs/aws/new-vpc-insights-analyzes-reachability-and-visibility-in-vpcs/

AWS
Alex_K
answered 2 years ago
  • Thank you for your reply. I have isolated the issue down to the image. Some instances built with Windows Server 2019 or 2002 had firewall off while other instances it was on and I had to modify it or turn it odd completely for troubleshooting purposes. So really the last steps Are to check the image is configured for the services and modify the Windows firewall accordingly. Thus , I see that not all images are made equal. Best Regards!

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions