EC2 Instances Several Ports Open

0

Hi,

Recently I have received an email from AWS and the detail follows.

In reviewing your Amazon EC2 instances, it appears you have left several ports open to the public (0.0.0.0/0).

Please let me know how to fix this issue.

質問済み 2年前278ビュー
1回答
1

Hello there,

It is not considered a good practice to have the ports of your resources open to the public as attackers may gain access to your resource and cause harm.

The best approach to fix this would be to configure your security group to control the traffic to your resource. A security group acts as a virtual firewall for your instance to control inbound and outbound traffic, for more information on security groups, please see reference [1].

You can configure the security group of your EC2 instance by allowing traffic from your own ip address or a selected range of ip addresses instead of having your ports open to the public.

For specific security group rules, please see reference [2].

References:

[1] https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/working-with-security-groups.html

[2] https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/security-group-rules.html

I hope this helps.

回答済み 2年前

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

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

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

関連するコンテンツ