I can find many articles about mounting a Google Drive in a Droplet. I cannot find such an article in Digital Ocean’s articles therefore I assume there is not a recommended solution. Does anyone have experience with this? Is there a utility that is better for Droplets? I can find articles about doing this for Linux in general; I am interested in anything that might be specific to Droplets.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Enter your email to get $200 in credit for your first 60 days with DigitalOcean.
New accounts only. By submitting your email you agree to our Privacy Policy.
Hey @samhobbs,
The Droplets DigitalOcean provide are completly under your control. This would suggest that there is a way to mount a Google Drive under a Linux distribution it’s doable on the Droplet.
As for articles, yes I couldn’t find one either however following the general way to mount the Drive under a Linux distro should suffice. Doing a quick search provided me with some steps - Please note, I’ve not tested them :
Using Rclone:
Rclone is a command-line tool used for managing various cloud storage services, including Google Drive. It can be used to mount Google Drive as a local disk.
First, install Rclone:
Then, configure Rclone with Google Drive:
Follow the prompts to add a new remote connection, name it (e.g., “gdrive”), select Google Drive as the storage type, and authenticate with your Google Drive account.
Once it’s configured, you can mount your Google Drive
Using google-drive-ocamlfuse:
google-drive-ocamlfuse is a FUSE-based file system backed by Google Drive.
First, add the necessary PPA and install the software:
Authenticate google-drive-ocamlfuse with your Google Drive account:
This will open a new tab in your web browser asking for permissions. Once you allow the permissions, you can close the tab and return to the terminal.
Now, you can create a directory and mount your Google Drive:
Each approach has its pros and cons. Rclone is highly flexible and powerful, but it requires comfort with the command line. google-drive-ocamlfuse is a bit simpler, but it’s not as feature-rich as Rclone.
Let me know if that helps!