Creating a multi-region VPC communication
Sometimes we need to host applications across multiple VPCs that spread across several regions for hosting a solution in very high demand. In this case, we need to have connectivity between VPCs in different regions. There are multiple options for how this can be achieved. We'll do this using the strongSwan open source software which is an implementation of the IPSEC-based VPN solution.
Getting ready
Log in to your AWS account with proper permissions for creating the required components.
How to do it...
- Create a VPC from the VPC wizard in the
US-West (Oregon)
region using theVPC with a Single Public Subnet
option with CIDR range7.0.0.0/16
for VPC and7.0.0.0/24
for the subnet as shown in the following screenshot:

VPC creation in one region
- Create another VPC from the VPC wizard in the
US-East (Ohio)
region using theVPC with a Single Public Subnet
option with CIDR range8.0.0.0/16
for VPC and8.0.0.0/24
for the subnet as shown in the following screenshot...