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
asked 13 days ago134 views
2 Answers
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
answered 13 days ago
profile picture
EXPERT
reviewed 13 days ago
  • 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
answered 13 days ago

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