Julia Furst Morgado Managing EKS Clusters at Scale using Blueprints and Infrastructure as Code

awschicago 62 views 36 slides Jun 26, 2024
Slide 1
Slide 1 of 36
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23
Slide 24
24
Slide 25
25
Slide 26
26
Slide 27
27
Slide 28
28
Slide 29
29
Slide 30
30
Slide 31
31
Slide 32
32
Slide 33
33
Slide 34
34
Slide 35
35
Slide 36
36

About This Presentation

AWS Community Day Midwest 2024
Julia Furst Morgado
Managing EKS Clusters at Scale using Blueprints and Infrastructure as Code


Slide Content

© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved. © 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Managing EKS Clusters at Scale
Using Blueprints and IaC
Julia Furst Morgado (she/her)
Global Technologist
Veeam Software
@juliafmorgado

© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved. © 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
I have chosen Kubernetes, now what?

© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Declarative and self-reconciling
Flexible and extensible
Why modernize with Kubernetes?
Ease
Same API regardless of where you
run or at what scale
Hundreds of solutions across the
CNCF ecosystem
De facto standard with numerous
enterprises helping chart the future
Consistency
Ecosystem
Community

© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon EKS in the cloud
•Single tenant
•Highly available API
endpoint
•99.95% SLA
•24x7x365 support
•Instance scaled up/down
seamlessly
•Upgrade and patching

•Focus on apps

© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Challenges
Cluster Management
How can best practices be
implemented and enforced in an
EKS cluster?
Add-on Management
How do I install add-ons and their
dependencies?
Team Management
How do I configure an EKS cluster
(or multiple EKS clusters) to run
multiple workloads for multiple
teams?
Workload Management
How can I provision workloads?

© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Kubernetes journey

© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon EKS Runtimes Overview

© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon EKS Runtimes Overview

© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon EKS Runtimes Overview

© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
We decided on this

© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Kubernetes journey

© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
CNCF Landscape

"While the Kubernetes ecosystem boasts an
abundance of remarkable tools, there lacks a
comprehensive guide on integrating these
tools effectively."

© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
We arrived at this solution

© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Kubernetes journey

© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Day 2 challenges of modern applications
Observability
Operators need insights
into application
performance
Reliability
Workloads must be
scalable and reliable
Security
All applications need
automated security and
governance built in
Cost Efficiency
Speed and control
should not be mutually
exclusive with cost
efficiency

© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Platform is
centrally
managed
App 3App 2App 1 App 4
APPS
EKS
SHARED SERVICES PLATFORM
COMPUTE
Fargate Bottlerocket
Components of
a modern
application

© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Separation of concerns in software delivery
17
Application builders. Free to focus on building
applications that deliver business value to
customers.
Platform builders. Build and integrate tools
that provision, manage and secure the cloud
computing infrastructure.
Platform Engineers Software Engineers

© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Software Engineers
Dev teams need the following
-Agility to quickly iterate and
test solutions
-Setting proper policies for
app-to-app communications
-Proper guardrails for
developers
-Consistency and
standardization of resources

Developers run into these problems
-Non-intuitive processes
-i.e. PR approval process using UI
vs. development using git
-Interruptions from
Infrastructure teams
-Sandbox environment
provisioning
-Requests needing support tickets
-Lack of automations
18

© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Multi-team considerations

© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Multi-environments

© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
How to get there?

© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon EKS Blueprints
An open-source framework that allows you to configure and deploy
complete EKS clusters across accounts and regions
Infrastructure as Code with
CDK and Terraform
Based on AWS best practices
and recommendations
Integrated with popular K8s
tools and services
Fully extensible and
customizable

© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Leverage your preferred tools
https://github.com/aws-ia/terraform-aws-eks-bl
ueprints
https://github.com/aws-quickstart/cdk-e
ks-blueprints
AWS Cloud Development Kit
(AWS CDK) Terraform

© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
EKS Blueprint solution: Cluster & Infrastructure
24
Compute
Amazon EKS Bottlerocket AWS Fargate

© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
EKS Blueprints: Add-ons
25
Add-ons
ArgoCD
Nginx
CoreDNS External DNS
Cluster Autoscaler
Grafana
Prometheus
Compute
Amazon EKS Bottlerocket AWS Fargate
Veeam Kasten

© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Veeam Kasten for Kubernetes on AWS for
Kubernetes backup and DR
COHESIVE INTEGRATION
•Works with with AWS services
•Database integration
(e.g., Amazon RDS)
•Kubernetes distributions (e.g., Red Hat
OpenShift Service on AWS [ROSA])
•Full application capture
•Cloud and on-premises
(Amazon EKS Anywhere)
•Cross-Region, cluster, account
•Simplified installation
•Billing: pay-as-you-go, term, etc.
•Portable BYO license
Amazon EKS

© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Install add-ons according to best practices
https://github.com/aws-ia/terraform-aws-eks-blueprints-addons

© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
EKS Blueprints: Teams
28
Teams
Team B Team C Team DTeam A Team E
Add-ons
ArgoCD
Nginx
CoreDNS External DNS
Cluster Autoscaler
Grafana
Prometheus
Compute
Amazon EKS Bottlerocket AWS Fargate
Kasten K10

© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
•Configure and deploy EKS clusters according to AWS best practices.
•Replicate clusters across AWS accounts and regions.
•Integrate with an existing VPC or leverage the solution to deploy a new one.
•Built in pipeline triggered by git hook upon commit to the repository
Cluster Management
•Out of the box integrations with popular AWS services and Kubernetes add-ons.
•Provisions AWS resources that are necessary to support add-on functionality.
Add-on Management
•Create distinct teams for both administrators and application owners.
•Manage secure namespaces access for application teams.
Team Management
•Leverage GitOps tooling to manage workloads that run across your clusters.
•Self-service updating of workloads deployments using Pull Request.
Application Delivery
What do you get with EKS Blueprints

© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
EKS Blueprints Patterns

•Complete examples with
add-ons
•EKS cluster with external DNS
•EKS Fargate cluster
•Fully private EKS cluster
•Gitops with ArgoCD
•Gitlab CI/CD
•EFS shared storage
•EMR on EKS
•Cert-manager examples
•And more

© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Next steps
Begin planning for EKS Blueprints integration by determining
infrastructure requirements. 
Gather details about the cluster’s desired functionality, including:
•Workload requirements
•Observability
•Scalability
•High availability
•External resource dependencies

© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Explore EKS Blueprint resources

© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Open Source repositories

© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Testing and validation

© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
EKS Blueprints best practices
•Ensure that there is a clear plan for the desired EKS cluster architecture
•Validate the selected EKS Blueprints in a development environment
•Check available configuration options for the selected Blueprints
•Use GitOps to deploy and bootstrap the EKS cluster
•Ensure that the default Blueprint settings follow your organization’s security
requirements
•Enable observability tools
•Be mindful of the limitations of EKS Blueprints based on thorough testing and
validation

© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Thank you!
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Please complete the session
survey in the mobile app
Julia Furst Morgado
@juliafmorgado
linkedin.com/in/juliafmorgado