3

I'm new to AWS, just setup a ubuntu ec2 and I've made a security group which allows me to ssh in and that's about all for now. What do I have to do to make it so I can also ping my instance?

5

You have to make sure it allows ICMP packets to be seen/not firewalled.

  • +1. Pings are blocked by default by the AWS security groups. – ceejayoz Apr 16 '12 at 15:43
  • I edited my security group and added all ICMP packets - Very easy :) Thanks for the help! – Jeremy Iglehart Apr 22 '12 at 8:17
  • Just go to the security group, click on the "inbound" tab, choose "Create a new rule" dropdown and select "All ICMP" and then click +Add Rule – Jeremy Iglehart Apr 22 '12 at 8:18
  • What's the option to select if you don't want all ICMP, just ping? – Marcus Downing Jan 7 '13 at 15:13
  • ICMP is mostly for diagnostics, like traceroute along with ping. What would you gain by trying to block out everything but just ping? (I'm not sure you could block everything but ping with the tools they have available, although I suppose on the VM you can use the firewall tools to try to refine it...) – Bart Silverstrim Jan 8 '13 at 3:07
3

Just go to the security group for the instance, click on the "inbound" tab, choose "Create a new rule" dropdown and select "All ICMP" and then click +Add Rule, then click Apply Rule Changes. The change takes effect immediately.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.