How can i create a media CDN origin? I have some error

309 views Asked by At

i'm trying to use Google Media CDN and i start using example at:

https://codelabs.developers.google.com/mediacdn-ls-codelab#10

I've created a google bucket with public access and after:

gcloud edge-cache origins create cme-origin --origin-address="gs://bucket2975"
ERROR: (gcloud.edge-cache.origins.create) NOT_FOUND: Method not found.

all API needed are enabled...

what's wrong?

Thanks in advance

I'm expecting same output of example:

Create request issued for: cme-origin
Waiting for operation [projects/my-project/locations/global/operations/operation-1612121774168-5ba3759af1919-
3fdcd7b1-99f59223] to complete...done
Created origin cme-origin
1

There are 1 answers

3
Dave On

Media CDN is still a controlled access service meaning your Google Cloud project must be allow listed in order to use the service. I suspect you are getting the error because your project hasn't been authorized as of yet. Contact your GCP Sales representative and they should be able to assist you.