SlideShare a Scribd company logo
AWS EKS & beyond
Master your Kubernetes deployment on AWS
Max Körbächer
Berlin | November 20 - 21, 2018
Max Körbächer
Cloud Solution Architect @
Storm Reply
Hey!
● Design and build cloud ready
solutions
○ microservice & event driven apps
○ serverless & kubernetes based
○ ♥ for GO, GraphQL & NoSQL
● Background as Enterprise Architect
& Founder
● Visit me at: max.koerbaecher.io
Kubernetes - 10.000 foot view
K8s foundation ...
source:https://kubernetes.io/docs/concepts/archite
cture/cloud-controller/
K8s & the cloud
Two concepts collide into each other
source: http://annesastronomynews.com
In theory K8s & cloud is a dream
For a perfect K8s cluster you need:
● auto scaling server
● software defined storage
● redundancy / high availability
● managed databases
● reliable and fast file storage
perfect
match?
However…on the fine grained level
there are might be some
differences which you get to feel the
more complex you make your
cluster
-
Elastic Container Service for
Kubernetes
Mainly deployments happen via
kops, kubeadm or templates like
heptio-quickstart
Amazon contribute at the K8s
AWS Special Interest Group
Kubernetes @ AWS
Over 62% of K8s
workload runs on
AWS
What is AWS EKS?
Master Nodes and etcd are controlled
and managed by AWS
AWS ensure that there is always one
node per Availability Zone running
The worker nodes are up to your
responsibility!
source: https://docs.aws.amazon.com/eks/latest/
AWS EKS Endpoint
EKS publish your endpoint which
you can reach by CLI/CI-Tool
This means you can use as usual
the kubectl to control and manage
your cluster
source: https://docs.aws.amazon.com/eks/latest/
How EKS CP talk to your worker
The EKS Control Plane
and your worker run in
different VPCs
An ENI in you VPC is
attached to the CP
While a Load Balancer
sits in front of the CP
source: https://docs.aws.amazon.com/eks/latest/
What do you need
for a production
ready cluster?
A good basis for getting ready
Create the infrastructure
Cloud level
AWS managed VPC with 3 K8s
master, one per each availability zone
private & public subnets will be created
per AZ (cannot span over multiple AZs)
VPC will span over 3 AZ in
EU-WEST-1 (Ireland) region
One Auto Scaling Group for public and
one ASG for private subnets
We need to create the EKS, a
VPC for the worker as well as
some subnets, security groups
and auto scaling groups
A Terraform template makes this
easy
Create the base infrastructure
Authorization & Authentication
IAM manages the
authentication
RBAC the authorization
After proving your identity
you can use the K8s
Endpoint as normal
IAM authenticator plugin
source: https://docs.aws.amazon.com/eks/latest/
Deploy IAM Auth Plugins
IAM Auth Plugin:
https://github.com/kubernetes-sigs/
aws-iam-authenticator
1. Create IAM roles which will be assumed later
2. Specify the configuration map & demon set
3. Tell your API server to talk the auth server plugin
4. Adjust the K8s config:
AWS EKS CNI Networking
You can deploy a CNI
plugin which bridges the
gap between VPC and K8s
Each pod will get an IP
The maximum amount of
pods per node depend on
the node size e.g. m5.large
can have max. 3 ENI, each
with 10 IPv4 addresses
VPC native networking through CNI plugin
source: https://docs.aws.amazon.com/eks/latest/
The CNI plugin is easy to setup:
Second, the long running
node-Local IP Address
Management (IPAM) needs a
IAM role allowing the following:
Seamless CNI integration
CNI Plugin:
https://github.com/aws/amazon-vpc-cni-k8s
The overlay network help you to secure and isolate the namespaces on cluster level
Therefore Calico can block
or allow dedicated communication
paths between namespaces
and pods
Implement the Overlay Network
Calico
Managing the overlay network
The service mesh secures the
communication between services
allows layer 7 routing
Normally a sidecar injection
deploy a proxy to each pod
It brings also basic ingress
controller
Service Mesh
A default deployment with auto.
sidecar injection looks like this
However you still will need to
care about security
Deploy your Service Mesh
Finally you need some monitoring &
logging
Therefore you can use a
elasticsearch on AWS as service
endpoint for your beats or fluentd
Configure the yaml and here you go
Monitoring & Logging
Takeaways
Keep clusters simple: Complexity doesn’t bring security, it just increase your
effort
First learn, then optimize: Do not try to predict the workload, observe it and
adjust the instance types
Utilize “as a Service” Backends: Many companies want to host their own DB
or even run it on K8s; DBaaS are critical resources when you reach the point of
data protection, availability and HA; also messaging and other resources can be
helpful
Want to know more
about Storm Reply?
https://www.reply.com/
storm-reply
Thank you!
Max Körbächer - AWS EKS and beyond – master your Kubernetes deployment on AWS - Codemotion Berlin 2018

More Related Content

PPTX
Amazon Elastic Container Service for Kubernetes (Amazon EKS) I AWS Dev Day 2018
PDF
Introduction to Amazon EKS - KubeCon 2018
PDF
AWS Container services
PDF
Introduction to EKS (AWS User Group Slovakia)
PDF
EKS Workshop
PDF
Elastic Kubernetes Services (EKS)
POTX
Serverless: State of The Union I AWS Dev Day 2018
PPTX
The Serverless Tidal Wave - SwampUP 2018 Keynote
Amazon Elastic Container Service for Kubernetes (Amazon EKS) I AWS Dev Day 2018
Introduction to Amazon EKS - KubeCon 2018
AWS Container services
Introduction to EKS (AWS User Group Slovakia)
EKS Workshop
Elastic Kubernetes Services (EKS)
Serverless: State of The Union I AWS Dev Day 2018
The Serverless Tidal Wave - SwampUP 2018 Keynote

Similar to Max Körbächer - AWS EKS and beyond – master your Kubernetes deployment on AWS - Codemotion Berlin 2018 (20)

PDF
kubernetes on awsjourneryssdddddddddddddd
PDF
Amazon Elastic Kubernetes Service (EKS) From Zero to Day 1
PPTX
Eks and fargate
PPTX
Meetup CNCF Torino - Amazon EKS March 29th 2019
PDF
From Zero to Production with Amazon EKS Blueprints for Terraform
PPTX
Running kubernetes with amazon eks
PDF
Docker clusters on AWS with Amazon ECS and Kubernetes
PDF
Aws container services overview
PDF
Julia Furst Morgado Managing EKS Clusters at Scale using Blueprints and Infra...
PPTX
Kubernetes-Fundamentals.pptx
PDF
Builders' Day- Mastering Kubernetes on AWS
PDF
Set_up_Kubernetes_clusters_on_premises_&_on_AWS_with_Cisco_Container_Platform...
PPTX
AWS-Fargate-and-AWS-EKS-Masterclass-V7.pptx
PPTX
EKS AWS Presentation kuberneted oriented
PDF
Introduction to EKS and eksctl
PDF
[AWS Container Service] Getting Started with Kubernetes on AWS
PDF
Amazon EKS Managed Kubernetes Cluster
PDF
What Is AWS Elastic Kubernetes Service
PDF
Trusted Application Delivery: Achieving Ultimate Security
PPTX
Kubernetes on AWS => EKS || CNCF Meetup Zurich, Feb 2019
kubernetes on awsjourneryssdddddddddddddd
Amazon Elastic Kubernetes Service (EKS) From Zero to Day 1
Eks and fargate
Meetup CNCF Torino - Amazon EKS March 29th 2019
From Zero to Production with Amazon EKS Blueprints for Terraform
Running kubernetes with amazon eks
Docker clusters on AWS with Amazon ECS and Kubernetes
Aws container services overview
Julia Furst Morgado Managing EKS Clusters at Scale using Blueprints and Infra...
Kubernetes-Fundamentals.pptx
Builders' Day- Mastering Kubernetes on AWS
Set_up_Kubernetes_clusters_on_premises_&_on_AWS_with_Cisco_Container_Platform...
AWS-Fargate-and-AWS-EKS-Masterclass-V7.pptx
EKS AWS Presentation kuberneted oriented
Introduction to EKS and eksctl
[AWS Container Service] Getting Started with Kubernetes on AWS
Amazon EKS Managed Kubernetes Cluster
What Is AWS Elastic Kubernetes Service
Trusted Application Delivery: Achieving Ultimate Security
Kubernetes on AWS => EKS || CNCF Meetup Zurich, Feb 2019
Ad

More from Codemotion (20)

PDF
Fuzz-testing: A hacker's approach to making your code more secure | Pascal Ze...
PDF
Pompili - From hero to_zero: The FatalNoise neverending story
PPTX
Pastore - Commodore 65 - La storia
PPTX
Pennisi - Essere Richard Altwasser
PPTX
Michel Schudel - Let's build a blockchain... in 40 minutes! - Codemotion Amst...
PPTX
Richard Süselbeck - Building your own ride share app - Codemotion Amsterdam 2019
PPTX
Eward Driehuis - What we learned from 20.000 attacks - Codemotion Amsterdam 2019
PPTX
Francesco Baldassarri - Deliver Data at Scale - Codemotion Amsterdam 2019 -
PDF
Martin Förtsch, Thomas Endres - Stereoscopic Style Transfer AI - Codemotion A...
PDF
Melanie Rieback, Klaus Kursawe - Blockchain Security: Melting the "Silver Bul...
PDF
Angelo van der Sijpt - How well do you know your network stack? - Codemotion ...
PDF
Lars Wolff - Performance Testing for DevOps in the Cloud - Codemotion Amsterd...
PDF
Sascha Wolter - Conversational AI Demystified - Codemotion Amsterdam 2019
PDF
Michele Tonutti - Scaling is caring - Codemotion Amsterdam 2019
PPTX
Pat Hermens - From 100 to 1,000+ deployments a day - Codemotion Amsterdam 2019
PPTX
James Birnie - Using Many Worlds of Compute Power with Quantum - Codemotion A...
PDF
Don Goodman-Wilson - Chinese food, motor scooters, and open source developmen...
PDF
Pieter Omvlee - The story behind Sketch - Codemotion Amsterdam 2019
PDF
Dave Farley - Taking Back “Software Engineering” - Codemotion Amsterdam 2019
PDF
Joshua Hoffman - Should the CTO be Coding? - Codemotion Amsterdam 2019
Fuzz-testing: A hacker's approach to making your code more secure | Pascal Ze...
Pompili - From hero to_zero: The FatalNoise neverending story
Pastore - Commodore 65 - La storia
Pennisi - Essere Richard Altwasser
Michel Schudel - Let's build a blockchain... in 40 minutes! - Codemotion Amst...
Richard Süselbeck - Building your own ride share app - Codemotion Amsterdam 2019
Eward Driehuis - What we learned from 20.000 attacks - Codemotion Amsterdam 2019
Francesco Baldassarri - Deliver Data at Scale - Codemotion Amsterdam 2019 -
Martin Förtsch, Thomas Endres - Stereoscopic Style Transfer AI - Codemotion A...
Melanie Rieback, Klaus Kursawe - Blockchain Security: Melting the "Silver Bul...
Angelo van der Sijpt - How well do you know your network stack? - Codemotion ...
Lars Wolff - Performance Testing for DevOps in the Cloud - Codemotion Amsterd...
Sascha Wolter - Conversational AI Demystified - Codemotion Amsterdam 2019
Michele Tonutti - Scaling is caring - Codemotion Amsterdam 2019
Pat Hermens - From 100 to 1,000+ deployments a day - Codemotion Amsterdam 2019
James Birnie - Using Many Worlds of Compute Power with Quantum - Codemotion A...
Don Goodman-Wilson - Chinese food, motor scooters, and open source developmen...
Pieter Omvlee - The story behind Sketch - Codemotion Amsterdam 2019
Dave Farley - Taking Back “Software Engineering” - Codemotion Amsterdam 2019
Joshua Hoffman - Should the CTO be Coding? - Codemotion Amsterdam 2019
Ad

Recently uploaded (20)

PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PPTX
Cloud computing and distributed systems.
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Electronic commerce courselecture one. Pdf
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
KodekX | Application Modernization Development
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PPTX
A Presentation on Artificial Intelligence
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Review of recent advances in non-invasive hemoglobin estimation
Building Integrated photovoltaic BIPV_UPV.pdf
20250228 LYD VKU AI Blended-Learning.pptx
Cloud computing and distributed systems.
Dropbox Q2 2025 Financial Results & Investor Presentation
Network Security Unit 5.pdf for BCA BBA.
Electronic commerce courselecture one. Pdf
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
KodekX | Application Modernization Development
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Mobile App Security Testing_ A Comprehensive Guide.pdf
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
NewMind AI Weekly Chronicles - August'25 Week I
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
A Presentation on Artificial Intelligence
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Digital-Transformation-Roadmap-for-Companies.pptx
Review of recent advances in non-invasive hemoglobin estimation

Max Körbächer - AWS EKS and beyond – master your Kubernetes deployment on AWS - Codemotion Berlin 2018

  • 1. AWS EKS & beyond Master your Kubernetes deployment on AWS Max Körbächer Berlin | November 20 - 21, 2018
  • 2. Max Körbächer Cloud Solution Architect @ Storm Reply Hey! ● Design and build cloud ready solutions ○ microservice & event driven apps ○ serverless & kubernetes based ○ ♥ for GO, GraphQL & NoSQL ● Background as Enterprise Architect & Founder ● Visit me at: max.koerbaecher.io
  • 5. K8s & the cloud Two concepts collide into each other source: http://annesastronomynews.com
  • 6. In theory K8s & cloud is a dream For a perfect K8s cluster you need: ● auto scaling server ● software defined storage ● redundancy / high availability ● managed databases ● reliable and fast file storage perfect match? However…on the fine grained level there are might be some differences which you get to feel the more complex you make your cluster
  • 8. Mainly deployments happen via kops, kubeadm or templates like heptio-quickstart Amazon contribute at the K8s AWS Special Interest Group Kubernetes @ AWS Over 62% of K8s workload runs on AWS
  • 9. What is AWS EKS? Master Nodes and etcd are controlled and managed by AWS AWS ensure that there is always one node per Availability Zone running The worker nodes are up to your responsibility! source: https://docs.aws.amazon.com/eks/latest/
  • 10. AWS EKS Endpoint EKS publish your endpoint which you can reach by CLI/CI-Tool This means you can use as usual the kubectl to control and manage your cluster source: https://docs.aws.amazon.com/eks/latest/
  • 11. How EKS CP talk to your worker The EKS Control Plane and your worker run in different VPCs An ENI in you VPC is attached to the CP While a Load Balancer sits in front of the CP source: https://docs.aws.amazon.com/eks/latest/
  • 12. What do you need for a production ready cluster?
  • 13. A good basis for getting ready
  • 14. Create the infrastructure Cloud level AWS managed VPC with 3 K8s master, one per each availability zone private & public subnets will be created per AZ (cannot span over multiple AZs) VPC will span over 3 AZ in EU-WEST-1 (Ireland) region One Auto Scaling Group for public and one ASG for private subnets
  • 15. We need to create the EKS, a VPC for the worker as well as some subnets, security groups and auto scaling groups A Terraform template makes this easy Create the base infrastructure
  • 16. Authorization & Authentication IAM manages the authentication RBAC the authorization After proving your identity you can use the K8s Endpoint as normal IAM authenticator plugin source: https://docs.aws.amazon.com/eks/latest/
  • 17. Deploy IAM Auth Plugins IAM Auth Plugin: https://github.com/kubernetes-sigs/ aws-iam-authenticator 1. Create IAM roles which will be assumed later 2. Specify the configuration map & demon set 3. Tell your API server to talk the auth server plugin 4. Adjust the K8s config:
  • 18. AWS EKS CNI Networking You can deploy a CNI plugin which bridges the gap between VPC and K8s Each pod will get an IP The maximum amount of pods per node depend on the node size e.g. m5.large can have max. 3 ENI, each with 10 IPv4 addresses VPC native networking through CNI plugin source: https://docs.aws.amazon.com/eks/latest/
  • 19. The CNI plugin is easy to setup: Second, the long running node-Local IP Address Management (IPAM) needs a IAM role allowing the following: Seamless CNI integration CNI Plugin: https://github.com/aws/amazon-vpc-cni-k8s
  • 20. The overlay network help you to secure and isolate the namespaces on cluster level Therefore Calico can block or allow dedicated communication paths between namespaces and pods Implement the Overlay Network Calico
  • 22. The service mesh secures the communication between services allows layer 7 routing Normally a sidecar injection deploy a proxy to each pod It brings also basic ingress controller Service Mesh
  • 23. A default deployment with auto. sidecar injection looks like this However you still will need to care about security Deploy your Service Mesh
  • 24. Finally you need some monitoring & logging Therefore you can use a elasticsearch on AWS as service endpoint for your beats or fluentd Configure the yaml and here you go Monitoring & Logging
  • 25. Takeaways Keep clusters simple: Complexity doesn’t bring security, it just increase your effort First learn, then optimize: Do not try to predict the workload, observe it and adjust the instance types Utilize “as a Service” Backends: Many companies want to host their own DB or even run it on K8s; DBaaS are critical resources when you reach the point of data protection, availability and HA; also messaging and other resources can be helpful
  • 26. Want to know more about Storm Reply? https://www.reply.com/ storm-reply Thank you!