Articles → AWS → Ping An AWS EC2 Instance From The Local Machine

Ping An AWS EC2 Instance From The Local Machine






Steps




  1. Add inbound rules in the security group
  2. Enable an inbound rule in Windows Firewall Defender



Add Inbound Rules In The Security Group




TypeProtocolPort rangeSourceIP address
Custom ICMP - IPv4AllAllAnywhere-IPV40.0.0.0/0


Picture showing the inbound rules of the security group
Click to Enlarge


Enable An Inbound Rule In Windows Defender Firewall




Picture showing the Windows Defender Firewall
Click to Enlarge



Picture showing the inbound rule screen for Windows Defender Firewall
Click to Enlarge



Picture showing enabling the rule for File and Printer Sharing (Echo Request - ICMPv4 - In)
Click to Enlarge


Ping EC2 Instance




Picture showing pinging the EC2 instance from local machine
Click to Enlarge


Posted By  -  Karan Gupta
 
Posted On  -  Wednesday, March 30, 2022
 
Updated On  -  Thursday, December 7, 2023

Query/Feedback


Your Email Id
 
Subject
 
Query/FeedbackCharacters remaining 250