Create VPN Connection

Create VPN Connection

  1. Access VPC

    • Select Site-to-Site VPN Connections
    • Click Create VPN Connection
  2. In the Create VPN Connection interface

    • Name tag, enter VPN Connection
    • Target Gateway Type: Select Transit gateway
    • Transit gateway: Choose Transit Gateway ASG
    • Customer Gateway: Existing
    • Customer Gateway ID: Select Customer Gateway
    • Routing Options: Static
    • Keep other configurations as default.
  3. Click Create VPN Connection

  4. Wait about 5 minutes to complete the creation of the VPN Connection

  5. You can see that the status of the Tunnel is currently Down. We will configure the Customer Gateway instance to bring the status to Up.

ℹ️ Information: An AWS Site-to-Site VPN connection creates two IPsec tunnels for high availability. Each tunnel uses a different IP address on the AWS side to connect to the Customer Gateway.

⚠️ Warning: A “Down” tunnel status is normal at this stage, since we haven’t yet configured the strongSwan software on the EC2 instance acting as the Customer Gateway.

🔒 Security Note: Site-to-Site VPN connections use AES-256 encryption and SHA-2 authentication by default, providing a high level of security for data transmitted over the Internet.

💡 Pro Tip: You can download the configuration file from AWS to apply to your Customer Gateway device by selecting the VPN Connection, then choosing “Download Configuration” from the Actions menu.