Become an expert in Terraform for Google Cloud by using Infrastructure as code for provisioning multiple yet consistent environments to increase productivity in no time
Key Features
- Master Terraform state and modules and improve performance of your infrastructure
- Deploy complex architectures on Google Cloud fast and efficiently
- Expert tips and tricks for using Terraform on Google Cloud
Book Description
Terraform is a cross platform tool supporting all major cloud providers and many other technologies using providers. Google Cloud has adopted Terraform as the standard Infrastructure as Code tool but still has its nuances and challenges. This book provides all the knowledge to start using Terraform on Google Cloud and to become an expert at it.
You will be taken on a journey from the basic concepts of Terraform to deploying complex architectures using Terraform. You will be able to use terraform in Google Cloud from various environments, while gaining a good understanding of two essential components of Terraform, the terraform state and modules. Using extensive code examples and starting with a fresh Google Cloud project, you will cover the provisioning of all the resources to create a complete and functioning Google Cloud architecture. You will also be taught the essential concepts of the Terraform language as applied to Google Cloud, and how to deploy complete working architectures at a push of a button. You will wrap up by creating an effective CI/CD pipeline using Google's DevOps Tools Code Repository and Cloud Build.
By the end of this book, you will have gained a thorough understanding of Terraform to build reusable code and utilize public domain Terraform modules to use Google Cloud efficiently and securely.
What you will learn
- Authenticate Terraform in Google Cloud
- Write efficient and reusable Terraform Code using modules
- Managing multiple Environments in Google Cloud
- Integrate Terraform into Google Cloud CI/CD tools
- Use Cloud Build to Run Terraform smoothly
- Provision infrastructure on Google Cloud more consistently
Who This Book Is For
This book is targeted towards Google Cloud architects and engineers who want to increase their productivity by using Terraform to automate the provisioning of Google Cloud deployments. Readers should have a basic understanding of Google Cloud like provisioning resources using the Google Cloud console and using Cloud Shell.
Table of Contents
- Getting Started with Terraform on Google Cloud
- Managing Terraform State in Google Cloud
- Creating Reusable Code using Terraform Modules
- Managing Environments
- Deploying a traditional 3 Tier Architecture
- Deploying a Cloud Native Architecture using Cloud Run
- Deploying GKE
- Building a CI/CD pipeline using Google Tools
- Managing Workflow in Terraform Cloud
- Tips and Tricks for using Terraform on Google Cloud