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 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则