К основному содержанию
скилл CX Codex

sitetositevpn — скилл для Claude Code: AWS Site-to-Site VPN

Скилл проводит агента по настройке AWS Site-to-Site VPN: выбор шлюза, маршрутизации, полосы туннеля и разбор упавшего туннеля.

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add aws/agent-toolkit-for-aws --skill sitetositevpn -a claude-code
Открыть на GitHub

Что делает sitetositevpn

Скилл закрывает работу с AWS Site-to-Site VPN — управляемой службой, которая строит шифрованный IPsec-туннель между вашей площадкой и AWS. Внутри он устроен как маршрутизатор: каждая задача ведёт к своему файлу в references/, и агент читает нужный файл целиком перед действиями. Файлы самодостаточные — в каждом свои таблицы решений, ограничения, порядок шагов и разбор проблем.

Задач семь: выбрать статическую или динамическую (BGP) маршрутизацию, создать подключение к VPC, подобрать полосу туннеля Standard (1.25 Gbps) или Large (5 Gbps), свести много площадок через VPN Concentrator, применить конфигурацию customer gateway на своём устройстве, сделать подключение отказоустойчивым и разобраться с упавшим туннелем по метрикам CloudWatch и логам. Решение по маршрутизации стоит принять до создания подключения: иначе его придётся пересоздавать, чтобы сменить тип. Выбор целевого шлюза закрывает почти всё остальное — только transit gateway поддерживает туннели Large, агрегацию полосы через ECMP, IPv6 customer gateway и VPN Concentrator.

Команды скилл выполняет через AWS MCP-сервер, если тот подключён, иначе откатывается на AWS CLI. Служба региональная, поэтому в вызовы передаётся --region {region} той зоны, где завершается подключение. Конфигурацию, которую AWS выдаёт после создания подключения, применяете вы на своём оборудовании — AWS эту сторону не трогает. Direct Connect, Client VPN для отдельных удалённых сотрудников и работа с Route 53 сюда не входят.

Какие задачи решает

  • создать IPsec-подключение между офисом и VPC
  • выбрать между static и dynamic (BGP) маршрутизацией до сборки
  • подобрать полосу туннеля Standard или Large
  • свести много площадок через VPN Concentrator
  • найти причину упавшего туннеля по CloudWatch

Примеры запросов агенту

  • помоги создать Site-to-Site VPN между нашим дата-центром и VPC
  • какую маршрутизацию выбрать — static или BGP — для подключения к transit gateway
  • туннель упал, посмотри метрики CloudWatch и скажи, в чём дело

Как установить sitetositevpn

1Через Skills CLI (Vercel)

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

2Вручную: положить файлы

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

Папка скилла целиком; для одного проекта — .claude/skills/sitetositevpn/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Вопросы о sitetositevpn

Как установить sitetositevpn в Claude?

Выполните npx skills add aws/agent-toolkit-for-aws --skill sitetositevpn -a claude-code. После этого файл скилла лежит в ~/.claude/skills/sitetositevpn/SKILL.md.

Что делает sitetositevpn?

Проводит агента по настройке AWS Site-to-Site VPN: выбор целевого шлюза и маршрутизации, создание подключения, полоса туннеля, VPN Concentrator, отказоустойчивость и разбор упавших туннелей.

Что нужно, чтобы скилл заработал?

Команды идут через AWS MCP-сервер, если он подключён, иначе через AWS CLI. В вызовы передавайте --region {region} той зоны, где завершается подключение.

Исходный текст

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

Похожие скиллы

Всё по теме «Облака: AWS, Azure, GCP» →
dt-obs-aws Dynatrace Помогает анализировать инфраструктуру AWS через Dynatrace Smartscape и запросы DQL: инвентарь ресурсов, топологию VPC и расходы на облако. CX Codex +1 2 500установок aws-cost-operations zxkane Скилл помогает оценивать бюджет перед деплоем, анализировать аномалии в расходах AWS и настраивать алерты CloudWatch. Пригодится при аудите облака и контроле счетов. CX Codex +1 863установок hf-cloud-sagemaker-production-defaults huggingface Скилл создаёт SageMaker endpoint с автоскейлингом, CloudWatch-алармами и тегами. Он нужен для финального шага деплоя модели. CX Codex +1 549установок aws-ecs-fargate devops-skills Разворачивает контейнеры в Amazon ECS и Fargate. Помогает настроить описания задач, сервисы с балансировщиком нагрузки и автоматическое масштабирование. CX Codex +1 349установок aws-cloudtrail devops-skills Настраивает аудит CloudTrail во всех аккаунтах AWS организации и создаёт алерты на опасные события. Пригодится при подготовке к аудиту безопасности. CX Codex +1 340установок hybrid-cloud-networking Seth Hobson Скилл помогает спроектировать связь между локальной инфраструктурой и AWS, Azure, GCP или OCI через VPN и выделенные подключения. CX Codex 10 600установок

Из того же набора133

migrate-to-msk Помогает перенести собственный кластер Apache Kafka в Amazon MSK Express: от анализа конфигураций до нагрузочного теста. CX Codex +1 4 800установок rds-sqlserver Скилл для подключения приложений к Amazon RDS for SQL Server: драйверы, строки подключения, Kerberos, IAM через RDS Proxy и разбор типовых ошибок. CX Codex +1 4 600установок launch-with-aws Ведёт приложение от анализа до деплоя на AWS и выдаёт готовый инфраструктурный код AWS Blocks. Пригодится, если проект собран в Lovable, Bolt.new или Replit. CX Codex +1 4 700установок rds-oracle Разбирает подключение Amazon RDS for Oracle, сетевые ошибки и проблемы драйверов. Пригодится для EC2, EKS, Lambda и клиентских инструментов Oracle. CX Codex +1 4 600установок aws-auth Добавляет аутентификацию пользователей через Amazon Cognito в веб- и мобильные приложения. Пригодится для входа, MFA, OAuth и защиты API. CX Codex +1 4 500установок timestream-influxdb Скилл помогает развернуть Amazon Timestream for InfluxDB, выбрать между V2 и V3, настроить параметры сети и проверить ключи KMS. CX Codex +1 4 300установок waf Скилл для настройки AWS WAF: web ACL, управляемые правила, Bot Control, защита логинов и регистраций. Полезен, когда нужно закрыть приложение или API на уровне L7. CX Codex +1 4 300установок route53 Скилл для работы с Amazon Route 53: агент сам разбирается, какая процедура нужна, и ведёт по шагам. Пригодится, когда надо завести запись, разрулить трафик или закрыть домены. CX Codex +1 4 300установок

Спонсоры проекта

Компании, которые помогают держать аналитику открытой