Giter Club home page Giter Club logo

multi-region-cloud-run-terraform's Introduction

Multi Region Cloud Run Terraform

Build Status

This repository contains the partner codebase for Rob Charlwood's Medium tutorial - "Multi Region Load Balancing with GO and Google Cloud Run - Part 2".

Checkout and setup

To work with this codebase, you will require the below to be setup and configured on your machine.

  • terraform at version 0.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"

Running the terraform

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 those interested

For people with a curious nature, the main meat of the infrastructure that makes multi region load balancing possible lies here.

Continuous Integration

This project uses Travis CI for continuous integration. This platform runs the project tests automatically when a PR is raised or merged.

Versioning

This project uses git for versioning. For the available versions, see the tags on this repository.

Authors

  • Rob Charlwood - Bitniftee Limited

Changes

Please see the CHANGELOG.md file additions, changes, deletions and fixes between each version.

License

This project is licensed under the CC0-1.0 License - please see the LICENSE.md file for details.

multi-region-cloud-run-terraform's People

Contributors

robcharlwood avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.