routing-traffic-with-route53-and-cloudfront

作成者: aws

Amazon Route 53を設定し、カスタムドメインを使用してCloudFrontディストリビューションにトラフィックをルーティングします。DNSエイリアスレコードや代替ドメイン名の設定時に使用します…

npx skills add https://github.com/aws/agent-toolkit-for-aws --skill routing-traffic-with-route53-and-cloudfront

Routing Traffic with Route 53 and CloudFront

Overview

Domain expertise for configuring Amazon Route 53 to route traffic to Amazon CloudFront distributions using custom domain names. Covers hosted zone management, alias A/AAAA records, alternate domain name (CNAME) configuration, and ACM certificate setup for HTTPS.

Configure Route 53 to route traffic to a CloudFront distribution

To set up a custom domain for a CloudFront distribution with Route 53 DNS, follow the procedure exactly. See Route 53 CloudFront routing procedure.

The procedure covers:

  • Verifying CloudFront distribution status and CNAME configuration
  • Requesting and validating ACM certificates (must be in us-east-1)
  • Creating or locating public hosted zones
  • Creating alias A and AAAA records pointing to CloudFront
  • Monitoring DNS propagation

Troubleshooting

Domain not in CloudFront CNAMEs

Add the domain as an alternate domain name in the CloudFront distribution configuration before creating Route 53 records.

SSL certificate issues

ACM certificates for CloudFront must be in us-east-1. Ensure the certificate is validated and associated with the distribution.

Private hosted zone

CloudFront only works with public hosted zones. Create a public hosted zone if only a private one exists.

DNS propagation delays

Changes typically propagate within 60 seconds but full global propagation can take up to 48 hours. Use nslookup or dig to verify.

awsのその他のスキル

agents-build
aws
既存のエージェントプロジェクトを、メモリ、アプリ統合、VPC、マルチエージェント、移行、モデル、ブラウザ、コードインタープリター、決済、またはリソースで拡張するために使用します。
official
agents-connect
aws
エージェントをGateway経由で外部API、ツール、またはサービスに接続する場合、またはCedarポリシーでツールアクセスを制限する場合に使用します。ゲートウェイのセットアップ、ターゲット…
official
agents-debug
aws
エージェントや環境が壊れている場合に使用します。誤った回答、エラー、タイムアウト、ツールの失敗、CLIの問題など。トレースとログを読み、根本原因を診断します。…
official
agents-deploy
aws
エージェントをAWSにデプロイする際、またはデプロイが失敗した際に使用します。事前検証、CDK/IAM/クォータエラーの診断、バージョン管理、ロールバックなどを処理します。
official
agents-get-started
aws
開発者が新しいエージェントプロジェクトを作成したい場合や、AgentCoreを使い始めたい場合に使用します。フレームワークの選択、プロジェクトの雛形作成、初回デプロイなどを処理します。
official
agents-harden
aws
エージェントを本番環境向けに準備する際に使用します — IAMスコープ、インバウンド認証(JWT、SigV4)、シークレット管理、コールドスタート最適化、セッションライフサイクル、レート…
official
agents-pay
aws
実行時にx402で保護されたコンテンツの支払いが必要な場合に使用する:タスク途中でペイウォールに遭遇した際、AgentCore Paymentsを通じて決済し、適用する…
official
amazon-aurora-mysql
aws
Amazon Aurora MySQL — Aurora MySQLクラスター(MySQL互換エンジン、Auroraサーバーレス、パラレルクエリ)の作成、変更、およびアドバイスを特に行います。…
official