Route Tables
- With Every VPC a Route table gets created.
- Default Route table will have the main value as Yes
- We can create route tables
- Associate Route tables to Subnets
- Scenario:
Exercise: Create the VPC as shown above and simulate bastion host scenario
- Create one ec2 machine in public subnet
- Create one ec2 machine in private subnet
- Now using public subnet connect to private subnet
Other info
- By default DNS name for public ip is disable on any user created vpcs
- Bastion Host: Bastion Host is an ec2 instance present in public subnet which helps to connect to private subnet’s ec2 instance. (Jump Box also does the same job)