cloudfront

por aws

Configures Amazon CloudFront content delivery across six workflows: when to use CloudFront and how it fits with AWS WAF, Shield, CloudFront Functions,…

npx skills add https://github.com/aws/agent-toolkit-for-aws --skill cloudfront

Amazon CloudFront

Overview

Domain expertise for configuring Amazon CloudFront content delivery: deciding when to use CloudFront and how it fits the wider architecture, managing custom-domain certificates and multi-tenant distributions, protecting origins, securing content, and observing traffic.

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. CloudFront is a global service; its API calls and the AWS Certificate Manager (ACM) certificates it uses are made in us-east-1 regardless of where the customer's application runs.

Which CloudFront task do you need?

GoalReference
Decide whether CloudFront is the right layer, see how it integrates, create a distribution, tune caching, or choose pricingwhen to use CloudFront
Serve a custom domain over HTTPS, manage ACM certificates, or run many domains with a certificate per tenantmanaging certificates with CloudFront
Make CloudFront the only way to reach the origin (S3 OAC, VPC origins, origin mutual TLS, security groups)protecting your origins
Limit who can view content by identity, location, client certificate, or auth tokensecuring your content
Get visibility into traffic with standard and real-time logs, and analyze themCloudFront observability
Serve multiple domains through shared configuration with per-tenant customization (SaaS, platform)multi-tenant distributions

Routing notes

  • Choosing the layer and creating a distribution vs the rest. Whether CloudFront is the right entry layer, what it integrates with, creating a distribution, caching, and pricing live in the when-to-use reference. The other references assume a distribution exists and configure one aspect of it.
  • Protecting origins vs securing content. Locking the origin so it is reachable only through CloudFront (OAC, VPC origins, origin mTLS) is the protecting-your-origins reference. Restricting which viewers can see content (signed URLs and cookies, geographic restrictions, viewer mTLS, edge token validation) is the securing-your-content reference. They are paired: a content control only holds when the origin is also locked.
  • Viewer mTLS vs origin mTLS. Authenticating the client to CloudFront (viewer mTLS) is content security. Authenticating CloudFront to the origin (origin mTLS) is origin protection. Different controls, different references.
  • Custom domain certificate vs Route 53 DNS cutover. Requesting and validating the ACM certificate and adding the alternate domain name is the managing-certificates reference here. Pointing the domain's DNS at the distribution, including the zone apex alias and any failover, is Route 53 work owned by the separate route53-cloudfront skill.

Cross-service work

Pointing a custom domain's DNS at a CloudFront distribution, or failing over between distributions with Route 53 records, is cross-service work owned by the separate route53-cloudfront skill. Use this skill for the CloudFront-side configuration only.

Additional Resources

Más skills de aws

agents-build
aws
Úsalo para ampliar un proyecto de agente existente con memoria, integración de aplicaciones, VPC, multi-agente, migración, modelo, navegador, intérprete de código, pagos o recursos…
official
agents-connect
aws
Úsalo al conectar tu agente a APIs, herramientas o servicios externos a través de Gateway, o al restringir el acceso a herramientas con políticas de Cedar. Gestiona la configuración de gateway, target…
official
agents-debug
aws
Use when your agent or environment is broken — wrong answers, errors, timeouts, tool failures, or CLI issues. Reads traces and logs to diagnose root causes.…
official
agents-deploy
aws
Úsalo al implementar tu agente en AWS o cuando una implementación haya fallado. Gestiona la validación previa al vuelo, el diagnóstico de errores de CDK/IAM/cuotas, la gestión de versiones, la reversión,…
official
agents-get-started
aws
Úsalo cuando un desarrollador quiera crear un nuevo proyecto de agente o comenzar con AgentCore. Maneja la selección de framework, el scaffolding del proyecto, el primer despliegue y…
official
agents-harden
aws
Úsalo al preparar tu agente para producción: alcance de IAM, autenticación de entrada (JWT, SigV4), gestión de secretos, optimización de arranque en frío, ciclo de vida de sesión, tasas…
official
agents-pay
aws
Úsalo cuando ESTE agente necesite pagar por contenido protegido con x402 en tiempo de ejecución: encontrarse con un muro de pago a mitad de tarea, resolverlo mediante AgentCore Payments y aplicar…
official
amazon-aurora-mysql
aws
Amazon Aurora MySQL — crea, modifica y asesora sobre clústeres de Aurora MySQL específicamente (motor compatible con MySQL, Aurora serverless, consulta paralela).…
official