How to setup routing in a VPC
This process can be very scenario dependent, so it’s likely best to just read the docs.
Work with route tables - Amazon Virtual Private Cloud
Use Amazon VPC to launch AWS resources into a virtual network that is a logically isolated section of the AWS cloud.

- Open the Amazon VPC console.
- In the navigation pane, select Route tables.
- Select Create route table.
- (Optional) Enter a name for your route table in the Name field.
- Choose your VPC in the VPC field.
- Select Create route table.