Load balancer on Google Cloud With Google-managed SSL Certificates

MPL
6 min readApr 4, 2020

Introduction

Today I would like to introduce how we could deploy simple web servers with load balancer on Google Cloud, and finally install a Google-managed SSL certificate. Generally, there are two types of load balancers: external and internal. According to Google Cloud document, external load balancers distribute traffic coming from the internet to your Google Cloud Virtual Private Cloud (VPC) network. Global load balancing requires that you use the Premium Tier of Network Service Tiers. For regional load balancing, you can use Standard Tier. Internal load balancers distribute traffic to instances inside of Google Cloud. In this article, we will mainly focus on external load balancer. In this article, I assume that all of you already had a Google Cloud account, if not, please visit here.

In fact, there are also different types of external load balancer. In this article we will go through how to configure HTTP(s) and TCP/UDP load balancer. HTTP(s) load balancer is Layer 7, it usually acts as a proxy server. TCP/UDP load balancer is Layer 4, it usually acts as an ECMP router to route packet to the most suitable backend with reference to health check. For more details, please visit External HTTP(S) Load Balancing overview and External TCP/UDP Network Load Balancing overview.

Solution Diagram

Now, let’s take a look what we will do today:

--

--