How to create a Google Cloud Filestore instance

0 votes
I am using gcloud command line tool. Can somebody help me with creating a Google Cloud Filestore instance?

Thanks.
Oct 23, 2019 in GCP by Karan
• 19,610 points
1,714 views

1 answer to this question.

0 votes

Create an instance by running the instances create command, replacing [VALUES_IN_BRACKETS] with the appropriate values:

gcloud filestore instances create [INSTANCE_ID] \ --project=[PROJECT_ID] \ --zone=[ZONE] \ --tier=[TIER] \ --file-share=name="[FILESHARE_NAME]",capacity=[FILESHARE_SIZE] \ --network=name="[VPC_NETWORK]",reserved-ip-range="[RESERVED_IP_ADDRESS]"

where the parameters are as follows:

  • [INSTANCE_ID] is the identifier you specify for the instance.

  • [PROJECT_ID] is the ID of the GCP project in which to create the instance.

  • [ZONE] is the GCP zone in which to create the instance.

  • [TIER] is the Cloud Filestore service tier you want to use

  • [FILESHARE_NAME] is the name you specify for the NFS fileshare that is served from the instance. 

  • [FILESHARE_SIZE] is the size you want for the fileshare.

  • [VPC_NETWORK] is the name of the VPC network you want the instance to use. 

  • [RESERVED_IP_ADDRESS] is the IP address range for the Cloud Filestore instance.

For a better understanding refer to https://cloud.google.com/filestore/docs/creating-instances#create-instance-gcloud 

Hope it works!!

To become a Google certified professional cloud architect, join GCP Training today.

Thanks!

answered Oct 23, 2019 by Sirajul
• 59,230 points

Related Questions In GCP

0 votes
1 answer

How to create a Cloud Filestore instance in GCP?

Hi@MD, You can create a Cloud Filestore instance in ...READ MORE

answered Nov 10, 2020 in GCP by akhtar
• 38,260 points
836 views
0 votes
1 answer

How to delete a project from Google Cloud Console

First of all, select the project you ...READ MORE

answered Apr 18, 2018 in GCP by kurt_cobain
• 9,350 points
2,885 views
0 votes
1 answer

How do I create a Google Cloud Platform (GCP) account?

In order to access the services provided ...READ MORE

answered Sep 20, 2019 in GCP by Sirajul
• 59,230 points
2,749 views
0 votes
1 answer

How do I create a VPCN (Virtual private cloud network) on Google Cloud?

You can connect various GCP resources to each ...READ MORE

answered Sep 23, 2019 in GCP by Sirajul
• 59,230 points
1,815 views
0 votes
1 answer

GCP Error: 403: Access Denied

Check that your credentials are correct. For ...READ MORE

answered Oct 9, 2019 in GCP by Sirajul
• 59,230 points
3,984 views
0 votes
1 answer

Permissions issue with Google Cloud Storage Bucket.

You can regain access to the object by assigning an applicable role, like roles/storage.objectAdmin, to ...READ MORE

answered Oct 10, 2019 in GCP by Sirajul
• 59,230 points
4,916 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP