Ensure that the Cloud CDN origin associated with your Google Cloud load balancer points to a backend bucket instead of backend service in order to provide enhanced performance, cost savings, simplified management, and the ability to customize caching rules.
excellence
In Google Cloud, you have the flexibility to select the appropriate backend resource for the Cloud CDN origin, as global external load balancers support backend buckets, backend services, and external backends that exist outside of Google Cloud Platform (GCP). Using a bucket as the backend origin for Cloud CDN provides simplified management, scalability, and customizable caching rules. It seamlessly integrates with Google Cloud Storage, enabling efficient content management and leveraging global infrastructure for optimal performance and delivery. The advantage of using storage buckets for Cloud CDN backend origins contribute to an improved user experience and reduced operational overhead when serving content over the Internet.
Audit
To determine if your Cloud CDN origin points to a backend bucket, perform the following actions:
Remediation / Resolution
To ensure that your Cloud CDN backend service origins enforce HTTPS using SSL/TLS certificates, perform the following operations:
References
- Google Cloud Platform (GCP) Documentation
- Setup overview
- Set up a backend bucket
- GCP Command Line Interface (CLI) Documentation
- gcloud projects list
- gcloud compute url-maps list
- gcloud compute backend-buckets create
- gcloud compute url-maps set-default-service