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ヶ月前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
回答済み 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ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ