Mount Google Cloud Storage Bucket to Instance

后端 未结 2 1977
夕颜
夕颜 2021-02-08 05:06

How can I mount a Google Cloud Storage bucket as a disk or folder with a standard path such as ~/myBucket on a Google Compute instance?

Everything is in the

相关标签:
2条回答
  • 2021-02-08 05:48

    install gcsfuse on your virtual instance.

    then

    $ gcsfuse {{bucket name}} ~{{mounting path}}
    

    https://medium.com/google-cloud/scheduled-mirror-sync-sftp-to-gcs-b167d0eb487a

    0 讨论(0)
  • 2021-02-08 05:52

    With the new beta gcsfuse this is now possible.

    gcsfuse myBucket ~/path/to/mount
    

    https://cloud.google.com/storage/docs/gcs-fuse

    0 讨论(0)
提交回复
热议问题