Filestore is Google Cloud’s managed file server. It serves a file share over NFS, the standard network file system protocol, so that a virtual machine can use it like a folder on its own disk. Mounting is the step that makes that connection, and several VMs can mount the same share to work on the same files.
Getting the mount working is quick, but there are three things the basic steps do not cover. The share has to be reachable, meaning the VM and the Filestore instance must be in the same project and VPC network. The mount has to be writable by the people who need it. And a manual mount is gone the next time the VM restarts, so anything you rely on needs a permanent entry.
This walks through installing the NFS client, creating a local folder, mounting the share, and confirming it worked, then making it writable, keeping it across reboots, and mounting a subdirectory.
Open the console, then the menu, then Compute Engine, then VM instances.

Find the VM you want to use as the client and click SSH next to it.

On Debian or Ubuntu:
sudo apt-get -y update
sudo apt-get install nfs-common
On RedHat or CentOS:
sudo yum install nfs-utils

Create the folder the file share will appear in, for example a folder named filestore under mnt:
sudo mkdir -p MOUNT_POINT_DIRECTORY

In the console, open Filestore, then Instances, and click your instance.

Copy the NFS mount point shown for the instance. It combines the instance’s IP address and the file share name, and it is what you give the mount command.

Replace the first placeholder with the NFS mount point you copied, and the second with the folder you made in Step Four:
sudo mount -o rw IP_ADDRESS:/FILE_SHARE MOUNT_POINT_DIRECTORY

df -h –type=nfs
The original page typed the option with an en dash, which makes the command fail. It needs two real hyphens. The output should list your file share with its size.

After mounting, the folder may not be writable by every user who needs it. Google’s guide handles this with a chmod command. For example, this lets the group that owns the folder and all other users read and write:
sudo chmod go+rw MOUNT_POINT_DIRECTORY
Choose the permissions that fit your situation, and avoid opening a folder wider than the people using it need.
A mount made with the command above is gone when the VM restarts. Google’s documentation says to use fstab or autofs to keep a share mounted. For fstab, open the file:
sudo nano /etc/fstab
Add one line, using your own values:
IP_ADDRESS:/FILE_SHARE MOUNT_POINT_DIRECTORY nfs defaults,_netdev 0 0
The _netdev option marks this as a network mount, so the system waits for the network before trying it. To test the entry without restarting, run the following, which mounts everything listed in fstab:
sudo mount -a
To create a subdirectory on the mounted share:
sudo mkdir -p MOUNT_POINT_DIRECTORY/SUBDIR
To mount just that subdirectory, give it its own empty local folder and point the mount command at the share path plus the subdirectory name:
sudo mkdir -p SUBDIR_MOUNT_POINT
sudo mount -o rw IP_ADDRESS:/FILE_SHARE/SUBDIR SUBDIR_MOUNT_POINT
Confirm both mounts:
df -h –type=nfs

That covers mounting a Filestore file share on a Compute Engine VM, and making the mount writable and permanent. To go further, explore Prwatech’s Google Cloud training program, which includes placement assistance.