1. Allow ICMP ping request in Windows Firewall
Open Windows Firewall and enable ALL ICMP V4 inbound rule, blow is an example from Windows Server 2012r2:If you don't see it there, can add it by the command line:
netsh advfirewall firewall add rule name="ALL ICMP V4" protocol=icmpv4:8,any dir=in action=allow
2. Add inbound rule to Security Group of EC2
Let open the Secuirty Group of your instance on EC2, then add new inbound rules (Custom ICMP Rule / Echo Request) for your specific IP addresses (not recommend to allow all IP addresses), see below for example:Now you can ping to your instance.
Welcome any comments and questions.
Best regards.
No comments:
Post a Comment