This Terraform Module creates an Internal TCP/UDP Load Balancer using internal forwarding rules.
Google Cloud Platform (GCP) Internal TCP/UDP Load Balancing distributes traffic among VM instances in the same region in a VPC network using a private, internal (RFC 1918) IP address.
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!
- What is Cloud Load Balancing
- Internal Load Balancer Terminology
- Internal 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.
-
test: Automated tests for the submodules and examples.
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.
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 support@gruntwork.io.
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.