Member-only story

A Sample Application using Terraform on Google Cloud: Design and Implementation

Dazbo (Darren Lester)
Google Cloud - Community
3 min readAug 14, 2022
High Level Design — see the documentation site for more

How might you go about designing, building and deploying a repeatable full-stack application on Google Cloud, from scratch?

The answer: use infrastructure-as-code (IaC). Using IaC means that your entire deployment is:

  • Defined in code.
  • Stored in source control, so you have the history of all changes.
  • Self-documenting — i.e. the IaC is itself the low-level design.
  • Is declarative — i.e. you only define what you want to be deployed; you don’t care about how.
  • Automated, fast and entirely repeatable.
  • Idempotent — you can redeploy at any time, and get a predictable result.
  • Completely automatable, i.e. as part of an automated pipeline.

Arguably the best tool for creating your IaC is Terraform. It can be used on any of the major public cloud providers, it is easy to use, and super easy to get started with.

A Sample End-to-End Case Study

I’ve built a dedicated documentation site to describe the design, build and implementation of a sample case study application. This…

--

--

Google Cloud - Community
Google Cloud - Community

Published in Google Cloud - Community

A collection of technical articles and blogs published or curated by Google Cloud Developer Advocates. The views expressed are those of the authors and don't necessarily reflect those of Google.

Dazbo (Darren Lester)
Dazbo (Darren Lester)

Written by Dazbo (Darren Lester)

Cloud Architect and moderate geek. Google Cloud evangelist. I love learning new things, but my brain is tiny. So when something goes in, something falls out!

No responses yet