user3467453
user3467453

Reputation: 27

How can I store mongo db collections to Google cloud storage directly?

I have created an instance in Google Compute Engine.Using SSH I am able to do operations with mongo db.Now I want the collections in mongo-db to be stored in Google Cloud Storage.How can I do that?I have searched for it but no help.

Upvotes: 1

Views: 958

Answers (1)

Alex Martelli
Alex Martelli

Reputation: 882691

Google Cloud Storage is not suitable for applications requiring a filesystem, such as MongoDB -- the various "filesystem simulations" on top of GCS introduce just too much overhead to be deemed acceptable (at least by my personal standards).

Rather, to use MongoDB on GCE, use persistent disks on your GCE instances, either regular ones (cheaper) or SSD ones (costlier, faster).

Upvotes: 3

Related Questions