liveBook · Manning

Anthos-gke

As explained in Google Anthos in Action

anthos-gke is a command-line binary for installing and managing GKE on AWS environments.

anthos-gke is a command-line binary used in the GKE on AWS installation and management workflow. It uses Terraform to generate declarative infrastructure definitions for AWS resources, including load balancers and EC2-based cluster nodes. section 5.2.2

A typical GKE on AWS workflow includes:

  • Obtain an AWS Key Management Service key before initializing the management service. section 5.2.2
  • Initialize and apply the management service with anthos-gke aws management init and anthos-gke aws management apply. section 5.2.2
  • Connect through the generated bastion-tunnel.sh script when performing operations through the management service. section 5.2.2
  • Define user-cluster infrastructure with AWSCluster and AWSNodePool resources, including regions, versions, and node-count limits. section 5.2.2
  • Use node pools to provide different machine sizes within a cluster and scale between configured minimum and maximum counts. section 5.2.2

Management and cluster configuration

A management service can be applied with anthos-gke aws management init followed by anthos-gke aws management apply. An AWSCluster manifest can specify region: us-east-1 and a target GKE version, while an AWSNodePool manifest sets minNodeCount: 3 and maxNodeCount: 10. section 5.2.2

Figure 5.12 GKE on AWS architecture
05-12

Use the architecture diagram to relate the management service, AWS infrastructure, load balancer, EC2 instances, and user clusters. section 5.2.2

How Google Anthos in Action covers it

How deep it goes
Explains the Terraform-backed installation workflow, bastion access, manifests, and node pools, but defers complete platform documentation.
Examples
Uses management commands, AWSCluster and AWSNodePool manifests, bastion-tunnel.sh, and Terraform-generated infrastructure.
What it assumes
Assumes AWS and cluster-management familiarity while identifying AWS KMS, a bastion host, and Terraform as installation requirements.
What you can do after
Operate/configure GKE on AWS management services and user clusters through anthos-gke, Terraform-generated definitions, and Kubernetes resources.
How it connects
Connects GKE on AWS with Terraform, AWS KMS, EC2, bastion hosts, user clusters, management services, and node pools.

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.