Guided Walkthroughs
Step-by-step configuration wizards for your environment
Dedicated Security Account
AWS Backup Strategy
VPC Connectivity Setup
Automated Patching
All Guides
Configuration template to deploy a Site-to-Site VPN connection for an existing VPC between a virtual private gateway (VGW) on the AWS side, and a VPN device (customer gateway) on the remote side
This template includes the following settings:
Note: Once the VPN connection is active, you can download additional tunnel settings such as pre-shared key and the public IP address from the VPC Console > VPN Connections > Download Configuration
AWSTemplateFormatVersion: "2010-09-09"
Description: ""
Resources:
VpcVpnGateway:
Type: "AWS::EC2::VPNGateway"
Properties:
Type: "ipsec.1"
VpcVpnGatewayAttachment:
Type: "AWS::EC2::VPCGatewayAttachment"
Properties:
VpcId: ""
VpnGatewayId:
Ref: "VpcVpnGateway"
CustomerGateway:
Type: "AWS::EC2::CustomerGateway"
Properties:
Type: "ipsec.1"
IpAddress: ""
BgpAsn: 65000
VpnConnection:
Type: "AWS::EC2::VPNConnection"
Properties:
Type: "ipsec.1"
VpnGatewayId:
Ref: "VpcVpnGateway"
CustomerGatewayId:
Ref: "CustomerGateway"
StaticRoutesOnly: false
Parameters: {}
Metadata: {}
Conditions: {}