title: Does an AWS routing table only affect outbound traffic?
body: <p>According to the <a href="https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Internet_Gateway.html#vpc-igw-internet-access" rel="nofollow noreferrer">AWS docs</a>,</p>
  <blockquote>
  <p>If a subnet is associated with a route table that has a route to an internet gateway, it's known as a public subnet</p>
  </blockquote>
  <p>However, in my understanding, the subnet routing table only affects <strong>outbound</strong> traffic from the subnet, is that correct? What about the inbound traffic?</p>
  <p>I assume that inbound traffic is enabled by default via the routing table of the internet gateway, but maybe my understanding is wrong. How could I check the hypothesis that inbound traffic is allowed? Commands like <code>ping</code> depend on bi-directional package flow, or?</p>