liveBook · Manning

Chapter 7: Platform control plane foundations

What you will learn in chapter 7 of Effective Platform Engineering

Introduces self-healing as a foundation for Epetech’s engineering platform and explains why Kubernetes serves as its control plane.

After this chapter you will be able to

What it builds on

Section by section

Introduction

Introduces self-healing as a foundation for Epetech’s engineering platform and explains why Kubernetes serves as its control plane.

Key terms: resilient, self-healing, actual state, desired state, Kubernetes, Kubernetes API, orchestration logic, control plane

7.1 Cloud account baseline

Defines the cloud account baseline as a domain for account-wide configuration and distinguishes it from administrative identity.

Key terms: accounts, account baseline configuration, administrative identity, cloud account baseline domain, account-level resources

7.1.1 Account baseline security scanning

This section explains who can own account-level security baselines, what those baselines can include, and how recurring scans and configuration jobs keep accounts compliant.

Key terms: account-level baseline security configuration, infrastructure-provider accounts, cloud account baseline domain, baseline security configuration, permission boundaries, account-level logs, centralized log aggregator, recurring, idempotent job, recurring scan, automatically corrected

7.1.2 Account baseline observability

This section explains where account-level observability begins in the platform build and why customer identity matters when choosing observability tools.

Key terms: Platform and Cloud Cost axes, cloud account-level components, AWS account-level services, customer identity, cloud provider infrastructure IAM, self-serve, identity integration point

7.1.3 Hosted zones and delegated domains

This section connects service naming and traffic conventions to a self-serve DNS strategy, then shows how Epetech delegates hosted zones across accounts and releases the configuration.

Key terms: left-of-domain strategy, right-of-domain strategy, subdomain, resource, platform-managed domains, epetech.io, api.epetech.io, Dev, QA, Prod

7.2 Transit network layer

The section explains how a dedicated transit network domain supports expanding platform connectivity, why EKS still needs VPCs, and which VPC tradeoffs Epetech makes for its example platform.

Key terms: dedicated domain, communication modes, transit network, transit gateways, TGW, lambda function, CloudWAN, VPCs, Elastic Kubernetes Service (EKS), private ingress subnet

7.2.1 Role-based network structure

This section explains how to structure and provision VPCs for platform clusters while keeping the platform’s infrastructure code independent of unrelated enterprise use cases.

Key terms: role-based network structure, VPC, Prod, IP space, cluster naming convention, Terraform data resource, role, region, development and quality assurance, preview environment

7.3 Customer identity

This section explains why engineering-platform customers need an identity separate from cloud administrative identity, while retaining organizational sign-on and team-based access.

Key terms: platform customer identity, administrative identity, cloud vendor IAM, authentication, authorization, authoritative source, single sign-on (SSO), team membership

7.3.1 Authentication and authorization

This section explains how team membership can drive a self-service access experience across platform tools and infrastructure.

Key terms: team-oriented user experience, self-manage members, team resources, corporate identity, SSO, GitHub, RBAC, passthrough authentication, context permissions, OAuth2

7.3.2 OpenID Connect device-auth-flow and team membership claims

This section explains why a platform CLI uses an OAuth device flow, how GitHub team membership becomes a JWT claim, and how to configure Auth0 for that use case.

Key terms: CLI, OAuth 2.0 device-authorization-grant, terminal, GitHub, IDP, access token, ID token, JWT, team claim, Auth0

7.4 Cloud service control plane base

This section defines a narrowly scoped, vendor-managed cloud control plane base and explains why its provisioning and health checks are kept distinct from other platform services.

Key terms: Cloud service control plane base, vendor-managed, aws-control-plane-base pipeline, Kubernetes, cloud vendors’ API, built-in extensibility, service interface, VPCs, OpenID Connect (OIDC) provider, Terraform modules

7.4.1 AWS managed node groups

This section identifies an AWS-managed node group as a way to provide nodes for EKS-managed cluster services.

Key terms: EKS-managed services, AWS-managed node group, EKS module

7.4.2 Dependencies for AWS-managed EKS services

Identifies the AWS dependencies needed for an EFS storage class and Karpenter services in the EKS control plane.

Key terms: EFS target, storage class, volume claims, namespace permissions, Karpenter, Spot instance, Karpenter submodule, EKS node role configurations

7.4.3 AWS managed EKS add-ons

This section explains which EKS services belong in the control plane base pipeline, when to take newer managed add-on versions, and how testing and architecture choices affect that approach.

Key terms: AWS-managed EKS add-ons, Karpenter, Blueprints, base pipeline, most_recent=true, AWS-managed add-ons, Kubernetes version, vendor-managed pipeline, change plan, nondeveloper-facing testing environments

7.4.4 Integrating an OIDC provider with the control plane base

The section explains how OIDC integration enables cluster access controls and shows how the two cluster environments are configured.

Key terms: OIDC provider, IDP, GitHub team memberships, SSO, Kubernetes API, environment value files, tfvars, prod-i01-aws-us-east-2, aws-account-1, us-east-2

7.4.5 Post-Terraform configuration

This section configures cluster access and initial Kubernetes resources after Terraform creates the cluster, including storage defaults and Karpenter compute pools.

Key terms: terraform apply, kubeconfig, Terraform outputs, base_configuration.sh, secrets store, base64 encoding, IDP, GitHub team, administrative cluster role binding, kubectl

7.4.6 Strategy for testing EKS base

This section shows how to test EKS base services through workloads, maintain the cluster and its dependencies through upgrades, and build a CLI for customer access.

Key terms: EBS storage class, persistent volume claim, PVC, EFS storage class, write-many, volume claim, Karpenter, default node pool, ARM node pool, tfvars

7.5 Summary

Where this is used later

Concepts explained in this chapter

← Chapter 6: Building a software-defined engineering platform Chapter 8: Control plane services and extensions →

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.