Gcp

Gcp

Gcp

cloud cdn + share storage

需要给cdn授权,并且设置sign key

1
gsutil iam ch serviceAccount:service-xxx@cloud-cdn-fill.iam.gserviceaccount.com:objectViewer gs://BUCKET_NAME

gcloud安装

1
2
3
4
curl -O https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-cli-435.0.1-linux-x86_64.tar.gz
tar xf google-cloud-cli-435.0.1-linux-x86_64.tar.gz
cd google-cloud-sdk/
./install.sh

参考文档