I'm new to AWS and I'm trying to understand route tables.
So I have two route tables, one being the public route table and one being the private route table.
Below is the routing for the public route table.
It has the default route, where traffic in the VPC is directed to instances in the subnet associated in this route. There is the other route which I created, where traffic from anywhere is directed to the internet gateway. My question here is that mean all traffic in the subnet is directed to the internet?
Below is the routing for the private route table.
It only has the default route. I would assume that all traffic from subnet 10.0.0.0/16 is directed to instances in the subnet associated in this route. Is that correct?
Lastly, what's the difference between being a main route table and non-main route table?
My private route table is my main route table, and the public route table is not. I don't quite understand what it means.
Any tips would be much appreciated.