MJN All Blog Cheatsheets Elasticsearch GCP JS LinuxBash Misc Notes Other ShortcutKeys / - Search

Home / GCP / GCP Training / Section 2 - GCS - Instance Groups and Load Balancing


Contents

Instance Groups

Two Types of Instance Groups:

Managed : Identical VMs created using an instance template:

Unmanaged : Different configuration for VMs in same group:

Can be in a single Zone or over a Region.

Managed Instance Groups

Auto Scaling

Can configure:

Rolling Updates

Cloud Load Balancing

Distributes user traffic across instances of an application in single region or multiple regions.

Need to Configure

SSL/TLS Termination/Offloading

LB is performing Termination/Offloading. This reduces load on the VM instances as they don’t need to manage SSL.

Choosing a Load Balancer

(https://cloud.google.com/load-balancing/images/choose-lb.svg)

Cloud Load Balancing Features

Load Balancer Traffic Type Proxy/Pass-through Dest’ Ports
External HTTP(S) Global, External, HTTP(S) Proxy HTTP 80/8080, HTTPS 443
Internal HTTP(S) Regional, Internal, HTTP(S) Proxy HTTP 80/8080, HTTPS 443
SSL Proxy Global, External, TCP with SSL offload Proxy Many
TCP Proxy Global, External, TCP without SSL offload Proxy Many
External NW TCP/UDP Regional, External, TCP/UDP Pass-through Any
Internal NW TCP/UDP Regional, Internal, TCP/UDP Pass-through Any

Load Balancing Across Multiple Instance Groups in Multiple regions

Load Balancing Scenarios

Scenario 1 - Multi Regional Microservice

Scenario 2 - Multiple Microservices

Availability

Highly Available Architecture:

Advantages:

Scalability

Live Migration

Availability Policy:

Security

Performance

Resiliency

Sustained Use Discounts

Committed Use Discounts

Preemptible VMs / Spot VMs

Preemptible VMs

Spot VMs

As per preemptible but with no maximum runtime of 24 hours.

Billing


This page was generated by GitHub Pages. Page last modified: 22/12/21 20:18