Mount Google Cloud Storage Bucket to Instance

不想你离开。 提交于 2019-12-05 16:43:34

问题


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 same project with full access.


回答1:


With the new beta gcsfuse this is now possible.

gcsfuse myBucket ~/path/to/mount

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




回答2:


install gcsfuse on your virtual instance.

then

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

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



来源:https://stackoverflow.com/questions/32856043/mount-google-cloud-storage-bucket-to-instance

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!