SlideShare a Scribd company logo
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
A M A Z O N E K S M U L T I - C L U S T E R T O P O L O G I E S
Amazon EKS Multi-Cluster
The Gitops Bridge Pattern
Carlos Santana
Sr. Kubernetes Solutions Architect
AWS
CNCF Ambassador
Isaac Mosquera
Principal Containers Specialist
AWS
Christina Andonov
Sr. Specialist Solutions Architect
AWS
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
1. What are customers building
2. Key challenges
3. Proposed solution
4. How we solved the problem
5. How to use
Agenda
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
What are customers building
AI/ML
Autonomous Vehicles
Robotics
Modeling, Training, and
Inference
Legacy Apps
.NET Apps
Homegrown Apps
Monolith
Analytics
Streaming
MapReduce
Batch
Web
Static
Dynamic
Backend
DB
IoT
Mobile
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Enforce security standards and best practices
across clusters to automate deployments
Define boundaries between multiple teams
Provision multiple workloads at scale
Cluster management
Team management
Workload management
Install add-ons and their dependencies
Add-on management
Configuration management
Automate configuration and upgrade
lifecycle from a single source of truth
Key challenges
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Proposed solution
G I T O P S
Build
Test
Scan
Operate/Fix
Deploy/Verify
Observe/Alert
Immutability Firewall
Git becomes the single
source of truth for the
system’s desired state,
enabling reproducible
automated deployments,
cluster management, and
monitoring.
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
What is GitOps
P R I N C I P L E S
A system managed by
GitOps must have its
desired state expressed
declaratively
Desired state is stored in a
way that enforces
immutability, versioning
and retains a complete
version history
Software agents
continuously observe
actual system state and
attempt to apply the
desired state
Software agents
automatically pull the
desired state declarations
from the source
Enforces Consistency
Reduces Business Risk Enhances Auditability Boosts Security
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Cluster Management
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Multi-cluster challenges
Enforcing best
practices
across clusters
Consistent cluster
lifecycle
management
Supporting multiple
teams with
guardrails in place
Easily onboarding
new applications
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Multi-Cluster Kubernetes
9
Cloud (prod)
Cloud (pre-prod)
1.22
1.23
1.24
1.25
1.26
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
EKS Blueprints
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Cluster management
EKS Blueprints
AWS Cloud
Virtual private cloud
Internet gateway
Public subnet Private subnet
Amazon EKS
NAT gateway
AWS account
Instances Instances Instances
Role Permissions
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Infrastructure as
Code with
Terraform and CDK
Based on AWS best
practices and
recommendations
Integrated with
popular K8s tools
and services
Fully extensible
and
customizable
Amazon EKS Blueprints
An open-source framework that allows you to configure and deploy complete
Amazon EKS clusters across accounts and Regions
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Cluster Deployment
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Challenges with IaC and GitOps
• Terraform
§ Great for setting up underlying infrastructure
§ Not design to work with Kubernetes
§ Imperative, can lead to drift configuration
• GitOps
§ Designed for Kubernetes resources
§ Declarative and convergence, minimizing drift
§ Limited scope, focused on app deployment rather than infrastructure
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
GitOps Bridge: IaC -> GitOps
IaC
Internet gateway
Virtual private
cloud (VPC)
NAT gateway
Private
subnet
Public
subnet
AWS KMS key Role Amazon EKS
Security
group
Kubernetes
Gatekeeper Karpenter Cert-manager
Instances
GitOps
cluster.yaml
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
GitOps Bridge: IaC -> GitOps
IaC
Internet gateway
Virtual private
cloud (VPC)
NAT gateway
Private
subnet
Public
subnet
AWS KMS key Role Amazon EKS
Security
group
Instances
GitOps
cluster.yaml
Kubernetes
Cert-manager
Gatekeeper Karpenter
cluster
config
Addons
Apps
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
GitOps Bridge: IaC -> GitOps
IaC
Internet gateway
Virtual private
cloud (VPC)
NAT gateway
Private
subnet
Public
subnet
AWS KMS key Role Amazon EKS
Security
group
GitOps
cluster.yaml
Kubernetes
Cert-manager
Gatekeeper Karpenter
cluster
config
Addons
Apps
Instances
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
GitOps Bridge: IaC -> GitOps
GitOps
cluster.yaml
Kubernetes
Cert-manager
Gatekeeper Karpenter
cluster
config
Addons
Apps
Instances
ack terraform kops
ansible pulumi cdk
capa crossplane
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Cluster Topologies
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Standalone/distributed
Namespace
Tenant AWS account
Amazon EKS
Tenant AWS account
Amazon EKS
Namespace
On premises
Kubernetes
Namespace
On premises
Kubernetes
Namespace
Full ArgoCD
UI/CLI
API Server
Redis Server
Repo
Controllers
Addons + Apps
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Centralized/Hub-Spoke (Push)
Central Amazon EKS cluster
Central AWS account
Namespace
Tenant AWS account On premises
Amazon EKS
Tenant AWS account
Kubernetes
On premises
Kubernetes
Amazon EKS
Addons + Apps
Full ArgoCD
UI/CLI
API Server
Redis Server
Repo
Controllers
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Centralized/Hub-Spoke (Shared)
Central Amazon EKS cluster
Central AWS account
Namespace
Tenant AWS account On premises
Amazon EKS
Tenant AWS account
Kubernetes
On premises
Kubernetes
Amazon EKS
App-2 repo
App-1 repo
App-4 repo
Addons
App-3 repo
Full ArgoCD
UI/CLI
API Server
Redis Server
Repo
Controllers
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Centralized/Hub-Spoke (Agent)
Central Amazon EKS cluster
Central AWS account
Namespace
Tenant AWS account On premises
Amazon EKS
Tenant AWS account
Kubernetes
On premises
Kubernetes
Amazon EKS
App-2 repo
App-1 repo
App-4 repo
App-3 repo
Core ArgoCD
UI/CLI
API Server
Redis Server
Repo
Controllers
https://argo-cd.readthedocs.io/en/stable/operator-manual/core
https://akuity.io/blog/reducing-argocd-operational-burden
https://github.com/open-cluster-management-io/argocd-pull-integration
Full ArgoCD
UI/CLI
API Server
Redis Server
Repo
Controllers
Addons
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Teams
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Separation of concerns
I would like to standardize the
deployment process for application
teams while enforcing
organizational standards
Platform team Development teams
I would like to have full
control of my application
and its dependencies
deployment lifecycle
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Identity & Access
Management
Policy
Management
Namespace as a
Service
Multi-Team Considerations
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon EKS (Prod)
Teams management
Frontend
Team
Backend
Team
Platform
Team
Frontend
Repository
Platform
Repository
Frontend
ArgoCD Projects
Platform
ArgoCD Projects
Backend
Repository
Backend
ArgoCD Projects
Amazon EKS (Staging)
workloads
addons
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Add-Ons
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Add-Ons
Security
Cilium Gatekeeper
Kyverno
Observability
Prometheus Fluent Bit OTEL
Reliability
Karpenter Autoscaler Keda
Delivery
ArgoCD Flux Crossplane
Others
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Add-ons management
G I T O P S B R I D G E C O N F I G U R A T I O N
Control Plane
Addons
App Of
ApplicationSet
Addon-1
charts/
environments/
Addon-2
App Of
ApplicationSets
Addon-1
ApplicationSet
Addon-2
ApplicationSet
clusters/
Addon-1
Application
Addon-2
Application
Platform repo
Platform
team
Amazon EKS
AWS account
OTEL
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Configuration Management
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon EKS
(Central)
AWS account (Central)
AWS account (Tenant A)
Amazon EKS (Staging)
Amazon EKS (Prod)
ui
v1.0
dynamodb
v1.0
ui
v1.0
dynamodb
v1.0
frontend backend
frontend backend
apps
ui
base
prod
dynamodb/
Apps repo
Apps
teams
staging
clusters/
base
prod
staging
Configuration management
E N V I R O N M E N T S ( S T A G I N G V S . P R O D )
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Configuration management
D E P L O Y A N D S C A L E
Amazon EKS
(Central)
AWS account (Central)
AWS account (Tenant A)
Amazon EKS (Staging)
ui
v2.0
dynamodb
v1.0
frontend backend
apps
ui
base
prod
dynamodb/
Apps repo
Apps teams
staging
clusters/
base
prod
staging
Amazon EKS (Prod)
ui
v1.0
dynamodb
v1.0
frontend backend
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Configuration management
A W S S E R V I C E S W I T H G I T O P S
Amazon EKS (Central)
AWS account (Central)
AWS account (Tenant A)
Amazon EKS (Staging)
Amazon EKS (Prod)
ui
v2.0
ui
v2.0
frontend
frontend
Amazon
DynamoDB
(Staging)
apps
ui
base
prod
clusters/
Apps repo
staging
Apps
teams
Amazon
DynamoDB
(Production)
Control Plane
addons
aws
ack
clusters/
Platforms repo
environment/
Platform
team
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
GitOps Bridge: ApplicationSet (Addon versions)
version in dev is 1.6.0
version in staging is 1.5.5
version in production is 1.5.4
Cluster opt-in for the addon
Chart name and repo in a single place
Merge generator
Prevent Outages
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
GitOps Bridge: ApplicationSet (overrides)
Metadata based on IaC
Namespace based on IaC
Override values files
Value files in git
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Resources
https://github.com/gitops-bridge-dev
https://aws-ia.github.io/terraform-aws-eks-blueprints/patterns/gitops-getting-started-argocd/
https://aws-ia.github.io/terraform-aws-eks-blueprints/patterns/gitops-multi-cluster-hub-spoke-argocd/
Thank you!
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.

More Related Content

PPTX
Terraform Basics
PDF
[Azure Governance] Lesson 4 : Azure Policy
PPTX
Azure kubernetes service (aks)
PDF
Best Practices with Azure Kubernetes Services
PPTX
Continues Integration and Continuous Delivery with Azure DevOps - Deploy Anyt...
PPTX
Amazon EKS Deep Dive
PPTX
Scaling production grade EKS Multi-Cluster environments using GitOps
PDF
Azure Security Overview
Terraform Basics
[Azure Governance] Lesson 4 : Azure Policy
Azure kubernetes service (aks)
Best Practices with Azure Kubernetes Services
Continues Integration and Continuous Delivery with Azure DevOps - Deploy Anyt...
Amazon EKS Deep Dive
Scaling production grade EKS Multi-Cluster environments using GitOps
Azure Security Overview

What's hot (20)

PPTX
PDF
Kubernetes - Security Journey
PDF
Migrating Oracle Databases to AWS
PDF
AWS Summit Seoul 2023 | Amazon EKS, 중요한 건 꺾이지 않는 안정성
PPTX
CAF presentation 09 16-2020
PDF
AWS Summit Seoul 2023 | Amazon EKS 데이터 전송 비용 절감 및 카오스 엔지니어링 적용 사례
PDF
Kubernetes Architecture | Understanding Kubernetes Components | Kubernetes Tu...
PDF
Kubernetes Architecture and Introduction
PDF
Kubernetes/ EKS - 김광영 (AWS 솔루션즈 아키텍트)
PDF
Terraform introduction
PDF
GitOps with Amazon EKS Anywhere by Dan Budris
PDF
AWS Black Belt Online Seminar 2017 Amazon ElastiCache
PDF
Azure Arc Overview from Microsoft
PDF
Building an Enterprise-Grade Azure Governance Model
PDF
워크로드 특성에 따른 안전하고 효율적인 Data Lake 운영 방안
PDF
Terraform -- Infrastructure as Code
PDF
Demystifying DevSecOps
PDF
Getting Started on Amazon EKS
PPTX
Azure Cloud Governance
PPTX
Lets talk about: Azure Kubernetes Service (AKS)
Kubernetes - Security Journey
Migrating Oracle Databases to AWS
AWS Summit Seoul 2023 | Amazon EKS, 중요한 건 꺾이지 않는 안정성
CAF presentation 09 16-2020
AWS Summit Seoul 2023 | Amazon EKS 데이터 전송 비용 절감 및 카오스 엔지니어링 적용 사례
Kubernetes Architecture | Understanding Kubernetes Components | Kubernetes Tu...
Kubernetes Architecture and Introduction
Kubernetes/ EKS - 김광영 (AWS 솔루션즈 아키텍트)
Terraform introduction
GitOps with Amazon EKS Anywhere by Dan Budris
AWS Black Belt Online Seminar 2017 Amazon ElastiCache
Azure Arc Overview from Microsoft
Building an Enterprise-Grade Azure Governance Model
워크로드 특성에 따른 안전하고 효율적인 Data Lake 운영 방안
Terraform -- Infrastructure as Code
Demystifying DevSecOps
Getting Started on Amazon EKS
Azure Cloud Governance
Lets talk about: Azure Kubernetes Service (AKS)
Ad

Similar to Amazon EKS multi-cluster gitops-bridge (20)

PDF
Julia Furst Morgado Managing EKS Clusters at Scale using Blueprints and Infra...
PDF
Building internal developer platform with EKS and GitOps
PDF
From Zero to Production with Amazon EKS Blueprints for Terraform
PDF
Control Planes on Kubernetes and Policy Validation
PDF
Securing Cloud Resources Deployed with Control Planes on Kubernetes using Gov...
PPTX
LX-COMM-XX-Streamlined-deployment to Amazon EKS (1).pptx
PPTX
AWS User Group 5/12 meetup - ECS
PDF
Introduction to EKS (AWS User Group Slovakia)
PPTX
How Zalando integrates Kubernetes with AWS
PDF
Getting Started with DevOps on AWS [Mar 2020]
PDF
Aws container services overview
PDF
Containers on AWS - State of the Union
PDF
Builders' Day- Mastering Kubernetes on AWS
PDF
Modern Applications Web Day | Container Workloads on AWS
PDF
Hybrid and Multi-Cloud Strategies for Kubernetes with GitOps
PDF
Hybrid and Multi-Cloud Strategies for Kubernetes with GitOps
PDF
Migrating from Self-Managed Kubernetes on EC2 to a GitOps Enabled EKS
PPTX
Deep Dive on Amazon Elastic Container Service (ECS) I AWS Dev Day 2018
PDF
Achieve Data & Operational Sovereignty: Managing Hybrid & Edge EKS Deployment...
PDF
EKS Workshop
Julia Furst Morgado Managing EKS Clusters at Scale using Blueprints and Infra...
Building internal developer platform with EKS and GitOps
From Zero to Production with Amazon EKS Blueprints for Terraform
Control Planes on Kubernetes and Policy Validation
Securing Cloud Resources Deployed with Control Planes on Kubernetes using Gov...
LX-COMM-XX-Streamlined-deployment to Amazon EKS (1).pptx
AWS User Group 5/12 meetup - ECS
Introduction to EKS (AWS User Group Slovakia)
How Zalando integrates Kubernetes with AWS
Getting Started with DevOps on AWS [Mar 2020]
Aws container services overview
Containers on AWS - State of the Union
Builders' Day- Mastering Kubernetes on AWS
Modern Applications Web Day | Container Workloads on AWS
Hybrid and Multi-Cloud Strategies for Kubernetes with GitOps
Hybrid and Multi-Cloud Strategies for Kubernetes with GitOps
Migrating from Self-Managed Kubernetes on EC2 to a GitOps Enabled EKS
Deep Dive on Amazon Elastic Container Service (ECS) I AWS Dev Day 2018
Achieve Data & Operational Sovereignty: Managing Hybrid & Edge EKS Deployment...
EKS Workshop
Ad

More from Carlos Santana (7)

PDF
Building a Bridge between Terraform and ArgoCD
PPTX
Navigating Disaster Recovery in Kubernetes and CNCF Crossplane
PDF
NodeJS Serverless backends for your frontends
PDF
OpenWhisk Meetup - Austin, TX 07/2017
PDF
Shark Tank OpenWhisk Incubating at ApacheCon 2017
PPTX
OpenWhisk: Where Did My Servers Go?
PDF
How to contribute to Serverless Apache OpenWhisk OpenSource101 NCSU
Building a Bridge between Terraform and ArgoCD
Navigating Disaster Recovery in Kubernetes and CNCF Crossplane
NodeJS Serverless backends for your frontends
OpenWhisk Meetup - Austin, TX 07/2017
Shark Tank OpenWhisk Incubating at ApacheCon 2017
OpenWhisk: Where Did My Servers Go?
How to contribute to Serverless Apache OpenWhisk OpenSource101 NCSU

Recently uploaded (20)

PPTX
Reimagine Home Health with the Power of Agentic AI​
PDF
Digital Strategies for Manufacturing Companies
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
PDF
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PDF
top salesforce developer skills in 2025.pdf
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PDF
Understanding Forklifts - TECH EHS Solution
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PDF
PTS Company Brochure 2025 (1).pdf.......
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PPTX
history of c programming in notes for students .pptx
PPTX
Introduction to Artificial Intelligence
PDF
System and Network Administraation Chapter 3
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PDF
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PPTX
Odoo POS Development Services by CandidRoot Solutions
Reimagine Home Health with the Power of Agentic AI​
Digital Strategies for Manufacturing Companies
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
top salesforce developer skills in 2025.pdf
Adobe Illustrator 28.6 Crack My Vision of Vector Design
Upgrade and Innovation Strategies for SAP ERP Customers
Understanding Forklifts - TECH EHS Solution
Odoo Companies in India – Driving Business Transformation.pdf
PTS Company Brochure 2025 (1).pdf.......
Wondershare Filmora 15 Crack With Activation Key [2025
history of c programming in notes for students .pptx
Introduction to Artificial Intelligence
System and Network Administraation Chapter 3
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
Navsoft: AI-Powered Business Solutions & Custom Software Development
Odoo POS Development Services by CandidRoot Solutions

Amazon EKS multi-cluster gitops-bridge

  • 1. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. A M A Z O N E K S M U L T I - C L U S T E R T O P O L O G I E S Amazon EKS Multi-Cluster The Gitops Bridge Pattern Carlos Santana Sr. Kubernetes Solutions Architect AWS CNCF Ambassador Isaac Mosquera Principal Containers Specialist AWS Christina Andonov Sr. Specialist Solutions Architect AWS
  • 2. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. 1. What are customers building 2. Key challenges 3. Proposed solution 4. How we solved the problem 5. How to use Agenda
  • 3. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. What are customers building AI/ML Autonomous Vehicles Robotics Modeling, Training, and Inference Legacy Apps .NET Apps Homegrown Apps Monolith Analytics Streaming MapReduce Batch Web Static Dynamic Backend DB IoT Mobile
  • 4. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. Enforce security standards and best practices across clusters to automate deployments Define boundaries between multiple teams Provision multiple workloads at scale Cluster management Team management Workload management Install add-ons and their dependencies Add-on management Configuration management Automate configuration and upgrade lifecycle from a single source of truth Key challenges
  • 5. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. Proposed solution G I T O P S Build Test Scan Operate/Fix Deploy/Verify Observe/Alert Immutability Firewall Git becomes the single source of truth for the system’s desired state, enabling reproducible automated deployments, cluster management, and monitoring.
  • 6. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. What is GitOps P R I N C I P L E S A system managed by GitOps must have its desired state expressed declaratively Desired state is stored in a way that enforces immutability, versioning and retains a complete version history Software agents continuously observe actual system state and attempt to apply the desired state Software agents automatically pull the desired state declarations from the source Enforces Consistency Reduces Business Risk Enhances Auditability Boosts Security
  • 7. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. Cluster Management
  • 8. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. Multi-cluster challenges Enforcing best practices across clusters Consistent cluster lifecycle management Supporting multiple teams with guardrails in place Easily onboarding new applications
  • 9. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. Multi-Cluster Kubernetes 9 Cloud (prod) Cloud (pre-prod) 1.22 1.23 1.24 1.25 1.26
  • 10. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. EKS Blueprints
  • 11. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. Cluster management EKS Blueprints AWS Cloud Virtual private cloud Internet gateway Public subnet Private subnet Amazon EKS NAT gateway AWS account Instances Instances Instances Role Permissions
  • 12. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. Infrastructure as Code with Terraform and CDK Based on AWS best practices and recommendations Integrated with popular K8s tools and services Fully extensible and customizable Amazon EKS Blueprints An open-source framework that allows you to configure and deploy complete Amazon EKS clusters across accounts and Regions
  • 13. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. Cluster Deployment
  • 14. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. Challenges with IaC and GitOps • Terraform § Great for setting up underlying infrastructure § Not design to work with Kubernetes § Imperative, can lead to drift configuration • GitOps § Designed for Kubernetes resources § Declarative and convergence, minimizing drift § Limited scope, focused on app deployment rather than infrastructure
  • 15. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. GitOps Bridge: IaC -> GitOps IaC Internet gateway Virtual private cloud (VPC) NAT gateway Private subnet Public subnet AWS KMS key Role Amazon EKS Security group Kubernetes Gatekeeper Karpenter Cert-manager Instances GitOps cluster.yaml
  • 16. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. GitOps Bridge: IaC -> GitOps IaC Internet gateway Virtual private cloud (VPC) NAT gateway Private subnet Public subnet AWS KMS key Role Amazon EKS Security group Instances GitOps cluster.yaml Kubernetes Cert-manager Gatekeeper Karpenter cluster config Addons Apps
  • 17. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. GitOps Bridge: IaC -> GitOps IaC Internet gateway Virtual private cloud (VPC) NAT gateway Private subnet Public subnet AWS KMS key Role Amazon EKS Security group GitOps cluster.yaml Kubernetes Cert-manager Gatekeeper Karpenter cluster config Addons Apps Instances
  • 18. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. GitOps Bridge: IaC -> GitOps GitOps cluster.yaml Kubernetes Cert-manager Gatekeeper Karpenter cluster config Addons Apps Instances ack terraform kops ansible pulumi cdk capa crossplane
  • 19. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. Cluster Topologies
  • 20. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. Standalone/distributed Namespace Tenant AWS account Amazon EKS Tenant AWS account Amazon EKS Namespace On premises Kubernetes Namespace On premises Kubernetes Namespace Full ArgoCD UI/CLI API Server Redis Server Repo Controllers Addons + Apps
  • 21. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. Centralized/Hub-Spoke (Push) Central Amazon EKS cluster Central AWS account Namespace Tenant AWS account On premises Amazon EKS Tenant AWS account Kubernetes On premises Kubernetes Amazon EKS Addons + Apps Full ArgoCD UI/CLI API Server Redis Server Repo Controllers
  • 22. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. Centralized/Hub-Spoke (Shared) Central Amazon EKS cluster Central AWS account Namespace Tenant AWS account On premises Amazon EKS Tenant AWS account Kubernetes On premises Kubernetes Amazon EKS App-2 repo App-1 repo App-4 repo Addons App-3 repo Full ArgoCD UI/CLI API Server Redis Server Repo Controllers
  • 23. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. Centralized/Hub-Spoke (Agent) Central Amazon EKS cluster Central AWS account Namespace Tenant AWS account On premises Amazon EKS Tenant AWS account Kubernetes On premises Kubernetes Amazon EKS App-2 repo App-1 repo App-4 repo App-3 repo Core ArgoCD UI/CLI API Server Redis Server Repo Controllers https://argo-cd.readthedocs.io/en/stable/operator-manual/core https://akuity.io/blog/reducing-argocd-operational-burden https://github.com/open-cluster-management-io/argocd-pull-integration Full ArgoCD UI/CLI API Server Redis Server Repo Controllers Addons
  • 24. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. Teams
  • 25. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. Separation of concerns I would like to standardize the deployment process for application teams while enforcing organizational standards Platform team Development teams I would like to have full control of my application and its dependencies deployment lifecycle
  • 26. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. Identity & Access Management Policy Management Namespace as a Service Multi-Team Considerations
  • 27. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon EKS (Prod) Teams management Frontend Team Backend Team Platform Team Frontend Repository Platform Repository Frontend ArgoCD Projects Platform ArgoCD Projects Backend Repository Backend ArgoCD Projects Amazon EKS (Staging) workloads addons
  • 28. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. Add-Ons
  • 29. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. Add-Ons Security Cilium Gatekeeper Kyverno Observability Prometheus Fluent Bit OTEL Reliability Karpenter Autoscaler Keda Delivery ArgoCD Flux Crossplane Others
  • 30. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. Add-ons management G I T O P S B R I D G E C O N F I G U R A T I O N Control Plane Addons App Of ApplicationSet Addon-1 charts/ environments/ Addon-2 App Of ApplicationSets Addon-1 ApplicationSet Addon-2 ApplicationSet clusters/ Addon-1 Application Addon-2 Application Platform repo Platform team Amazon EKS AWS account OTEL
  • 31. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. Configuration Management
  • 32. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon EKS (Central) AWS account (Central) AWS account (Tenant A) Amazon EKS (Staging) Amazon EKS (Prod) ui v1.0 dynamodb v1.0 ui v1.0 dynamodb v1.0 frontend backend frontend backend apps ui base prod dynamodb/ Apps repo Apps teams staging clusters/ base prod staging Configuration management E N V I R O N M E N T S ( S T A G I N G V S . P R O D )
  • 33. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. Configuration management D E P L O Y A N D S C A L E Amazon EKS (Central) AWS account (Central) AWS account (Tenant A) Amazon EKS (Staging) ui v2.0 dynamodb v1.0 frontend backend apps ui base prod dynamodb/ Apps repo Apps teams staging clusters/ base prod staging Amazon EKS (Prod) ui v1.0 dynamodb v1.0 frontend backend
  • 34. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. Configuration management A W S S E R V I C E S W I T H G I T O P S Amazon EKS (Central) AWS account (Central) AWS account (Tenant A) Amazon EKS (Staging) Amazon EKS (Prod) ui v2.0 ui v2.0 frontend frontend Amazon DynamoDB (Staging) apps ui base prod clusters/ Apps repo staging Apps teams Amazon DynamoDB (Production) Control Plane addons aws ack clusters/ Platforms repo environment/ Platform team
  • 35. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. GitOps Bridge: ApplicationSet (Addon versions) version in dev is 1.6.0 version in staging is 1.5.5 version in production is 1.5.4 Cluster opt-in for the addon Chart name and repo in a single place Merge generator Prevent Outages
  • 36. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. GitOps Bridge: ApplicationSet (overrides) Metadata based on IaC Namespace based on IaC Override values files Value files in git
  • 37. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. Resources https://github.com/gitops-bridge-dev https://aws-ia.github.io/terraform-aws-eks-blueprints/patterns/gitops-getting-started-argocd/ https://aws-ia.github.io/terraform-aws-eks-blueprints/patterns/gitops-multi-cluster-hub-spoke-argocd/
  • 38. Thank you! © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved.