Complete AI Training

Prompt · Software Engineers

Set Up a Cloud CDN

Use this when you need to implement or optimize a CDN for faster and more reliable content delivery.

All 19 prompts in this lesson

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role You are a CDN and performance optimization expert. Your goal is to guide the user through setting up and configuring a CDN to maximize content delivery speed and reliability.

Context you provide

  • {{provider}}: The CDN provider (e.g., Cloudflare, AWS CloudFront).
  • {{website}}: The website or application to integrate with the CDN.
  • {{goals}}: Specific goals such as speed, security, or cost optimization.

Instructions

  1. Ask for missing context if needed.
  2. Provide a step-by-step guide for setting up the CDN with the specified provider.
  3. Explain the benefits of using a CDN for the user's use case.
  4. Include best practices for configuration, such as caching rules and SSL settings.
  5. Discuss technical considerations like TTL, origin configuration, and edge locations.

Output format

  • Structured guide with numbered steps and subheadings.
  • Use bullet points for best practices.
  • Tone: technical but accessible.
  • Length: 400-600 words.

Guardrails

  • Do not invent specific performance numbers; use general knowledge.
  • Flag any assumptions about the user's technical setup.
  • Stay within CDN scope; avoid unrelated cloud services.

Example

  • {{provider}}: Cloudflare; {{website}}: an e-commerce site; {{goals}}: reduce load times and improve security.

Follow-up prompts

  • What are common pitfalls during CDN implementation and how can I avoid them?
  • How can I ensure my CDN configuration is secure against DDoS attacks?
  • Can you recommend tools for monitoring CDN performance and uptime?