요약
- route table은 VPC안으로 들어오는 요청을 IP 대역에 따라 AWS 네트워크 객체로 보낸다.
본문
- route table은 VPC에 속하는 독립적인 객체임
- Destination, Target으로 구분되고
- Destination은 목적지 IP 대역
- Target은 AWS 네트워크 객체(IGW, NAT Gateway, VPC Peering, Transit Gateway, ENI)
- Destination, Target으로 구분되고
- route table은 subnet과 연결이라는 관계로 맺어짐
- 하나의 subnet은 하나의 route table과 연결됨
- 하나의 route table은 여러개의 subnet과 연결 될 수 있음
- VPC 생성시 AWS에서 자동으로 main route table을 생성해줌
- subnet 생성시 명시적으로 route table을 지정하지 않으면 main route table에 연결됨