Skip to main content
skill CX Codex

sitetositevpn — Claude Code skill for AWS Site-to-Site VPN

A skill that walks the agent through AWS Site-to-Site VPN setup: gateway choice, routing, tunnel bandwidth and down-tunnel diagnosis.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add aws/agent-toolkit-for-aws --skill sitetositevpn -a claude-code
Open on GitHub

What sitetositevpn does

This skill covers AWS Site-to-Site VPN, the managed service that builds an encrypted IPsec tunnel between your on-premises network and AWS. It works as a router: each task points to a file under references/, and the agent reads that file in full before acting. The files stand alone — each carries its own decision tables, constraints, procedure and troubleshooting.

Seven tasks are covered: choosing static or dynamic (BGP) routing, creating a connection to a VPC, sizing the tunnel at Standard (1.25 Gbps) or Large (5 Gbps), consolidating many sites through a VPN Concentrator, applying the customer gateway device configuration, building for high availability, and diagnosing a down tunnel with CloudWatch metrics and logs. Settle the routing decision before you create the connection, or you will have to recreate it to change the routing type. The target gateway gates almost everything else: only a transit gateway supports Large tunnels, ECMP bandwidth aggregation, IPv6 customer gateways and the VPN Concentrator.

Commands run through the AWS MCP server when it is connected, with the AWS CLI as the fallback. Site-to-Site VPN is regional, so pass --region {region} for the zone where the connection terminates. The configuration AWS hands back after creation is applied by you on your own device — AWS never touches that side. Direct Connect, Client VPN for individual remote users and Route 53 work are out of scope.

What it helps with

  • create an IPsec connection between an office and a VPC
  • pick static or dynamic (BGP) routing before building
  • size a tunnel at Standard or Large
  • consolidate many sites through a VPN Concentrator
  • find why a tunnel went down using CloudWatch

Example prompts for the agent

  • help me create a Site-to-Site VPN between our data center and a VPC
  • which routing should I use, static or BGP, for a connection to a transit gateway
  • the tunnel is down, check CloudWatch metrics and tell me what happened

How to install sitetositevpn

1Skills CLI (Vercel)

npx skills add aws/agent-toolkit-for-aws --skill sitetositevpn -a claude-code

2Manually: put the files in place

~/.claude/skills/sitetositevpn/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/sitetositevpn/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about sitetositevpn

How do I install sitetositevpn in Claude?

Run npx skills add aws/agent-toolkit-for-aws --skill sitetositevpn -a claude-code. The skill file then sits at ~/.claude/skills/sitetositevpn/SKILL.md.

What does sitetositevpn do?

It guides the agent through AWS Site-to-Site VPN setup: target gateway and routing choice, connection creation, tunnel bandwidth, VPN Concentrator, high availability and down-tunnel diagnosis.

What does the skill need to run?

Commands go through the AWS MCP server when it is connected, otherwise through the AWS CLI. Pass --region {region} for the zone where the connection terminates.

Source text

SKILL.md · Apache-2.0
---
name: sitetositevpn
description: >
  Configures AWS Site-to-Site VPN: creating an IPsec VPN connection between an on-premises network
  and a VPC, choosing the target gateway (virtual private gateway, transit gateway, or AWS Cloud
  WAN), choosing static or dynamic (BGP) routing, sizing tunnel bandwidth (Standard 1.25 Gbps or
  Large 5 Gbps), connecting many sites through a VPN Concentrator, applying the customer gateway
  device configuration, making a connection highly available, and monitoring tunnels with
  CloudWatch. Applicable when the user wants to connect a data center or branch office to AWS over
  an encrypted tunnel, choose how routes are exchanged, scale throughput, consolidate sites, or
  diagnose a down tunnel. Routes to the right per-task procedure in references. Not for AWS Direct
  Connect (its own service), Client VPN for individual remote users, the transit gateway side of a
  VPN attachment (transitgateway skill), or Route 53 DNS work.
version: 1
---

# AWS Site-to-Site VPN

## Overview

Domain expertise for configuring AWS Site-to-Site VPN, the managed service that builds an encrypted
IP Security (IPsec) connection between an on-premises network and AWS. Covers the routing decision
(static versus dynamic (BGP) routing), creating the connection and its dependent resources in the right order,
sizing tunnel bandwidth, consolidating many sites through a VPN Concentrator, applying the customer
gateway device configuration, building for high availability, and monitoring and troubleshooting
tunnels.

This skill is a router. Each customer task maps to a procedure file under `references/`. Read the
matching reference in full before acting, then follow its constraints and steps. The reference
files are self-contained: each carries its own decision tables, constraints, procedure, and
troubleshooting.

Execute commands using the AWS MCP server when connected (sandboxed execution, audit logging,
observability). Fall back to the AWS CLI otherwise. Site-to-Site VPN is a regional service: pass
`--region {region}` matching the VPC or transit gateway the connection terminates on.

## Which Site-to-Site VPN task do you need?

| Goal | Reference |
| --- | --- |
| Decide between static and dynamic (BGP) routing before creating a connection | [choosing static or dynamic routing](references/choosing-static-or-dynamic-routing.md) |
| Create an encrypted VPN connection from on-premises to a VPC | [creating a site-to-site vpn connection](references/creating-a-site-to-site-vpn-connection.md) |
| Size tunnel bandwidth at Standard (1.25 Gbps) or Large (5 Gbps) | [choosing tunnel bandwidth](references/choosing-tunnel-bandwidth-standard-or-large.md) |
| Connect 25 or more low-bandwidth sites through one shared attachment | [connecting many sites with a vpn concentrator](references/connecting-many-sites-with-a-vpn-concentrator.md) |
| Configure the on-premises customer gateway device | [applying the customer gateway device configuration](references/applying-the-customer-gateway-device-configuration.md) |
| Make the connection survive tunnel maintenance and device failure | [making a connection highly available](references/making-a-connection-highly-available.md) |
| Detect a down tunnel and find out why | [monitoring and troubleshooting tunnels](references/monitoring-and-troubleshooting-tunnels.md) |

## Routing notes

- **Decide routing before you build.** The static-versus-dynamic decision shapes the customer
  gateway, the failover behavior, and whether the customer can control which routes enter their
  network. Run the choosing-static-or-dynamic-routing reference before creating the connection so
  the customer does not have to recreate it to change routing type.
- **The target gateway gates almost everything.** A virtual private gateway terminates the VPN at
  one VPC. A transit gateway fronts many VPCs and is the only target that supports Large (5 Gbps)
  tunnels, equal-cost multi-path (ECMP) bandwidth aggregation, IPv6 customer gateways, and the VPN
  Concentrator. The gateway choice lives in the creating reference and is referenced again by the
  bandwidth and concentrator references, because picking a virtual private gateway closes those
  doors.
- **Bandwidth sizing vs the Concentrator.** Both scale capacity, in opposite directions. Large
  tunnels give one connection more throughput (up to 5 Gbps per tunnel); the Concentrator gives
  many low-bandwidth sites a shared 5 Gbps attachment so each site does not need its own
  full-bandwidth connection. Match the reference to whether the customer has one high-throughput
  site or many small ones.
- **AWS side vs device side.** Creating the connection and downloading the configuration happen on
  the AWS side; applying that configuration happens on the customer's on-premises device, which AWS
  never touches. The applying-the-customer-gateway-device-configuration reference is device-side
  education, not an AWS-side step.
- **Monitoring is its own task.** Detecting and diagnosing a down tunnel (CloudWatch metrics,
  alarms, and VPN logs) is the monitoring reference, separate from building the connection.

## Additional Resources

- [AWS Site-to-Site VPN User Guide](https://docs.aws.amazon.com/vpn/latest/s2svpn/VPC_VPN.html)
- [AWS Site-to-Site VPN product page](https://aws.amazon.com/vpn/site-to-site-vpn/)
- [AWS VPN pricing](https://aws.amazon.com/vpn/pricing/)

© aws · Apache-2.0 · aws/agent-toolkit-for-aws

Similar skills

Everything for Cloud: AWS, Azure, GCP →

From the same set133

migrate-to-msk Guides migration from self-managed Apache Kafka to Amazon MSK Express with discovery, sizing assessments, and optional load testing. CX Codex +1 4,800installs rds-sqlserver A skill for wiring apps to Amazon RDS for SQL Server: drivers, connection strings, Kerberos, IAM through RDS Proxy and common error modes. CX Codex +1 4,600installs launch-with-aws Takes a web app from analysis to deployment on AWS and hands back deployable AWS Blocks infrastructure code. Useful when the project came out of Lovable, Bolt.new or Replit. CX Codex +1 4,700installs rds-oracle Troubleshoots Amazon RDS for Oracle connectivity, authentication, networking and driver failures. Use it for EC2, EKS, Lambda or Oracle client connection issues. CX Codex +1 4,600installs aws-auth Adds Amazon Cognito authentication to web and mobile apps. Use it for sign-in flows, MFA, OAuth federation, token handling, and protected API routes. CX Codex +1 4,500installs timestream-influxdb Advisory skill for planning, provisioning, and securing Amazon Timestream for InfluxDB across V2 and V3 engines using standard AWS CLI commands. CX Codex +1 4,300installs waf A skill for configuring AWS WAF: web ACLs, managed rules, Bot Control, login and signup protection. Useful when you need to defend an app or API at layer 7. CX Codex +1 4,300installs route53 A skill that points your coding agent at the right Amazon Route 53 procedure and walks it through the steps. Handy for records, traffic splitting or blocking bad domains. CX Codex +1 4,300installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor