aj-geddes avatar

Aws Cloudfront Cdn

Sets up AWS CloudFront distributions for global content delivery with proper caching, security headers, and origin protection. The skill covers both CLI and Terraform approaches, which is helpful since you'll likely start with CLI for testing and move to IaC for production. Includes patterns for S3 origins with OAI, custom headers, and WAF integration. The best practices are solid reminders about not making buckets public and being careful with cache invalidations, which can get expensive fast. If you're serving static assets, streaming media, or accelerating APIs globally, this gets you the CloudFront basics without the AWS console clicking.

skills.sh installs
478
GitHub stars
379
last updated
Aug 21, 2026

Install

$ npx -y skills add aj-geddes/useful-ai-prompts --skill aws-cloudfront-cdn --agent claude-code

Installs into .claude/skills of the current project.

Files

AWS CloudFront CDN

Table of Contents

Overview

Amazon CloudFront is a fast, globally distributed content delivery network (CDN). Cache content at edge locations worldwide to reduce latency, improve performance, and provide high availability with DDoS protection.

When to Use

  • Static website hosting and assets
  • API acceleration and dynamic content
  • Video and media streaming
  • Mobile application content
  • Large file downloads
  • Real-time data distribution
  • DDoS protection for origins
  • Origin isolation and security

Quick Start

Minimal working example:

Sponsors

Details

Repository
github.com/aj-geddes/useful-ai-prompts
Categories
Security, AI & Agent Building, Cloud & Infrastructure
First seen
Jun 3, 2026

More from aj-geddes/useful-ai-prompts

All 258

Recommended

More Security
1solanaguide avatarsolana-payments-wallets-tradingsolanaguide/solana-cliPay people in SOL or USDC, buy and sell tokens, check prices, discover trending and new tokens, create and manage Solana wallets, stake SOL, earn yield through 477skills.sh installs
2aj-geddes avatardjango-applicationaj-geddes/useful-ai-promptsDevelop production-grade Django applications with models, views, ORM queries, authentication, and admin interfaces. Use when building web applications, managing476skills.sh installs
3aj-geddes avataraws-ec2-setupaj-geddes/useful-ai-promptsLaunch and configure EC2 instances with security groups, IAM roles, key pairs, AMIs, and auto-scaling. Use for virtual servers and managed infrastructure.470skills.sh installs
4secondsky avatarapi-reference-documentationsecondsky/claude-skillsCreates professional API documentation using OpenAPI specifications with endpoints, authentication, and interactive examples. Use when documenting REST APIs, cr465skills.sh installs
5aj-geddes avatarspring-boot-applicationaj-geddes/useful-ai-promptsBuild enterprise Spring Boot applications with annotations, dependency injection, data persistence, REST controllers, and security. Use when developing Spring a463skills.sh installs
6dpearson2699 avatarmapkit-locationdpearson2699/swift-ios-skillsImplement, review, or improve maps and location features in iOS/macOS apps using MapKit and CoreLocation. Use when working with Map views, annotations, markers,461skills.sh installs