How to Restrict Client machines to Ping EC2 Instances?

0

I want to allow only some Virtual machines to ping my EC2 Instance.

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

You can control access to your instances by using Security Groups. By default, all traffic is denied; you must create inbound rules that allow traffic. For example, you will already have a rule that allows SSH (for Linux) or RDP (for Windows). To allow ICMP (for ping), create a rule that permits ICMP only from the hosts that you wish to ping your instances.

Note that you don't have to create outbound rules for traffic that is allowed inbound. Security Groups are stateful; they automatically allow outbound traffic for inbound sessions that were allowed.

profile pictureAWS
エキスパート
回答済み 2年前

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

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

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

関連するコンテンツ