Created
April 20, 2021 04:58
-
-
Save arnabdas/2f2f0adf3514e360be79c956c335369b to your computer and use it in GitHub Desktop.
Create Google Cloud Bucket for CDN
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://cloud.google.com/compute/docs/regions-zones | |
region='us-west1' | |
projectName='my-project-name' | |
bucketName='gs://package_name' | |
gsutil mb -b on -c standard -l $region -p $projectName $bucketName | |
gsutil iam ch allUsers:objectViewer $bucketName |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment