Configure secure, high-performance connectivity between on-premises infrastructure and cloud platforms using VPN and dedicated connections...
Supporting files are included at skill-relative paths. See UPSTREAM-NOTICE.md for their pinned sources, licenses, hashes, and import changes.
These paths remain unavailable in this catalog copy:
<support-root>/references/vpn-setup.mdDo not invoke a step that requires one of these files. Obtain the original material and review its dependencies, license, and effects before use. Independent inline steps and the bundled helpers can proceed within the userβs authorized scope.
Configure secure, high-performance connectivity between on-premises and cloud environments using VPN, Direct Connect, and ExpressRoute.
Establish secure, reliable network connectivity between on-premises data centers and cloud providers (AWS, Azure, GCP).
Confirm the exact account/subscription/project, CIDRs, routing policy and maintenance window before provisioning or advertising routes. The throughput/SLA figures below are version/topology-dependent examples, not guarantees; verify current provider documentation and prerequisites. Private circuits are not inherently end-to-end encrypted: select supported MACsec/IPsec/TLS where required. Avoid advertising the example entire 10.0.0.0/8 unless explicitly intended; overlapping routes or broad propagation can leak traffic or break connectivity. Plan rollback and test MTU, asymmetric routing, DNS and failover. Dual tunnels to one device/facility are not independent physical redundancy.
resource "aws_vpn_gateway" "main" {
vpc_id = aws_vpc.main.id
tags = {
Name = "main-vpn-gateway"
}
}
resource "aws_customer_gateway" "main" {
bgp_asn = 65000
ip_address = "203.0.113.1"
type = "ipsec.1"
}
resource "aws_vpn_connection" "main" {
vpn_gateway_id = aws_vpn_gateway.main.id
customer_gateway_id = aws_customer_gateway.main.id
type = "ipsec.1"
static_routes_only = false
}
Reference: See references/direct-connect.md
resource "azurerm_virtual_network_gateway" "vpn" {
name = "vpn-gateway"
location = azurerm_resource_group.main.location
resource_group_name = azurerm_resource_group.main.name
type = "Vpn"
vpn_type = "RouteBased"
sku = "VpnGw1"
ip_configuration {
name = "vnetGatewayConfig"
public_ip_address_id = azurerm_public_ip.vpn.id
private_ip_address_allocation = "Dynamic"
subnet_id = azurerm_subnet.gateway.id
}
}
On-Premises Datacenter
β
VPN/Direct Connect
β
Transit Gateway (AWS) / vWAN (Azure)
β
ββ Production VPC/VNet
ββ Staging VPC/VNet
ββ Development VPC/VNet
On-Premises
ββ Direct Connect β us-east-1
ββ Direct Connect β us-west-2
β
Cross-Region Peering
On-Premises Datacenter
ββ Direct Connect β AWS
ββ ExpressRoute β Azure
ββ Interconnect β GCP
On-Premises Router:
- AS Number: 65000
- Advertise: 10.0.0.0/8
Cloud Router:
- AS Number: 64512 (AWS), 65515 (Azure)
- Advertise: Cloud VPC/VNet CIDRs
resource "aws_vpn_connection" "primary" {
vpn_gateway_id = aws_vpn_gateway.main.id
customer_gateway_id = aws_customer_gateway.primary.id
type = "ipsec.1"
}
resource "aws_vpn_connection" "secondary" {
vpn_gateway_id = aws_vpn_gateway.main.id
customer_gateway_id = aws_customer_gateway.secondary.id
type = "ipsec.1"
}
# AWS VPN
aws ec2 describe-vpn-connections
# Inspect VgwTelemetry in describe-vpn-connections and CloudWatch VPN metrics
# Azure VPN
az network vpn-connection show
az network vpn-connection show-device-config-script
references/vpn-setup.md - VPN configuration guidereferences/direct-connect.md - Direct Connect setupmulti-cloud-architecture - For architecture decisionsterraform-module-library - For IaC implementation