Limit search to available items
Book Cover
E-book
Author Nordhausen, Bernd, author

Title TERRAFORM FOR GOOGLE CLOUD ESSENTIAL GUIDE learn how to provision infrastructure in Google Cloud securely and efficiently / Bernd Nordhausen
Edition 1st edition
Published Birmingham, UK : Packt Publishing Ltd., 2023

Copies

Description 1 online resource
Contents Cover -- Title page -- Copyright and credits -- Contributors -- Table of Contents -- Preface -- Part 1: Learning the Fundamentals -- Chapter 1: Getting Started with Terraform on Google Cloud -- Technical requirements -- The rise of DevOps -- Infrastructure as Code -- Terraform -- Running Terraform in Google Cloud Shell -- Terraform language -- Terraform workflow -- Running Terraform in your local environment -- Authentication using a service account -- Authentication using a service account and environment variable -- Service account impersonation -- Parameterizing Terraform
Comparing authentication methods -- Summary -- Chapter 2: Exploring Terraform -- Technical requirements -- Understanding the Terraform state -- Interacting with the Terraform state -- Understanding destructive changes -- Avoiding configuration drift -- Additional state commands -- Using the backend state -- Understanding Terraform meta-arguments -- The provider meta-argument -- The count meta-argument -- The for_each meta-argument -- The depends_on meta-argument -- The lifecycle meta-argument -- Using the self_link attribute -- Summary -- Chapter 3: Writing Efficient Terraform Code
Technical requirements -- Terraform types and values -- Using Terraform expressions -- Dynamic blocks -- Conditional expressions -- Terraform functions -- Referencing existing data using data sources -- Using output values -- Tips to develop Terraform code efficiently -- Summary -- Chapter 4: Writing Reusable Code Using Modules -- Technical requirements -- Building modules -- Writing flexible modules -- Sharing modules using Google Cloud Storage and Git repositories -- Using public module repositories -- Summary -- Chapter 5: Managing Environments -- Technical requirements
Google resource hierarchy -- Using workspaces to manage environments -- Using a directory structure to manage environments -- Using remote states -- Using template files -- Managing Terraform at scale -- Summary -- Part 2: Completing the Picture -- Chapter 6: Deploying a Traditional Three-Tier Architecture -- Technical requirements -- Overview -- Laying the foundation -- Provisioning the database -- Provisioning a MIG and global load balancer -- Summary -- Chapter 7: Deploying a Cloud-Native Architecture Using Cloud Run -- Technical requirements -- Overview
Provisioning Redis and connecting it via a VPC connector -- Using Terraform to configure a flexible load balancer for Cloud Run -- Using Terraform to provision Cloud Run services -- To Terraform or not to Terraform -- Summary -- Chapter 8: Deploying GKE Using Public Modules -- Technical requirements -- Overview -- Developing a variable strategy -- Provisioning a network using the public module -- Provisioning a GKE cluster using the public module -- Using workspaces to deploy to development and production environments -- Summary -- Part 3: Wrapping It Up
Summary Become an expert in Terraform on Google Cloud by using Infrastructure as Code for provisioning multiple yet consistent environments to increase productivity in no time Key Features Get up and running with Terraform on Google Cloud Learn Terraform concepts using Google Cloud code examples Apply Terraform to deploy realistic multi-tiered architectures quickly and repeatedly Book Description Google Cloud has adopted Terraform as the standard Infrastructure as Code tool. This necessitates a solid understanding of Terraform for any cloud architect or engineer working on Google Cloud. Yet no specific resources are available that focus on how to use Terraform on Google Cloud. This is the first book that teaches Terraform specifically for Google Cloud. You will take a journey from the basic concepts through to deploying complex architectures using Terraform. Using extensive code examples, you will receive guidance on how to authenticate Terraform in Google Cloud. As you advance, you'll get to grips with all the essential concepts of the Terraform language as applied to Google Cloud and deploy complete working architectures at the push of a button. Finally, you'll also be able to improve your Terraform workflow using Google Cloud native and third-party tools. By the end of this Terraform book, you will have gained a thorough understanding of Terraform and how to use it on Google Cloud, and be able to develop effective Terraform code, build reusable code, and utilize public domain Terraform modules to deploy on Google Cloud faster and more securely. What you will learn Authenticate Terraform in Google Cloud using multiple methods Write efficient Terraform code Use modules to share Terraform templates Manage multiple environments in Google Cloud Apply Terraform to deploy multi-tiered architectures Use public modules to deploy complex architectures quickly Integrate Terraform into your Google Cloud environment Who this book is for This book is for Google Cloud architects and engineers who want to increase their productivity by using Terraform to automate the provisioning of Google Cloud deployments. A basic understanding of Google Cloud, such as the ability to provision resources using the Google Cloud console and using Cloud Shell, is assumed. Certification in Google Cloud is not required but helpful
Subject Cloud computing.
Cloud computing
Form Electronic book
ISBN 9781804616413
1804616419