I know that security group are STATEFUL, meaning that if either inbound or outbound traffic is ruled, there will be an associate rule in the other bound to send the traffic.
Considering this, I have created a custom VPC and a public subnet. I have ssh-ed successfully to one of the public instances from my network. But, I cannot ping from one public machine to the other in the same subnet! even when I add this inbound rule that
All Traffic All ALL sg-xxx
the above rule should automatically consider an outbound to every instance in the same security group. But it doesn't
So, I have to add manually an outbound rule again with:
ALL TRAFFIC ALL ALL sg-xxx
why is this happening?