CDN and WAF
Cache close to your users and filter what reaches your origin.
At a glance
- Origins
- Bucket website, app, load balancer or public host
- Purge
- By path, prefix, everything or cache tag
- Firewall
- Managed rules, IP, country and rate rules
- Logs
- Requests and firewall matches, kept 7 days
What it does
- Your own names
- Add aliases from your hosted zones and the certificate is issued for you, with an optional redirect from HTTP to HTTPS.
- Purge in seconds
- Invalidate a path, a prefix, everything, or every object tagged by your origin, on every edge node.
- Stale when the origin is down
- Serve the cached copy while the origin fails or revalidates.
- Web application firewall
- Managed rule groups against SQL injection, cross-site scripting, traversal and scanners, plus your own IP, country, match and rate rules, with allow, block, count or a browser challenge.
- A token for your origin
- Every request to the origin carries a token you can check, so the origin accepts only traffic from the distribution.
Command line
Put a bucket website behind the CDN, protect it and purge it.
$ dcloud cdn distributions create --name my-site --origin '{"type":"bucket","bucket":"my-site"}'
$ dcloud waf web-acls create --name default
$ dcloud cdn invalidations create <distribution> --paths '/img/*' Price
As of 19 November 2026
Per GB delivered and per request, with no base fee. A web ACL is billed per hour.
| What | Price | Unit |
|---|---|---|
| CDN data delivered | €0.001 | per GB |
| CDN requests | €0.05 | per million |
| Web application firewall | €0.00411 | per web ACL-hour, at most €3.00 a month |
Documentation
Related: Object storage, Load balancing, DNS.