I can't access several of our AWS managed EC2 instances from outside our local network.

0

These are supposed to be public IPs. I can only access them from our internal network. I need to be able to access them from anywhere and to be able to set an A record up for them in our dns, but I can't. Is there some setting that is blocking them or some sort of amazon firewall that I don't know about? We have a few that actually work, but I have no idea why. Thanks in advance!

Josh
demandé il y a un mois145 vues
2 réponses
0

Ensure that the instances are in a Public Subnet (a subnet with a Route Table that has an IGW as the default route). Ensure that network ACL (NACL) associated to the subnet and the security group associated to the instance allows the traffic.

As an additional measure, add VPC flow logs to troubleshoot and look for REJECTs to validate that traffic is being denied.

profile pictureAWS
EXPERT
iBehr
répondu il y a un mois
profile picture
EXPERT
vérifié il y a un mois
  • I really hate to be this guy, but I don't know how to figure that out in AWS. I don't want to ask for my hand to be held, but I don't even know where to begin.

0
  1. First thing you need to make sure the instance has a public IPv4 address: reference here
  2. Make sure the VPC where your instances reside has an Internet Gateway.
  3. Make sure the subnet where the instance resides has a route to the Internet Gateway, which makes the subnet a Public subnet.
  4. Refer to this guide. on how to configure security group and network access list.
profile pictureAWS
EXPERT
répondu il y a un mois

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