[Django]-How to use Google Cloud Storage in a Django app hosted on Google Compute Engine?

2👍

Sounds like you want to use the Google Cloud Storage Python Client Library from your Django app to access GCS.

See my other answer for a list of alternatives (the original question was about persistent disk, so GCS is one of the options, as you have already discovered):

If you want to share data between them, you need to use something other than Persistent Disk, e.g., Google’s Cloud Datastore, Cloud Storage, or Cloud SQL, or you can run your own database (whether SQL or NoSQL), a distributed filesystem (Ceph, Gluster), or a file server (NFS, SAMBA), among other options.

Leave a comment