Category Archives: cli

How to add ICMP Echo Request to AWS Security Group from the CLI

The answer to this question is: you need to use –ip-permissions. There does not seem to be any other way to do it. Here is an example (all one line!): aws ec2 authorize-security-group-ingress –group-id sg-000000000000000 –ip-permissions IpProtocol=icmp,FromPort=’8′,ToPort=-1,IpRanges=[{CidrIp=0.0.0.0/0}] The icmp echo … Continue reading

Posted in AWS, cli | Comments Off on How to add ICMP Echo Request to AWS Security Group from the CLI