Quickstart

This quickstart enables Cloud CDN for an existing HTTP(S) load balancing setup. For additional instructions on enabling, disabling, and configuring Cloud CDN, or if you do not already have an HTTP(S) load balancer configured, see Using Cloud CDN.

Read the Overview for an introduction to Cloud CDN.

Enable Cloud CDN for a pre-existing backend service

To enable Cloud CDN for a pre-existing backend service:

Console


  1. Go to the Cloud CDN page in the Google Cloud Platform Console.
    Go to the Cloud CDN page
  2. Click Add origin.
  3. In the Origin pull-down menu, click Select origin.
  4. Select the load balancer to use as a Cloud CDN origin.
  5. Click Add.

gcloud


gcloud compute backend-services update [BACKEND_SERVICE_NAME] \
    --enable-cdn

That's it. As users request content, Cloud CDN begins caching that content at the edges of the Google network.

What's next?

Monitor your resources on the go

Get the Google Cloud Console app to help you manage your projects.

Send feedback about...

Cloud CDN Documentation