liveBook · Manning

GKE on AWS

As explained in Google Anthos in Action

GKE on AWS is Google's managed Kubernetes distribution that runs cluster control and worker components on Amazon Web Services infrastructure.

GKE on AWS runs GKE clusters on AWS infrastructure rather than creating EKS clusters. AWS console users see admin and user cluster nodes as individual EC2 instances, while Anthos distinguishes the responsibilities associated with each cluster type. section 5.2.2 section 10.2

Figure 5.12 GKE on AWS architecture
05-12

Use the architecture diagram to relate the AWS load balancer, EC2 virtual machines, admin cluster, user cluster, and management components. section 5.2.2

Key deployment and operations characteristics include:

  • Install clusters with gcloud container aws clusters create; Terraform users can generate infrastructure code through anthos-gke. section 5.2.2
  • Provision infrastructure declaratively through the Terraform AWS provider, including load balancers and EC2 virtual machines. section 5.2.2
  • Use node pools to support different machine sizes within a cluster and define minimum and maximum node counts. section 5.2.2
  • Keep administrative workloads away from admin clusters, which exist to monitor and administer user clusters. section 5.2

Creating and managing a cluster

A typical workflow obtains an AWS KMS key, generates or applies Terraform-backed infrastructure, initializes the management service, retrieves credentials, and edits AWSCluster or AWSNodePool resources with kubectl. Management operations require connecting to the deployed bastion host. section 5.2.2

How Google Anthos in Action covers it

How deep it goes
Explains EC2 architecture, Terraform provisioning, node pools, bastion administration, and CLI installation, while deferring fuller architecture to documentation.
Examples
Uses gcloud commands, Terraform output, AWSCluster and AWSNodePool manifests, and anthos-gke management commands.
What it assumes
Requires an AWS KMS key and bastion-host access for management operations.
What you can do after
Operate/configure AWS-hosted GKE clusters with gcloud, anthos-gke, Terraform, and kubectl.
How it connects
Connects Anthos to AWS, Terraform, AWS KMS, EC2, node pools, bastion hosts, and EKS.

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.