- Andreas Bartel
- May 17, 2021
How to Create internal load balancer on Google Cloud Platform.
Internal Load Balancing distributes traffic among internal virtual machine (VM) instances in the same region in a Virtual Private Cloud (VPC) network. It enables you to run and scale your services behind an internal IP address that is accessible only to systems in the same VPC network or systems connected to your VPC network.
- Login to google cloud platform portal.
- Click on Network Services.
- Select Load Balancing.
- Click on Create Load Balancer.
- Select HTTP(S) Load Balancing.
- Click on Start Configuration.
- Select internal-facing load balancing.
- Then click on continue.
- Provide the HTTP(S) load balancer name.
- Select Region.
- Select default or existing network.
- Then click on backend configuration.
- Click on Create a backend service.
- Provide the backend service name.
- Select backend type.
- If needs to add more backends, click on Add backends.
- Select existing instance group name.
- Provide port numbers.
- Click on Done.
- Click on Health check.
- Click on Create a health check.
- Create a new or existing health check so click on link https://www.hackerxone.com/blog/how-create-health-check-google-cloud-platform for how to create a new health check.
- Once Backend service is created then click on Routing rules.
- At routing rules, select the existing backend service.
- Click on Frontend Configuration.
- Provide the frontend configuration name.
- Provide the Subnetwork.
- Click on Done.
- Click on Review & Finalize.
- Then click on Create.
- After sometime load balancing is ready then go to load balancer home page.
- Load balancer is there with the name we provide.