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.

Step by Step Guide

  1. Configure Internal Load Balancer in VPC A.
    Health checks with the following configurations:
    1. using tcp and port 111
    2. interval - 5 sec 
    3. timeout - 5 sec
    4. 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 two 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.


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

Was this helpful?
How can we improve it?
Clear search
Close search
Google apps
Main menu
Search Help Center