In this recipe, we will outline how to adjust the routing inside an AWS VPC in order to control the traffic forwarding within the subnets inside a VPC. Controlling the routing within a VPC allows us to customize the VPC design and how the traffic is forwarded within the VPC, as well as how to exit the VPC to external destinations.
Controlling routing within a VPC using Ansible
Getting ready
The Ansible control machine must have internet reachability and the VPCs must already be provisioned as per the previous recipe.
How to do it...
- Update the eu_prod_vpc.yml file with...