Skip to content
Switch branches/tags

Cloud Load Balancer Modules

Maintained by GitHub tag (latest SemVer) Terraform Version

This repo contains modules to perform load balancing on Google Cloud Platform (GCP) using Google Cloud Load Balancing.

Cloud Load Balancer Architecture

Cloud Load Balancer Architecture


  • 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


This repo is a part of the Gruntwork Infrastructure as Code Library, a collection of reusable, battle-tested, production ready infrastructure code. If you’ve never used the Infrastructure as Code Library before, make sure to read How to use the Gruntwork Infrastructure as Code Library!

Core concepts

Repo organisation

This repo has the following folder structure:


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.


Day-to-day operations


If you need help with this repo or anything else related to infrastructure or DevOps, Gruntwork offers Commercial Support via Slack, email, and phone/video. If you’re already a Gruntwork customer, hop on Slack and ask away! If not, subscribe now. If you’re not sure, feel free to email us at


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, and run your changes through our automated test suite.

Please see Contributing to the Gruntwork Infrastructure as Code Library for instructions.


Please see LICENSE for details on how the code in this repo is licensed.

Copyright © 2019 Gruntwork, Inc.