Using Console
Using CLI
<location>
with the location where you want to create the bucket (e.g. us-central1) and <bucket-name>
with the name of your bucket.
<backend-bucket-name>
with the name of your backend bucket. Look for the cdnPolicy
field in the output. It should show "cacheMode": "CACHE_ALL_STATIC"
which confirms that the Cloud CDN is enabled for the bucket.
Using Python