My Account Log in

1 option

Terraform for Google Cloud essential guide : learn how to provision infrastructure in Google Cloud securely and efficiently / Bernd Nordhausen.

O'Reilly Online Learning: Academic/Public Library Edition Available online

View online
Format:
Book
Author/Creator:
Nordhausen, Bernd, author.
Language:
English
Subjects (All):
Cloud computing.
Physical Description:
1 online resource (180 pages)
Edition:
1st ed.
Place of Publication:
Birmingham, England ; Mumbai : Packt, 2023.
System Details:
Mode of access: World Wide Web.
Biography/History:
Nordhausen Bernd: Bernd Nordhausen is a seasoned cloud architect with over 25 years of experience working at industry leaders such as Intel and Accenture. He is a Google cloud authorized trainer and holds over a dozen cloud certifications from all three major cloud service providers. Currently working as an independent cloud consultant and Google Cloud trainer, Bernd was previously the technical lead for the Google Cloud practice at Accenture Southeast Asia. In that role, he developed and implemented several large-scale deployments on Google Cloud using Terraform. In a different century, Bernd received his B. Sc. in Mathematics from the University of Alabama, and his M. Sc. and Ph. D. in Computer Science from the University of California, Irvine. When his head is not in the cloud, Bernd is an aspiring woodworker and trail runner.
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.
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
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
Chapter 3: Writing Efficient Terraform Code
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
Chapter 4: Writing Reusable Code Using Modules
Building modules
Writing flexible modules
Sharing modules using Google Cloud Storage and Git repositories
Using public module repositories
Chapter 5: Managing Environments
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
Part 2: Completing the Picture
Chapter 6: Deploying a Traditional Three-Tier Architecture
Overview
Laying the foundation
Provisioning the database
Provisioning a MIG and global load balancer
Chapter 7: Deploying a Cloud-Native Architecture Using Cloud Run
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
Chapter 8: Deploying GKE Using Public Modules
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
Part 3: Wrapping It Up
Chapter 9: Developing Terraform Code Efficiently
VS Code Terraform Extension
Syntax highlighting and validation
Intelligent auto-completion
Code navigation
tflint
Checkov
Terragrunt
Chapter 10: Google Cloud Integration
Using Terraform with Cloud Build
Building a service catalog with Terraform solutions
Importing and exporting Terraform resources
Google Cloud export
Closing thoughts
Index
Other Books You May Enjoy.
Notes:
Includes index.
Includes bibliographical references and index.
Description based on print version record.
ISBN:
9781804616413
1804616419
OCLC:
1356235248

The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.

Find

Home Release notes

My Account

Shelf Request an item Bookmarks Fines and fees Settings

Guides

Using the Find catalog Using Articles+ Using your account