Google load Balancer (GLB) - 2

Google load Balancer (GLB) - 2

ยท

2 min read

Today we will use HTTPS Load Balancing for this lab

HTTPs Load Balancer mostly used for Global in layer 7.

In order to use https Load Balancing you should have instance group

Yesterday we have done lab on Instance group, If you have deleted your instance group you can create and refer this link :- bvakash.hashnode.dev/google-instance-group-..

Step 1:- Expand services scroll down you should see Networking under that Network services followed by Load Balancing.

image.png

Step 2:- Click on create Load Balancer.

image.png

Step 3:- Choose HTTPs Load Balancing.

image.png

Step 4:- Everything will be default and click on continue.

image.png

Step 5:- In frontend Configuration, Name your frontend Configuration, Make sure you have chose HTTP protocol and port 80, Finally click done.

image.png

Step 6:- Click on create Backend service.

image.png

Step 7:- Name your Backend service, Backend Type should be instance group, protocol to be HTTP.

image.png

Step 8:- Choose your instance group.

image.png

Step 9:- After choosing instance group, give a port number 80 and click done.

image.png

Step 10:- In Health, Click on create health check.

Health Check in Load Balancer is used to allow traffic to a healthy machine, But there is a Health check in Instance group also which is used for auto healing, If suppose one of the instance has issue, Health check will know and instance group will help to get a new healthy instance.

image.png

Step 11:- Name your health check, Protocol should be HTTP and port 80 finally click save.

image.png

Step 12:- Choose Health check and click create.

image.png

Step 13:- Name your HTTPs load Balancer and click create.

image.png

Step 14:- Go inside your Load Balancer and copy, Paste your Load Balancer IP address.

image.png

Step 15:- You should see your traffic has been balanced across servers.

chrome_oIFPIJ7udC.gif

Finally we deployed HTTPs load Balancer using instance group.

That's it, for now, we will continue further more in next blog.

Hope you liked it. Will see you on the next topic ๐Ÿ˜ƒ

Next Topic

bvakash.hashnode.dev/google-static-ip-address

ย