Skip to main content
An origin group is a reusable set of one or more content sources. A distribution retrieves cache misses from its origin group.

Origin fields

Use a Host header override when the origin is a shared virtual host, load balancer, or object-storage endpoint that routes by hostname.

Upstream failover

Enable Use next upstream and choose which results permit another origin:
  • Connection error or timeout.
  • Invalid upstream header.
  • HTTP 403, 404, 429, 500, 502, 503, or 504.
Retrying non-idempotent requests can repeat an origin-side action. Limit allowed HTTP methods and failover conditions when the distribution accepts writes.

Object storage

Object-storage origins can include a storage endpoint, bucket name, region, and AWS Signature Version 4 credentials. Some S3-compatible providers do not require a region. Credentials are write-only secrets; omit them on an update unless you intend to replace them.

API example

Complete API credential setup first. Replace the example hostnames with publicly reachable origins; do not use a distribution’s own delivery hostname as its origin.
Creation returns 201 with {"id": ...}. Save that ID as origin_group_id when creating a distribution. It must belong to the same project.

Update and delete

Read the current group through GET /cloud-cdn/origin_groups/details?origin_group=42, replacing 42 with the returned ID. Preserve every origin and failover field you still need when updating the group. A group can serve multiple distributions, so a change can affect more than one application. Before deleting a group, move or delete every distribution that depends on it. A group cannot be deleted while a distribution still uses it.