Steps to create Filestore in GCP
Step 1: Click on menu and select the filestore under the storage group.
Step 2: Click on create instance as shown image below.
Step 3: Enter the filestore details like instance id, select the instance type based on our requirement. Selct the storage type.
Step 4: Provide the more details like storage, region, vpc network and fileshare name as shown image below. After all details provided click on create it will take few minutes to create filestore.
Step 5: Below image shows the filestore created on GCP
Mount the filestore to clint systems for that we need to follow the below process. Make sure you need to allow the required ports under the network.
Step 7: Below command we need to install nfs-common to connect the nfs server. On the client server, we need to install a package called nfs-common
, which provides NFS functionality without including any server components.
sudo apt install nfs-common
Step 8: Below image shows the mount point of filestore
Step 9: Create directory on client machine
mkdir gfg
Below command used for mount the file store to client machine. For parminant solution we can provide the mount path on fstab for more detals follow the official documentation.
sudo mount 10.150.136.122:/gfgnfs gfg
Step 10: If you want delet the filestore you can follow the below proceess.
How To Create File Store In GCP ?
In other words, a Google Cloud Platform (GCP) is like having a high-performance shared drive in the cloud. It’s a service that makes creating and managing file and application storage easy. Filestore is meant to manage tasks like file serving to websites and storing application data that needs to be shared among numerous users or systems. It enables you to store and access your data securely. It’s an easy and reliable way to arrange and handle your data and files on the cloud.