liveBook · Manning

Terraform

As explained in Google Anthos in Action

Terraform is an open-source infrastructure-as-code tool for provisioning and managing infrastructure through declarative configuration.

Terraform is an open-source infrastructure-as-code tool for defining a target computing environment declaratively. Terraform providers map cloud provisioning APIs to configuration, allowing generated code to describe infrastructure such as load balancers and AWS EC2 instances. section 5.2.2

In GKE on AWS, anthos-gke uses Terraform to generate infrastructure code, while the Terraform AWS provider instantiates the required AWS resources. Sample Terraform code can simplify installation by reducing reliance on a bastion host and management server. section 5.2.2

GKE on AWS installation

Use the supplied Terraform sample to describe the GKE on AWS environment, including cluster components and AWS-backed infrastructure, instead of manually assembling each resource. section 5.2.2

Figure 5.12 GKE on AWS architecture
05-12

Inspect the GKE on AWS architecture to relate Terraform-managed AWS resources to the wider cluster deployment. section 5.2.2

How Google Anthos in Action covers it

How deep it goes
Explains declarative configuration, target state, providers, and generated code, but does not detail Terraform command execution.
Examples
Uses GKE on AWS installation, an AWS provider, generated Terraform code, EC2 instances, and load balancers.
What it assumes
Assumes familiarity with GKE on AWS and cloud infrastructure while defining Terraform and providers explicitly.
What you can do after
Build GKE on AWS infrastructure from declarative configuration through Terraform providers.
How it connects
Connects infrastructure as code with cloud providers, provisioning APIs, GKE on AWS, EC2, and load balancers.

Also explained in

Compare how 5 books explain Terraform →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Google Anthos in Action. The section links point to the parts of the book it draws on.