Thanks for your patience i'm a bit newbie.
I used df -h command i didn't saw anything about the mount i thought I "successfully did", so I tried to replicate your steps.
I mounted my google bucket which localname is 'moodle-jorge' and used the docs & your help to do this.
$ mount -t gcsfuse -o rw,allow_other,nonempty moodle-jorge /mnt/gb <- (actually made sense for (google bucket)
And then run df -h, so it finally shown:
..... some data ....
tmpfs 1.9G 0 1.9G 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup
moodle-jorge 1.0P 0 1.0P 0% /mnt/gb <- Finally!
In the web interface i stopped received the class error (I didn't mess with the config.php this time!)
And when I tried to make a repository, it asked me to create a directory in /var/www/moodledata/ so I created a directory called Videos. How can i get the files from the mounted bucket (/mnt/gb/) shown in the UI in videos directory (/var/www/moodledata/videos/)?
I manually added a video to the Google Storage Bucket (with public views) but it doesn't show in the moodle web UI.
What seems to be the problem? I want to use videos as material for moodle, Upload them on the bucket and then to the moodle, so I don't have to enhance the instance memory on regular pasis, and make it a GS Bucket thing.
One thing i did notice is that if you stop the Google Cloud instance and re run it, the mounted bucket is destroyed. So I need to figure how to make this mount persistent, I suppose this is possible with a start-up script added to instance metadata, so it's not a big deal tho (I wish).
Also i appreciate your concerns about the billing in GCP. I'm a local Google partner :p so it's not a big deal, and you know the phrase: "Whatever the customer asks for."
HAVE A NICE DAY!