问题
I have deployed a node.js API on Google App Engine which uses cloud storage for storing files. I had created a bucket, which bore the title as <my-project-id>.appspot.com
. After a few days I have come to realize that there are 2 more storage buckets which were created without my knowledge, with the titles: staging.<my-project-id>.appspot.com
and <zone-name>.artifacts.<my-project-id>.appspot.com
. Why are these buckets getting created? Are those meant for backups? Am I being charged for those?
回答1:
These buckets are created when you deploy an app on GAE.
The bucket named staging.project-id.appspot.com is created for temporary storage when GAE deploys new versions of your app. This bucket is only available for the App Engine use - apps can't interact with this bucket.
The bucket zone.artifacts.project-id.appspot.com comes from the Container Registry and stores the container images pushed to a registry.
Regarding the pricing - GCS Always Free usage limits apply to these buckets as well.
来源:https://stackoverflow.com/questions/61082741/my-gcp-project-is-automatically-creating-storage-buckets