Build EKS with EKS Blueprints


EKS Blueprints is a collection of Infrastructure as Code (IaC) modules that will help you configure and deploy consistent, batteries-included EKS clusters across accounts and regions. It is available in both Terraform and CDK.

There are 3 core concepts in EKS Blueprints which perfectly matches the design of a Shared Services Platform (SSP) for Kubernetes.

ConceptDescription
ClusterAn Amazon EKS Cluster and associated worker groups.
Add-onOperational software that provides key functionality to support your Kubernetes applications.
TeamA logical grouping of IAM identities that have access to Kubernetes

In a typical SSP environment, the platform team is responsible for managing the platform foundation which includes the Kubernetes cluster and all sorts of operational tools (normally referred as add-ons). As platform service consumers, the application teams only need to focus on their own applications without worrying about the availability, security and capacity of underlying infrastructure.

I have created the eks-blueprints-demo repository to demonstrate how to quickly bootstrap a new EKS cluster by using EKS Blueprints for Terraform or CDK. Detailed usages can be found in the repository.

References:

https://github.com/aws-ia/terraform-aws-eks-blueprints
https://github.com/aws-ia/terraform-aws-eks-blueprints-addons
https://github.com/aws-ia/terraform-aws-eks-blueprints-teams
https://github.com/aws-samples/cdk-eks-blueprints-patterns

Leave a comment