Google Cloud (GCP)

7 Mins Read

Unleashing the Power of Filestore in GCP: A Comprehensive Guide

Voiced by Amazon Polly

Introduction to Filestore

Filestore makes it possible to migrate applications to the cloud quickly and easily by avoiding the need for rewriting or rearchitecting.

Applications running on Compute Engine virtual machine (VM) instances, Google Kubernetes Engine clusters, external datastores like Google Cloud VMware Engine, or your on-premises machines can all use Filestore instances, which are fully managed NFS file servers on Google Cloud. Are you unsure about the best storage product for you? Find out more about our services for storing.

Why Filestore?

Block, file, and object storage are the three primary forms of data storage that Google Cloud provides.

Filestore is a type of file storage that allows several concurrent application instances to access the same file system at once. This multiwriter access support, for instance, provides a strong substitute for block storage solutions that only support single write access, like Persistent Disk, for users of Google Kubernetes Engine.

Stand out from the competition. Upskill with Google Cloud Certifications.

  • Certified Instructors
  • Real-world Projects
Enroll now

Service Tiers

Filestore provides several service tiers with different features, capacities, and performance levels. Every service tier is designed with particular use cases in mind:

  • Basic tier – File sharing, web hosting, software development, and fundamental AI.
  • Enterprise tier – Workloads that are mission-critical and demand high availability.
  • Zonal tier – Large data sets, advanced AI, media rendering and transcoding, HPC, batch computing, and EDA

Protocol Support

Filestore supports any client that is NFSv3-compatible and operates on the Filestore instance using the NFSv3 file system protocol.

Connectivity

Any client connected to the same VPC network, including shared VPC networks, can establish a connection with a Filestore instance. Moreover, you can use Cloud VPN or Cloud Interconnect to establish a connection with clients on distant networks, like an on-premises computer.

Reliability

The reliability of Filestore instances is covered in the ensuing sections.

  • Zonal instances

Basic and regional levels Filestore instances are zonal resources that safeguard your data from equipment failure by providing in-zone storage redundancy. On the other hand, the instances that are located in a zone become unavailable for the period that the zone is down if an outage or data center maintenance causes the zone to go down.

Even in the event that the region experiences one or more zone failures, you are still able to create basic- and zonal-tier instances for any operational zone.

  • Regional instances

Filestore instances at the enterprise tier are local resources. Enterprise-tier instances keep serving data and taking in new writes even in the event of a zone failure, so clients are not made aware of the failure. Furthermore, Filestore complies with NFS’s stringent consistency policy. Filestore does not provide an acknowledgment when a client writes data until the modification is maintained, even in the event of a zone failure, so that subsequent reads yield the accurate data.

The Filestore Cloud Console or API functions might not be accessible for a few hours during a zone failure. While NFS data access is unaffected by enterprise instances, you might notice a slight drop in performance while the zone heals. Additionally, if a region is having zone failures, you are unable to create an enterprise instance there.

Key Features

  • Scales to meet needs of high-performance workloads

Filestore provides applications with low latency storage operations. Filestore offers capacity up to 100 TB, throughput of 25 GB/s, and 920K IOPS for workloads that are latency sensitive, such as high performance computing, data analytics, or other metadata-intensive applications.

  • 99% regional availability SLA supports enterprise apps

Filestore Enterprise is designed for mission-critical applications (like SAP) that need to be available in multiple regions in order to function normally during a zonal outage. Get a head start on your cloud migration by not having to rewrite your apps.

  • Protect your data with backups and snapshots

Filestore makes data protection simple by providing instantaneous backups and snapshots. Take snapshots of your instances whenever necessary, schedule regular backups, or backup the file share’s data and metadata. In terms of data recovery, you should be able to retrieve most or all of your data from a previous snapshot recovery point in under ten minutes.

  • Scale GCVE datastore capacity independently from compute

As NFS datastores with Google Cloud VMware Engine, Filestore High Scale and Filestore Enterprise have received VMware certification. To satisfy the compute and storage needs of your storage-intensive virtual machines, appropriately scale your vCPUs and storage capacity separately. Scale Filestore from TBs to PBs for the capacity-hungry virtual machines and take advantage of vSAN for low latency requirements.

  • Filestore offers three performance tiers:
Features Filestore Basic (HDD & SSD) Filestore Enterprise Filestore High Scale
Best for: Web hosting, software development, GKE, and file sharing Workloads related to GKE, Compute Engine, and critical applications (like SAP) High performance computing encompasses high performance workloads such as financial services trading analysis and genome sequencing.
Capacity 1-63.9 TiB (HDD)

 

2.5-63.9 TiB (SSD)

1-10 TiB 10-100 TiB
Max sequential read throughput (MB/s) 180 (HDD)

 

1,200 (SSD)

1,200 26,000
Max random read IOPS 1,000 (HDD)

 

60,000 (SSD)

57,000 960,000

 

Supported Regions

For more information related to supported regions and zones, please click on the following link.
Regions and zones  |  Filestore  |  Google Cloud

Steps to Perform Filestore Lab

  1. Login to GCP console.
  2. Create VPC and 2 Subnets and allow the firewall rule.
  3. Go to the menu and click on VPC network and again click on VPC networks.

  1. Click on create VPC network.

  1. Give the name to the VPC and select custom under subnet creation mode. Create the 2 subnets.

  1. Give the name to the subnet and the IP range as 10.0.0.0/24. Click on done.

  1. Add one more subnet. Click on add subnet and add the details as above.  Put the IP address as 10.0.1.0/24.

  1. Add all the firewall rules as below.

 

  1. Click on create.  This will create your custom VPC with 2 subnets.

 

Creating Firewall Rule

  1. Search Firewall in the search bar and click on Create Firewall rule.

  1. Once you click on create firewall rule, fill the details as below –
    1. Name – filestore
    2. Targets – Specified target tags
    3. Target tags – filestore
    4. IPV4 sources ranges – 0.0.0.0/0
    5. Protocols and Ports – Allow all.
    6. Click on create

 

Create Filestore

  1. Click on search bar and search for Filestore and click on create instance.

 

  1. Please fill the details as below –
    1. Name – Filestore
    2. Sample instance – Basic
    3. Storage type – HDD
    4. Region – asia-east1
    5. VPC Network – Select the VPC that we have created
    6. configure your file share – mynfs
    7. keep the rest as it is and click on create.

Create 2 Virtual Machine Instances

  1. Click on the menu, select Compute Engine and select VM instances and select create instances.

 

  1. Create 2 instances with the names as below
    1. Name – Instance1 and instance2
    2. Machine Type – N1
    3. Boot Disk – select OS as CentOS
    4. Firewall – Allow HTTP and HTTPS traffic
    5. Under Advanced options –
    6. Network tags – select the firewall rule we created – filestore.
    7. Under Edit Network Interface
    8. Network – Demo
    9. Subnetwork – Select subnet1 and click on done.
    10. click on create.

  1. Once you create both the instances it will look as below –

 

  1. Now ssh both the instances and run the below commands –

  1. Now copy the mount point from the filestore we have created, and this will be used in the commands.

  1. Now run the following commands on both the instances –

  1. Run the below command on both the vms

create 3 text file in instance 1 and just ls in the instance 2, all the 3 files will be shown.

This means that we have successfully installed the filestore in both the instances.

 

Train your workforce to leverage the cloud

  • Contemplating Migrating Workload to Cloud?
  • Here is a Hassle Free Solution
Get Started Now

About CloudThat

CloudThat is a leading provider of Cloud Training and Consulting services with a global presence in India, the USA, Asia, Europe, and Africa. Specializing in AWS, Microsoft Azure, GCP, VMware, Databricks, and more, the company serves mid-market and enterprise clients, offering comprehensive expertise in Cloud Migration, Data Platforms, DevOps, IoT, AI/ML, and more.

CloudThat is the first Indian Company to win the prestigious Microsoft Partner 2024 Award and is recognized as a top-tier partner with AWS and Microsoft, including the prestigious ‘Think Big’ partner award from AWS and the Microsoft Superstars FY 2023 award in Asia & India. Having trained 650k+ professionals in 500+ cloud certifications and completed 300+ consulting projects globally, CloudThat is an official AWS Advanced Consulting Partner, Microsoft Gold Partner, AWS Training PartnerAWS Migration PartnerAWS Data and Analytics PartnerAWS DevOps Competency PartnerAWS GenAI Competency PartnerAmazon QuickSight Service Delivery PartnerAmazon EKS Service Delivery Partner AWS Microsoft Workload PartnersAmazon EC2 Service Delivery PartnerAmazon ECS Service Delivery PartnerAWS Glue Service Delivery PartnerAmazon Redshift Service Delivery PartnerAWS Control Tower Service Delivery PartnerAWS WAF Service Delivery Partner and many more.

To get started, go through our Consultancy page and Managed Services PackageCloudThat’s offerings.

WRITTEN BY Babajan Tamboli

Share

Comments

    Click to Comment

Get The Most Out Of Us

Our support doesn't end here. We have monthly newsletters, study guides, practice questions, and more to assist you in upgrading your cloud career. Subscribe to get them all!