Skip to content

How to put a CDN in front of a Quake AI workload

How-to · Updated Sep 2026

Coming from another cloud?

▸AWS·Cloudfront

This Quake AI feature maps to AWS’s Cloudfront.

▸DigitalOcean·Spaces CDN

This Quake AI feature maps to DigitalOcean’s Spaces CDN.

How to put a CDN in front of a Quake AI workload

Place a third-party content delivery network (CDN) in front of a Quake AI origin to cache static assets and absorb edge traffic. This guide covers the Quake AI origin configuration and the values your CDN provider needs.

Prerequisites

Windows: CLI examples use bash. Set up a Linux CLI environment on Windows before proceeding.

  • A public origin: a floating IP on an application or reverse proxy instance, or a public object-storage container
  • A domain you control, with DNS records you can edit. Follow How to point a domain at a Quake AI resource at the stage your CDN provider specifies.
  • An account with a CDN provider

Choose a CDN provider#

The provider-specific steps below show where to use the Quake AI origin values.

Configure the Quake AI origin#

Collect these values before you configure the CDN:

ValueWhere to find it
Origin hostname or IPThe floating IP from How to point a domain at a Quake AI resource
Origin protocol and portHTTP on port 80 or HTTPS on port 443 for Compute origins; HTTPS for Swift or S3 endpoints
Host headerThe hostname your web server or object storage endpoint expects
Origin TLSThe connection protocol and certificate hostname the origin presents

Restrict direct origin access#

If your CDN provider publishes stable origin-facing IP ranges, restrict the origin security group to those ranges after the CDN is active. Requests sent directly to a public origin bypass the CDN cache and edge security controls.

Configure the CDN provider#

  1. Add your domain as a zone and proxy the hostname with an orange-cloud A or CNAME record that targets your Quake AI origin.
  2. Set SSL/TLS mode to Full (strict) when the origin serves HTTPS with a valid certificate.
  3. Configure cache rules for static paths. See Cloudflare cache documentation.

Verify the CDN path#

  1. Run dig +short www.example.com and confirm that the result matches the edge addresses your CDN provider documents.
  2. Run curl -I https://www.example.com and inspect the response headers for a cache status such as cf-cache-status, X-Cache, or the provider equivalent.
  3. Send the request again and confirm that the provider reports a cache hit when the requested path matches your cache rules.
  4. Tail the application logs on the instance and confirm that a cache miss reaches the origin.

See also#

Usage Guidelines

The sample code, software libraries, command line tools, proofs of concept, templates, and other related technology on this page (including any of the foregoing that is provided by Quake AI personnel) is provided to you as Quake AI Content under the Quake AI Customer Agreement, or the relevant written agreement between you and Quake AI (whichever applies). Do not use this Quake AI Content in your production accounts, or on production or other critical data. You are responsible for testing, securing, and optimizing the Quake AI Content (such as sample code) as appropriate for production grade use based on your specific quality control practices and standards. Deploying Quake AI Content may incur Quake AI charges for creating or using Quake AI chargeable resources, such as running Compute instances or storing data in Object Storage. Your use is also subject to the Acceptable Use Policy.

For the full policy, see Usage Guidelines.

Last validated: 01.09.2026

Was this page helpful?