cdn

Cloud CDN

NetworkingGCP
General

General information about the service.

Description

Google Cloud CDN accelerates content delivery by caching content at the edge of Google network.

Service ID

compute.googleapis.com

Resource Pattern

projects/{project}/global/backendServices/{service}

Chat

Powered by AI

Talk to this service to learn more about it.

Suggested questions:

Naming

The conventions, rules, and restrictions for naming this service.

Naming Convention

cdn-{workload}-{environment}

Length

1-63

Valid Characters

Lowercase letters, numbers, hyphens

Scope

project

Code

Deploy your infrastructure as code using your preferred tooling.

Official DocumentationTerraform
terraform
1resource "google_compute_backend_service" "main" {
2 name = "cdn-${var.environment}"
3 enable_cdn = true
4
5 cdn_policy {
6 cache_mode = "CACHE_ALL_STATIC"
7 }
8}
Utilities

Utilities to support app deployment or configuration.