ec2 instance running but public IP cant be reached

0

My ec2 is in running state but the public ip is inaccessible.

amar
質問済み 10ヶ月前405ビュー
1回答
1
承認された回答

Hi,

How are you accessing that public IP? I recommend you verify that the security group attached to the EC2 instance has rules allowing inbound internet traffic (0.0.0.0/0) for your ports and protocols, but also that the ACL associated with the instance's subnet has rules allowing both outbound and inbound traffic to the internet.

profile picture
エキスパート
回答済み 10ヶ月前
profile picture
エキスパート
レビュー済み 10ヶ月前
profile picture
エキスパート
レビュー済み 10ヶ月前
profile picture
エキスパート
レビュー済み 10ヶ月前
  • I am accessing it through browser. I created the ec2 with most default settings

  • The default security group allows inbound traffic from all resources that are assigned to this security group, but not from the internet, so you ned to add a new inbound rule to authorize it.   The rule configuration depends on the access you need (HTTP, HTTPS, SSH...), but the following Knowledge Center article describes step by step how to allow users to connect on HTTP (80) or HTTPS (443). On the other hand, the following EC2 documentation page explains how to add a rule for inbound SSH traffic.   I hope this helps you.

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

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

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

関連するコンテンツ