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 in GCP by Karan
• 5,700 points
12 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 

answered Oct 23 by Sirajul
• 37,930 points

Related Questions In GCP

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,260 points
175 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 in GCP by Sirajul
• 37,930 points
51 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 in GCP by Sirajul
• 37,930 points
30 views
0 votes
1 answer

GCP Error: 403: Access Denied

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

answered Oct 9 in GCP by Sirajul
• 37,930 points
23 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 in GCP by Sirajul
• 37,930 points
49 views
0 votes
1 answer