How to Create internet-facing Network(TCP) layer load balancer on Google Cloud Platform.

Google Cloud external TCP/UDP Network Load Balancing (after this referred to as Network Load Balancing) is a regional, pass-through load balancer. A network load balancer distributes TCP or UDP traffic among virtual machine (VM) instances in the same region.

A network load balancer can receive traffic from:

  1. Any client on the internet
  2. Google Cloud VMs with external IPs
  3. Google Cloud VMs that have internet access through Cloud NAT or instance-based NAT.

 

  • Login to google cloud platform portal.
  • Click on Network services.
  • Select Load balancing.

 

Fig 1

 

  • Click on Create load balancer.

 

Fig 2

 

  • Select TCP Load Balancing.
  • Click on Start Configuration.

 

Fig. 3

 

  • Select internet-facing load balancer.
  • Select Single Region only.
  • Select Target Pool or Backend service as a backend type.

 

Fig. 4

 

Target Pool

  • If select Target pool as a backend type then click on continue.
  • Provide the TCP load balancer name.
  • Click on Backend configuration.

 

Fig. 3

 

 

Fig. 4

 

 

 

Fig. 5

 

 

  • At backend configuration page select create or existing health check & select session affinity.

 

Fig. 6

 

 

Fig. 7

 

  • Next click on frontend configuration.
  • Provide frontend configuration name.
  • Select Standard or Premium Network service tier.
  • Provide port number.
  • Click on Done.

 

Fig. 8

 

  • Click on Review & Finalize.

 

Fig 9

 

  • Click on Create.

 

Fig 10

 

 

Backend Service

 

  • If select backend service as a backend type then click on continue.

 

Fig 11

 

  • Provide TCP load balancer name.
  • Click on backend configuration.

 

Fig 12

 

  • Provide the backend configuration name.
  • Select Region.
  • If needs to add more backends so click on Add backends.

 

Fig.13

 

 

Fig 14

 

 

Fig 15

 

  • Next click on frontend configuration.
  • Provide the frontend configuration name.
  • Select Standard or Premium Network Service tier.
  • Provide port numbers.
  • Click on Done.

 

Fig 17

 

  • Next click on Review & Finalize.
  • Click on Create.

 

Fig 18

 

  • After sometime TCP load balancer is ready then go to load balancing home page.
  • TCP Load Balancer is there with the name we provide.

 

Fig 19

 

Leave a Reply