Skip to content

65156/infra-mc-vpn-aws_to_gcp-jhdo10

Repository files navigation

▄▄▄█████▓▓█████ ▄▄▄       ███▄ ▄███▓          ██▓ ▄████▄  ▓█████     
▓  ██▒ ▓▒▓█   ▀▒████▄    ▓██▒▀█▀ ██▒         ▓██▒▒██▀ ▀█  ▓█   ▀     
▒ ▓██░ ▒░▒███  ▒██  ▀█▄  ▓██    ▓██░         ▒██▒▒▓█    ▄ ▒███       
░ ▓██▓ ░ ▒▓█  ▄░██▄▄▄▄██ ▒██    ▒██          ░██░▒▓▓▄ ▄██▒▒▓█  ▄     
  ▒██▒ ░ ░▒████▒▓█   ▓██▒▒██▒   ░██▒         ░██░▒ ▓███▀ ░░▒████▒    
  ▒ ░░   ░░ ▒░ ░▒▒   ▓▒█░░ ▒░   ░  ░         ░▓  ░ ░▒ ▒  ░░░ ▒░ ░    
    ░     ░ ░  ░ ▒   ▒▒ ░░  ░      ░          ▒ ░  ░  ▒    ░ ░  ░    
  ░         ░    ░   ▒   ░      ░             ▒ ░░           ░       
            ░ OFX INFRASTRUCTURE & CLOUD ENGINEERING         ░  ░    

Multicloud VPN - GCP-AWS VPN

Deploys Core VPN infrastructure to support cross cloud connectivity and office -> GCP connectivity.

This Project DOES NOT configure Route Tables within the context of VPC Networks in AWS so no traffic will traverse over these connections, for prodecural route updating, see repository https://github.com/frasercarter/infra-aws-transit-gateway-zxc013

GCP Infrastructure

Multiple VPN Connections across multiple projects

  • Cloud Router
  • HA VPN (2 Tunnels)
  • Public IP

AWS Infrastructure

Multiple VPN Connections (One per target GCP project) and associates with Transit Gateway.

  • Customer Gateway
  • VPN Connection (2 Tunnels)

Topology

Topology

Variables

Name Construction Variables

Variables are used in the construction of names for services in both aws and gcp, these include the environment (in the case of gcp) and the region shortname (a short abbreviation or code for the region).

### Variable Inputs
* environment 
* region_shortname

AWS
Customer Gateway:
 cgw-gcp-${var.environment}-${var.region_shortname}

Examples:
"cgw-gcp-mgt-au"
"cgw-gcp-dev-au"
"cgw-gcp-prd-au"

GCP
VPN Interfaces, Tunnels etc:
vpn-aws-${var.region_shortname}-tunnel-01

Examples
"vpn-aws-au-tunnel-01"
"vpn-aws-au-interface-01"

References

About

Cross Cloud VPN Between GCP and AWS

Resources

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages