GCP - Setup clients in different VPC to mount using VPC Peering with Internal LB

In GCP, the Elastifile cluster is configured in VPC A, and the clients are configured in VPC B.

Both in the same zone and project.


  1. Configure Internal Load Balancer in VPC A.
    1. Health checks with the following configurations:
    2. using tcp and port 111
    3. interval - 5 sec 
    4. timeout - 5 sec
    5. threshold - 3 
  2. Create an Instance Group in VPC A, with the ECFS nodes. see the following image for example:
  3. Add the Instance Group (from step 2) to the Internal Load Balancer Backend.
  4. Add the following ports to the Internal Load Balancer Frontend: 
  5. See the following image for Internal Load Balancer( for example... ):
  6. Create 2x VPC Network Peering, one for VPC A --> VPC B, and the second for VPC B --> VPC A. see the following image for example:

  7. Once the Status is Connected, you can mount the clients from VPC B, to the ECFS in VPC A, using the IP address of the ILB.

  8. Any new instance (node) should be added to the instance group created in step 2 and deleted one should be removed...

Ping or Showmount will not work.  ( due to current limitation of the GCP ILB supporting either TCP or UDP...)

Guy is the author of this solution article.

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.