Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Bucket of Staging files after deploying an app engine

After deploying a google app engine, at least 4 buckets are created in the google cloud storage:

  • [project-id].appspot.com
  • staging.[project-id].appspot.com
  • artifacts.[project-id].appspot.com
  • vm-containers.[project-id].appspot.com

What are they, and will they incur storage cost? Can they be safely deleted?

like image 515
Green Avatar asked Mar 22 '17 09:03

Green


People also ask

What is a staging bucket?

Staging bucket: Used to stage cluster job dependencies, job driver output, and cluster config files. Also receives output from the gcloud CLI gcloud dataproc clusters diagnose command. Temp bucket: Used to store ephemeral cluster and jobs data, such as Spark and MapReduce history files.

What is Appspot bucket?

artifacts. <project-id>. appspot.com bucket is used to store container images generated by the Cloud Build service.

What are the different ways of storing application data in Google App Engine?

To store data and files on App Engine, you can use Google Cloud services or any other storage service that is supported by your language and is accessible from your App Engine instance. Third-party databases can be hosted on another cloud provider, hosted on premises, or managed by a third-party vendor.


1 Answers

I believe the "artifacts" bucket is what they're referring to here. A key point is the following:

Once deployment is complete, App Engine no longer needs the container images. Note that they are not automatically deleted, so to avoid reaching your storage quota, you can safely delete any images you don't need.

I discovered this after (to my great surprise) Google started charging me money every month. I saw that the "artifacts" bucket had a directory named "images". (I naively thought that it had something to do with graphics or photographs, which was quite mysterious as my app doesn't do anything with graphics.)

like image 76
user98761 Avatar answered Sep 18 '22 17:09

user98761