Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

My current settings are here:

http://i.stack.imgur.com/ficeQ.png

I understand the HTTP and the SSH lines but do I need the first three lines for icmp, tcp and udp? I must have set this up a couple years ago but I am looking to get it right this time and use EC2 properly.

Any help is appreciated - thanks!

share|improve this question

1 Answer 1

up vote 1 down vote accepted

The first three lines allows to enable the communications on all ports between EC2 instances which have started behind your default Security Group.

share|improve this answer
    
So, I should keep them there if I want someday to have a web/app server on a separate instance than my DB right? –  drhyde Mar 13 '11 at 20:36
    
Yes, otherwise your web app server can not connect with your DB. –  fafanoulele Mar 14 '11 at 9:41
    
Got it, thanks. I am unable to ping the EC2 instance though it serves up HTTP and I can ssh to it just fine. What's the best way to enable ping - change the icmp protocol's source to 0.0.0.0/0 - or do I do that for the tcp protocol? –  drhyde Mar 14 '11 at 17:54
    
Yes, for enable ping, change or add the icmp protocol's source to 0.0.0.0/0. Source to 0.0.0.0/0 allows to authorize ping from all IP. –  fafanoulele Mar 15 '11 at 10:59

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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