cloudfront

Design and troubleshoot Amazon CloudFront distributions with caching and WAF integration.

15|20|Updated May 11, 2026
One-click install
npx skills add https://github.com/awslabs/startups --skill cloudfront-awslabs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cloudfront
Source: https://github.com/awslabs/startups/tree/main/solution-architecture/plugins/aws-dev-toolkit/skills/cloudfront
Command: npx skills add https://github.com/awslabs/startups --skill cloudfront-awslabs

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps engineers design, configure, and troubleshoot Amazon CloudFront distributions by providing guidance for CDN architecture, caching strategies, edge computing, security integration, and performance optimization.

Core Features & Use Cases

  • Distribution Design: Configure origins, cache behaviors, SSL/TLS settings, and access controls for CloudFront web distributions.
  • Edge Architecture Guidance: Choose between CloudFront Functions and Lambda@Edge, implement signed URLs, and optimize request handling.
  • Security and Troubleshooting: Integrate AWS WAF, apply security headers, diagnose cache issues, and avoid common CDN configuration mistakes.

Quick Start

Use the cloudfront skill to design a secure CloudFront distribution for my web application with optimized caching and WAF protection.

Frequently Asked Questions about cloudfront

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure a CloudFront distribution for my web application?

Configuring a CloudFront distribution involves setting up origins, cache behaviors, SSL/TLS settings, and access controls. This skill guides you through designing distributions for web applications to ensure reliable content delivery.

What is the best way to optimize caching for an API using Amazon CloudFront?

Optimizing caching for an API requires configuring appropriate cache policies and behaviors within your CloudFront distribution. This skill helps you design caching strategies to improve API delivery performance and reduce origin load.

When should I use Lambda@Edge versus CloudFront Functions?

Choosing between Lambda@Edge and CloudFront Functions depends on your edge computing complexity. This skill provides edge architecture guidance to help you select the appropriate function type for your request handling needs.

How do I integrate AWS WAF with my CDN for security?

Integrating AWS WAF with your CDN involves attaching web application firewall rules and security headers to your CloudFront distribution. This skill helps you configure WAF protection to secure your web application at the edge.

Why is my CloudFront cache not updating after origin changes?

CloudFront cache issues often stem from misconfigured cache policies or insufficient invalidation. This skill helps troubleshoot caching problems and diagnose common CDN configuration mistakes to restore proper content delivery.

Do I need AWS CLI to operate and troubleshoot CloudFront distributions?

AWS CLI is not strictly required but is highly recommended for operating CloudFront distributions. This skill provides AWS CLI operational guidance to help you manage, configure, and troubleshoot your CDN architecture effectively.