I'm new to managing EC2 instances. I have created one, and I can run it and remotely login with Windows Remote Desktop. I can ping external servers from inside my instance, but I cannot ping the instance from my machine using its DNS public name. I guess I'm doing something wrong with security groups. Any thoughts anybody?
might be your internal network is blocking that IP to ping or blocked ping packet in your firewall if you have opened in security group and VPC is correct. Show activity on this post. Show activity on this post. Your EC2 instance needs to be attached to a security group that allows the access you require.
To get the details of your last stopped instance, you can use CloudTrail service. Go to your Cloudtrail console and there, you will see a list of your EC2 Actions.
Open the CloudTrail console. Choose Event history. Select Event Name in the Filter dropdown list, and then enter TerminateInstances to view all instance termination API calls.
In security group from AWS console you need to allow port 22 and by default ICMP is blocked on AWS , so if you want to enable ping you need to allow ICMP too.
To ping an EC2 instance, you need to allow ICMP traffic in the instance's security group.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With