This repository contains the partner codebase for Rob Charlwood's Medium tutorial - "Multi Region Load Balancing with GO and Google Cloud Run - Part 2".
To work with this codebase, you will require the below to be setup and configured on your machine.
terraform
at version0.13.2
To set this codebase up on your machine, you can run the following commands:
git clone [email protected]:robcharlwood/multi-region-cloud-run-terraform.git
cd multi-region-cloud-run-terraform
Next up, You'll need your terraform service account key from part 1 of the tutorial placed into a .keys
directory in the root of
this checked out repo.
Then you need to update the terraform.tfvars
with details applicable to your project e.g
project = "multi-region-cloud-run"
region = "europe-west1"
image_name = "multi-region-cloud-run"
image_version = "0.0.1"
registry = "eu.gcr.io"
domain = "example.com"
Once all setup above is completed, you can run in the terraform with the below commands to provision all the required infrastructure.
terraform init
terraform plan
terraform apply
For people with a curious nature, the main meat of the infrastructure that makes multi region load balancing possible lies here.
This project uses Travis CI for continuous integration. This platform runs the project tests automatically when a PR is raised or merged.
This project uses git for versioning. For the available versions, see the tags on this repository.
- Rob Charlwood - Bitniftee Limited
Please see the CHANGELOG.md file additions, changes, deletions and fixes between each version.
This project is licensed under the CC0-1.0 License - please see the LICENSE.md file for details.