AWS のネットワーク関連のリクエストを適切なサービス用スキルに振り分け、実装を支援します。 **対応範囲:** - **Route 53** – DNS サービス、ヘルスチェック、ルーティングポリシー、Resolver、DNS ファイアウォール - **CloudFront** – キャッシング、エッジロケーション、オリジンアクセスコントロール、相互認証(mTLS)、署名付きURL - **Transit Gateway** – 複数 VPC の中央ハブ、ネットワークセグメンテーション、一元的な出口制御 - **Direct Connect** – ハイブリッド接続(オンプレとクラウドの専用線)、DX ゲートウェイ、MACsec 暗号化 - **Site-to-Site VPN** – IPsec トンネル、静的またはBGP ルーティング - **WAF** – Web アクセス制御リスト、AWS マネージドルール、レート制限ルール、ボット・不正対策 - **Shield Advanced** – レイヤー3/4 レベルの DDoS 対策 **次のような場合に使用:** これらのサービスを作成・設定・トラブルシューティング・設計する場合、複数サービスから最適なものを選択する場合、またはネットワーク接続やトラフィック制御に関する問題を診断する場合に適しています。 **対応外:** VPC サブネットとルートテーブル、ロードバランサー、VPC エンドポイント、PrivateLink、API Gateway、IAM ポリシーのロジック、コンテナ・サーバーレス環境のネットワーク設定、インフラストラクチャコード(IaC)の作成
Routes AWS networking requests to the correct service skill for implementation. Covers Route 53 (DNS, health checks, routing policies, Resolver, DNS Firewall), CloudFront (caching, edge, OAC, mTLS, signed URLs), Transit Gateway (multi-VPC hub, segmentation, centralized egress), Direct Connect (hybrid link, DX Gateway, MACsec), Site-to-Site VPN (IPsec tunnels, static or BGP), WAF (web ACLs, AWS Managed Rules, rate-based rules, Bot and Fraud Control), and Shield Advanced (L3/L4 DDoS). Applicable when creating, configuring, troubleshooting, or designing across these services, choosing between them, or diagnosing connectivity or traffic-filtering issues. Not for VPC subnets and route tables, load balancers, VPC endpoints, PrivateLink, API Gateway, IAM policy logic, container or serverless networking, or IaC authoring.
ネットワークに関するリクエストを、正しいサービス専用のスキルに振り分けます。DNS・コンテンツ配信、ハイブリッド接続、ネットワークセキュリティ(ウェブアプリケーションファイアウォール(ウェブ攻撃対策)と DDoS 対策)の 7 つのサービスをカバーしています。その他の AWS ネットワークサービス(VPC の基盤、ロードバランサー、エンドポイント、PrivateLink、API Gateway など)は、このスキルの対象外です(ステップ 6 を参照)。
最適な利用環境: AWS MCP サーバーと組み合わせて使用すると、隔離された実行環境、監査ログ、エンタープライズ向けの統制機能が有効になります。標準的な AWS CLI でのアクセスでも、すべてのガイダンスは利用可能です。
ユーザーのリクエストを、以下のスキル振り分けテーブルと照らし合わせます。正確な文言ではなく、意図に基づいてマッチングしてください。
リクエストが複数のスキルに該当する場合は、「サービス間共通概念テーブル」を使用して、リクエストが対象とするレイヤーを判断してから、そのレイヤーを担当するスキルに振り分けてください。
判断が難しい場合は、以下の 1 つの確認質問をしてください:「接続を構築したいのですか、それとも既存のトラフィックを制御・フィルタリングしたいのですか?」
ターゲットスキルを読み込みます。AWS MCP サーバーが利用可能な場合は aws___retrieve_skill(skill_name="<skill>") を使用し、そうでない場合はこのリポジトリの skills/<skill>/SKILL.md からスキルドキュメントを取得してください。
リクエストが複数のスキルにまたがる場合は、依存関係の順序に従って各スキルに振り分けます。インターネット向けのサービス(cloudfront)に振り分ける際は、ユーザーが L7 フィルタリング(アプリケーション層のフィルタリング)と DDoS 対策を未対応の場合、shieldadvanced(DDoS 対策)と waf(L7 フィルタリング:AWS WAF は CloudFront、Application Load Balancer、API Gateway、AppSync に対応)にも振り分けてください。接続用スキル(directconnect、sitetositevpn、transitgateway)に振り分ける際は、転送中の暗号化が対応されているか確認してください(Direct Connect は MACsec、VPN は IPsec、Transit Gateway はリージョン間ピアリング暗号化に対応)。cloudfront でのカスタムドメインまたは TLS が関わる場合、ACM 証明書の取得は実装の一部であることに注意してください。cloudfront をウェブ向けの配信に使用する場合、ターゲットスキルは CloudFront Response Headers Policy(マネージドの SecurityHeadersPolicy を含む)を介して、セキュリティ応答ヘッダー(CSP、HSTS、X-Frame-Options、X-Content-Type-Options)に対応する必要があることに注意してください。ターゲットスキルが設定を処理します。
リクエストが「スキル振り分けテーブル」に記載されていない AWS ネットワークタスクの場合(例:VPC サブネットやルートテーブル、セキュリティグループ、ロードバランサー、VPC エンドポイント、PrivateLink、API Gateway)は、最も近い記載されているスキルに振り分けるのではなく、そのサービスはこのスキルセットでは利用不可であることをユーザーに伝えてください。このスキルセットは AWS ネットワークのすべてのサービスをカバーしていません。
このスキルは振り分けのみを行い、実装は行いません。このスキル単独でサービス固有の設定に関する質問に答えないでください。
| 観点 | 接続 | セキュリティ |
|---|---|---|
| 回答 | トラフィックは目的地に到達できるか? | トラフィックを許可すべきか? |
| 障害の症状 | タイムアウト、到達不可、応答がない | 拒否、ブロック、ドロップ |
| 依存関係 | ポリシーとは独立—経路が存在するか否か | 接続が存在することを前提—到達可能なトラフィックのみフィルタリング可能 |
| 粒度(制御の細かさ) | 経路上のすべてのフロー(通信流)に影響 | マッチ条件で特定のフローを対象 |
| スキル | 次のような場合に選択 |
|---|---|
transitgateway |
3 つ以上の VPC(仮想ネットワーク)またはオンプレミスネットワークをハブで接続、ルーティング分離、アカウント/リージョン横断接続を大規模に実施、一元的な外部通信/検査、マルチキャスト(一対多通信)を使用する場合 |
directconnect |
オンプレミスへの専用プライベートリンク—安定した低遅延、高スループット、MACsec 暗号化、LAG(複数回線の統合)、Direct Connect Gateway で複数 VPC 対応、SiteLink でサイト間バイパス、本番環境のハイブリッドワークロード |
sitetositevpn |
インターネット上の暗号化 IPsec トンネル—迅速なセットアップ、DX バックアップ、静的ルーティングまたは BGP ルーティング、Global Accelerator バックボーンでの高速化オプション、標準またはラージサイズのトンネル帯域幅 |
route53 |
DNS 管理(パブリック/プライベートゾーン、レコード)、ヘルスチェック、ルーティングポリシー(加重、フェイルオーバー、地理的、遅延ベース)、ドメイン登録、Resolver(ハイブリッド DNS 転送)、DNS Firewall、Route 53 Profiles、Global Resolver |
cloudfront |
キャッシング、エッジでの TLS 終了(暗号化完了)、オリジン保護(OAC)、カスタムドメイン、キャッシュポリシー/動作ルール、署名付き URL、CloudFront Functions、ビューアー側 mTLS(相互認証)、VPC オリジン、マルチテナント配信 |
waf |
ウェブアプリケーションファイアウォール(L7:アプリケーション層)—CloudFront/ALB/API Gateway/AppSync 上の web ACL(アクセス制御リスト)、AWS マネージドルール、HTTP フラッド用のレート制限ルール、IP/地域マッチング、Bot Control、Fraud Control(アカウント乗っ取り/作成)でウェブアプリと API を攻撃、ボット、認証情報詰め込み攻撃から保護 |
shieldadvanced |
インターネット向けリソースの L3/L4(ネットワーク/トランスポート層)DDoS 対策、WAF 経由の自動アプリケーション層(L7)対策、ヘルスベースの検知、Shield Response Team へのアクセス、DDoS 費用保護クレジット |
同じ概念でも、レイヤーによってサービスが異なります。スキル振り分けテーブルで複数のスキルに該当する場合は、これらを使用して判断を明確にしてください。
ユーザーが「ブロック」「拒否」「フィルタリング」「トラフィック制限」と言う場合に使用します—フィルタリングがどのレイヤーで動作するかを判定します。
| レイヤー | サービス | フィルタリング対象 | スキル |
|---|---|---|---|
| L7(HTTP/HTTPS、ウェブアプリと API) | AWS WAF | HTTP リクエスト属性、AWS マネージドルール、レート制限/ボットルール、IP/地域マッチング | waf |
| L3/L4(DDoS 大容量/状態枯渇攻撃) | Shield Advanced | インターネット向けリソース上のネットワーク/トランスポート層 DDoS フラッド | shieldadvanced |
| DNS(名前解決) | Route 53 DNS Firewall | ドメイン名パターン—解決をブロック、トラフィックではなく | route53 |
インターネット向けの API またはウェブサイトに対して waf または cloudfront に振り分ける場合、WAF レート制限ルールを、ユーザーがリクエストした場合だけでなく、デフォルトの保護対策として扱ってください。ターゲットスキルはクライアント単位のリクエストボリュームを制限するために WAF レート制限ルールを追加する必要があります—ターゲットスキルが実装します。
ユーザーが「ログ」「可視性」「何がブロックされているか」「トラフィックが見られるか」と言う場合に使用します—確認すべきログソースを特定します。
| 確認したいこと | サービス | ログタイプ | スキル |
|---|---|---|---|
| VPC からの DNS クエリ | Route 53 Resolver | クエリログ | route53 |
| ブロック/許可された HTTP リクエスト | AWS WAF | web ACL ログ(S3、CloudWatch Logs、Kinesis Data Firehose) | waf |
| DDoS イベントと攻撃詳細 | Shield Advanced | CloudWatch メトリクス、DDoS イベント検知 | shieldadvanced |
| エッジ/CDN リクエストアクセス | CloudFront | 標準ログ(S3)、リアルタイムログ(Kinesis Data Streams) | cloudfront |
| トンネル状態とトラフィック | Site-to-Site VPN | トンネルテレメトリ、CloudWatch メトリクス | sitetositevpn |
これらのサービスのいずれかに振り分ける際は、セキュリティの可視性とインシデント対応のために対応するログ(上表参照)を有効にするようにユーザーに注意してください—ターゲットスキルが実装します。これらのログには機密データ(リクエストクエリ文字列、DNS クエリ内の内部ホスト名)が含まれる可能性があるため、ログの送信先(S3、CloudWatch Logs、Kinesis Data Firehose、Kinesis Data Streams)は必ず保存時の暗号化を有効にし、認可されたスタッフのみがアクセスできるようにするようにユーザーに注意してください—ターゲットスキルが実装します。
ユーザーが「トラフィック切り替え」「ブルー/グリーンデプロイメント(段階的切り替え)」「フェイルオーバー」「カナリアリリース(段階的展開)」「加重ルーティング」と言う場合に使用します—制御の粒度とどのサービスがそれを制御するかを判定します。
| 粒度 | サービス | メカニズム | スキル |
|---|---|---|---|
| DNS レベル(グローバル) | Route 53 | 加重、フェイルオーバー、地理的位置、遅延ベースのルーティング | route53 |
| エッジ(HTTP) | CloudFront | オリジンフェイルオーバー、オリジングループ | cloudfront |
これらのサービスはセキュリティに関わるため、どのスキルに振り分けるかにかかわらず、関連するリスクと統制を示してください—ターゲットスキルが統制を実装します:
| リスク | ターゲットスキルが対応すべき統制 | スキル |
|---|---|---|
| 転送中の暗号化不足 | MACsec(directconnect)、IPsec トンネル(sitetositevpn)、リージョン間ピアリング暗号化(transitgateway)、TLS 終了とビューアー側 mTLS(cloudfront) |
directconnect、sitetositevpn、transitgateway、cloudfront |
| インターネット向けリソースの DDoS 対策不足 | Shield Advanced L3/L4 保護に加えて WAF L7 対策 | shieldadvanced、waf |
| ウェブ/API の攻撃、ボット、リクエストフラッド | WAF web ACL、AWS マネージドルール、レート制限ルール、アプリケーション層入力検証(リクエスト本体サイズ |
Routes networking requests to the correct service-specific skill. Covers 7 services across DNS and content delivery, hybrid connectivity, and network security (web application firewall and DDoS protection). Other AWS networking services (VPC foundations, load balancing, endpoints, PrivateLink, API Gateway, and more) are out of scope for this router (see step 6).
Works best with the AWS MCP server — enables sandboxed execution, audit logging, and enterprise controls. All guidance also works with standard AWS CLI access.
aws___retrieve_skill(skill_name="<skill>"); otherwise retrieve the skill document from this repository at skills/<skill>/SKILL.md.cloudfront), also route to shieldadvanced for DDoS protection and to waf for L7 filtering (AWS WAF attaches to CloudFront, Application Load Balancer, API Gateway, and AppSync), if the user has not already addressed L7 filtering and DDoS protection. When routing to a connectivity skill (directconnect, sitetositevpn, transitgateway), confirm encryption in transit is addressed (MACsec for Direct Connect, IPsec for VPN, inter-region peering encryption for Transit Gateway). When the request involves custom domains or TLS on cloudfront, note that ACM certificate provisioning is part of the implementation. When routing to cloudfront for a web-facing distribution, note that the target skill should address security response headers (CSP, HSTS, X-Frame-Options, X-Content-Type-Options) via a CloudFront Response Headers Policy, including the managed SecurityHeadersPolicy. The target skill handles the configuration.| Dimension | Connectivity | Security |
|---|---|---|
| Answers | Can traffic reach its destination? | Should traffic be allowed? |
| Failure symptom | Timeout, unreachable, black hole | Rejected, denied, dropped |
| Dependency | Independent of policy — path exists or it doesn't | Assumes connectivity exists — can only filter reachable traffic |
| Granularity | Affects all flows on a path | Targets specific flows by match criteria |
| Skill | Choose when… |
|---|---|
transitgateway |
Connecting more than two VPCs or on-premises networks in a hub, routing segmentation, cross-account/cross-region connectivity at scale, centralized egress/inspection, multicast |
directconnect |
Dedicated private link to on-premises — consistent latency, high throughput, MACsec encryption, LAGs, Direct Connect Gateway for multi-VPC, SiteLink for site-to-site bypass, production hybrid workloads |
sitetositevpn |
Encrypted IPsec tunnel over internet — quick setup, DX backup, static or BGP routing, accelerated option via Global Accelerator backbone, standard or large tunnel bandwidth |
route53 |
DNS management (public/private zones, records), health checks, routing policies (weighted, failover, geo, latency), domain registration, Resolver (hybrid DNS forwarding), DNS Firewall, Route 53 Profiles, Global Resolver |
cloudfront |
Caching, TLS termination at edge, origin protection (OAC), custom domains, cache policies/behaviors, signed URLs, CloudFront Functions, viewer mTLS, VPC origins, multi-tenant distributions |
waf |
Web application firewall (L7) — web ACLs on CloudFront/ALB/API Gateway/AppSync, AWS Managed Rules, rate-based rules for HTTP floods, IP/geo match, Bot Control, Fraud Control (account takeover/creation), for protecting web apps and APIs from exploits, bots, and credential stuffing |
shieldadvanced |
L3/L4 DDoS protection for internet-facing resources, automatic application-layer (L7) mitigation via WAF, health-based detection, Shield Response Team access, and DDoS cost-protection credits |
Same concept, different service depending on layer. Use these to disambiguate when the Skill Routing Table matches multiple skills.
Use when the user says "block", "deny", "filter", or "restrict traffic" — determines which layer the filtering operates at.
| Layer | Service | What it filters on | Skill |
|---|---|---|---|
| L7 (HTTP/HTTPS, web apps and APIs) | AWS WAF | HTTP request attributes, AWS Managed Rules, rate-based and bot rules, IP/geo match | waf |
| L3/L4 (DDoS volumetric/state-exhaustion) | Shield Advanced | Network/transport-layer DDoS floods on internet-facing resources | shieldadvanced |
| DNS (resolution) | Route 53 DNS Firewall | Domain name patterns — blocks resolution, not traffic | route53 |
When routing to waf or cloudfront for an internet-facing API or website, treat WAF rate-based rules as a default protective measure, not only when the user asks: note that the target skill should add WAF rate-based rules to bound request volume per client — the target skill implements it.
Use when the user says "logs", "visibility", "what's being blocked", or "can I see the traffic" — identifies which log source to check.
| What you need to see | Service | Log type | Skill |
|---|---|---|---|
| DNS queries from VPC | Route 53 Resolver | Query logs | route53 |
| Blocked/allowed HTTP requests | AWS WAF | web ACL logs (S3, CloudWatch Logs, or Kinesis Data Firehose) | waf |
| DDoS events and attack detail | Shield Advanced | CloudWatch metrics, DDoS event detection | shieldadvanced |
| Edge/CDN request access | CloudFront | Standard logs (S3), real-time logs (Kinesis Data Streams) | cloudfront |
| Tunnel state and traffic | Site-to-Site VPN | Tunnel telemetry, CloudWatch metrics | sitetositevpn |
When routing to any of these services, remind the user to enable the corresponding logging (above) for security visibility and incident response — the target skill implements it. These logs can contain sensitive data (request query strings, internal hostnames in DNS queries), so also remind the user that the log destination (S3, CloudWatch Logs, Kinesis Data Firehose, or Kinesis Data Streams) MUST have encryption at rest enabled and access restricted to authorized personnel — the target skill implements it.
Use when the user says "shift traffic", "blue/green", "failover", "canary", or "weighted routing" — determines the granularity and which service controls it.
| Granularity | Service | Mechanism | Skill |
|---|---|---|---|
| DNS-level (global) | Route 53 | Weighted, failover, geolocation, latency routing | route53 |
| Edge (HTTP) | CloudFront | Origin failover, origin groups | cloudfront |
These services are security-sensitive, so raise the relevant risk and control when routing regardless of which skill you hand off to — the target skill implements the control:
| Risk | Control the target skill should address | Skills |
|---|---|---|
| Unencrypted traffic in transit | MACsec (directconnect), IPsec tunnels (sitetositevpn), inter-region peering encryption (transitgateway), TLS termination and viewer mTLS (cloudfront) |
directconnect, sitetositevpn, transitgateway, cloudfront |
| Missing DDoS protection on internet-facing resources | Shield Advanced L3/L4 protection plus WAF L7 mitigation | shieldadvanced, waf |
| Web/API exploits, bots, and request floods | WAF web ACLs, AWS Managed Rules, and rate-based rules; application-layer input validation (request body size limits, schema validation); security response headers | waf, cloudfront |
| Overly permissive filtering rules | Least-privilege DNS Firewall domain blocking | route53 |
| Over-privileged IAM policies for service resources | Least-privilege IAM roles scoped to specific resources and actions; avoid FullAccess managed policies and Action: *; prefer IAM roles with ephemeral credentials (instance profiles, IRSA, task roles, sts assume-role) over IAM users with long-lived access keys |
all |
| Hardcoded credentials and shared secrets | Let AWS auto-generate secrets where supported (for example Site-to-Site VPN pre-shared keys), or store customer-managed secrets in AWS Secrets Manager rather than hardcoding them | sitetositevpn, directconnect |
| Confused-deputy in cross-service resource policies | Include aws:SourceArn and/or aws:SourceAccount condition keys in S3 bucket policies, KMS key policies, and log-destination resource policies (CloudFront OAC, log delivery to S3/CloudWatch Logs/Kinesis) so only the intended resource and account can invoke them |
cloudfront, waf, all |
| Insufficient visibility for incident response | Enable the service logging in the Logging / Visibility table, with encryption at rest and restricted access on the log destination | all |
| No audit trail or alerting on control-plane changes | Enable AWS CloudTrail to audit control-plane API calls (record, rule, policy, and firewall changes) and set CloudWatch Alarms on security-relevant events (Shield Advanced DDoS detection, WAF blocked/counted spikes, unexpected rule or record modifications); restrict the SNS topics that receive alarm notifications to authorized personnel and enable encryption at rest (SSE-KMS) on those topics, since the notifications can contain sensitive event detail | all |
For authoritative guidance, point users to the AWS Well-Architected Framework Security Pillar and the service-specific security documentation for the target skill.
原文・著作権は Anthropic および各プラグイン作者に帰属します。日本語訳は Claude API による自動翻訳です。