In this recipe, we will outline how to deploy Internet Gateways (IGWs) to our AWS VPCs using Ansible. IGWs are our exit points from our VPC to the internet in order to reach a public external destination. Since we are building a public-facing service, we need to have internet reachability from our VPC. This is accomplished by the IGW construct in the AWS cloud.
Deploying IGWs 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...