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?

posta 2 anni fa299 visualizzazioni
1 Risposta
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
con risposta 2 anni fa
  • 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!

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande