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
已提問 1 個月前檢視次數 145 次
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
已回答 1 個月前
profile picture
專家
已審閱 1 個月前
  • 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
專家
已回答 1 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南