This repo contains modules to perform load balancing on Google Cloud Platform (GCP) using Google Cloud Load Balancing. It's based on Gruntwork similary named module.
- Load balance HTTP and HTTPS traffic across multiple backend instances, across multiple regions with HTTP(S) Load Balancing.
- Load balance internal TCP/UDP traffic with Internal Load Balancing
- Load balance external TCP/UDP traffic with Network Load Balancing
- What is Cloud Load Balancing
- HTTP(S) Load Balancer Terminology
- Internal Load Balancer Terminology
- Network Load Balancer Terminology
- Cloud Load Balancing Documentation
This repo has the following folder structure:
-
root: The root folder contains an example of how to deploy a HTTP Load Balancer with multiple backends. See http-multi-backend example documentation for the documentation.
-
modules: This folder contains the main implementation code for this Module.
The primary modules are:
- http-load-balancer is used to create an HTTP(S) External Load Balancer.
- internal-load-balancer is used to create an Internal TCP/UDP Load Balancer.
- network-load-balancer is used to create an External TCP/UDP Load Balancer.
-
examples: This folder contains examples of how to use the submodules.
If you want to try this repo out for experimenting and learning, check out the following resources:
- examples folder: The
examples
folder contains sample code optimized for learning, experimenting, and testing.
- How to configure a custom domain
- How to configure SSL
- How to configure access logging and monitoring
If you need help with this repo - create an issue.
Contributions to this repo are very welcome and appreciated! If you find a bug or want to add a new feature or even contribute an entirely new module, we are very happy to accept pull requests, provide feedback.
Please see LICENSE for details on how the code in this repo is licensed.
Copyright © 2022 Estivador.