How to Restrict Client machines to Ping EC2 Instances?

0

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

gefragt vor 2 Jahren271 Aufrufe
1 Antwort
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
EXPERTE
beantwortet vor 2 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen