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
질문됨 한 달 전149회 조회
2개 답변
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
전문가
iBehr
답변함 한 달 전
profile picture
전문가
검토됨 한 달 전
  • 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
전문가
답변함 한 달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠