By using AWS re:Post, you agree to the Terms of Use
/How to Restrict Client machines to Ping EC2 Instances?/

How to Restrict Client machines to Ping EC2 Instances?

0

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

asked 14 days ago25 views
1 Answers
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.

EXPERT
answered 14 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions