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
AWS EKS Security Best Practices
PDF
Developing on AWS
PPTX
Architecting in Cloud : Your Guide to Amazon Web Services
PPTX
Recap of AWS re:invent 2015
PDF
Docker Paris #29
PDF
How to copy multiple files from local to aws s3 bucket using aws cli
PDF
Amazon EKS - Aws community day bengaluru 2019
PDF
Cloud level scalability - Nuxeo Tour 2014
AWS EKS Security Best Practices
Developing on AWS
Architecting in Cloud : Your Guide to Amazon Web Services
Recap of AWS re:invent 2015
Docker Paris #29
How to copy multiple files from local to aws s3 bucket using aws cli
Amazon EKS - Aws community day bengaluru 2019
Cloud level scalability - Nuxeo Tour 2014

What's hot (19)

PPTX
Docker in der AWS Cloud
PDF
Introduction to EKS and eksctl
PDF
Running Docker clusters on AWS (June 2016)
PPTX
Containerisation & Cloud Trends
PPTX
Docker on AWS
PPTX
Wordpress: Application Strategy on AWS Architecture”
PPT
WordPress Enterprise architecture on AWS
PDF
Three Stage of AWS Cost Optimisation with ActOnCloud Trusted Fixer
PDF
Amazon ECS (December 2015)
PDF
Deploying a simple Rails application with AWS Elastic Beanstalk
PDF
Aws + kubernetes = ❤︎
PDF
YOOXlabTechEvent: How Cloud helps Innovation
PDF
Kubernetes On AWS | AWS Kubernetes Tutorial | AWS EKS Tutorial | AWS Training...
PDF
AWS Community Day - Andrew May - Running Containers in AWS
PPTX
AWS VPC & Networking basic concepts
PDF
Docker Paris #28
PPTX
Kubernetes on AWS => EKS || CNCF Meetup Zurich, Feb 2019
PDF
Using ansible to manage cloud platform by Accelerite
PDF
Matt Johnson - My developer journey towards true hybrid cloud with Kubernetes...
Docker in der AWS Cloud
Introduction to EKS and eksctl
Running Docker clusters on AWS (June 2016)
Containerisation & Cloud Trends
Docker on AWS
Wordpress: Application Strategy on AWS Architecture”
WordPress Enterprise architecture on AWS
Three Stage of AWS Cost Optimisation with ActOnCloud Trusted Fixer
Amazon ECS (December 2015)
Deploying a simple Rails application with AWS Elastic Beanstalk
Aws + kubernetes = ❤︎
YOOXlabTechEvent: How Cloud helps Innovation
Kubernetes On AWS | AWS Kubernetes Tutorial | AWS EKS Tutorial | AWS Training...
AWS Community Day - Andrew May - Running Containers in AWS
AWS VPC & Networking basic concepts
Docker Paris #28
Kubernetes on AWS => EKS || CNCF Meetup Zurich, Feb 2019
Using ansible to manage cloud platform by Accelerite
Matt Johnson - My developer journey towards true hybrid cloud with Kubernetes...
Ad

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

PDF
Set_up_Kubernetes_clusters_on_premises_&_on_AWS_with_Cisco_Container_Platform...
PPTX
Weaveworks at AWS re:Invent 2016: Operations Management with Amazon ECS
PDF
Amazon Elastic Kubernetes Service (EKS) From Zero to Day 1
PDF
Docker clusters on AWS with Amazon ECS and Kubernetes
PDF
[AWS Dev Day] 앱 현대화 | DevOps 개발자가 되기 위한 쿠버네티스 핵심 활용 예제 알아보기 - 정영준 AWS 솔루션즈 아키...
PDF
Aws container webinar day 1
PDF
Running Docker clusters on AWS (November 2016)
PPTX
EKS AWS Presentation kuberneted oriented
PDF
Convergence of Containers and Serverless by Mency Woo
PDF
Deliver Docker Containers Continuously on AWS - QCon 2017
PPTX
Wi t containerizemicroservices
PDF
Amazon EKS Managed Kubernetes Cluster
PDF
Aws interview questions and answers
PDF
Wayin devops-2013
PDF
Building and running Spring Cloud-based microservices on AWS ECS
PDF
Lessons learned migrating 100+ services to Kubernetes
PPT
Scaling drupal horizontally and in cloud
PPTX
EKS New features - Re:invent 2022 recap at AWSUGNL Benelux
PDF
A 60-minute tour of AWS Compute (November 2016)
PDF
AWS Interview Questions and Answers.pdf
Set_up_Kubernetes_clusters_on_premises_&_on_AWS_with_Cisco_Container_Platform...
Weaveworks at AWS re:Invent 2016: Operations Management with Amazon ECS
Amazon Elastic Kubernetes Service (EKS) From Zero to Day 1
Docker clusters on AWS with Amazon ECS and Kubernetes
[AWS Dev Day] 앱 현대화 | DevOps 개발자가 되기 위한 쿠버네티스 핵심 활용 예제 알아보기 - 정영준 AWS 솔루션즈 아키...
Aws container webinar day 1
Running Docker clusters on AWS (November 2016)
EKS AWS Presentation kuberneted oriented
Convergence of Containers and Serverless by Mency Woo
Deliver Docker Containers Continuously on AWS - QCon 2017
Wi t containerizemicroservices
Amazon EKS Managed Kubernetes Cluster
Aws interview questions and answers
Wayin devops-2013
Building and running Spring Cloud-based microservices on AWS ECS
Lessons learned migrating 100+ services to Kubernetes
Scaling drupal horizontally and in cloud
EKS New features - Re:invent 2022 recap at AWSUGNL Benelux
A 60-minute tour of AWS Compute (November 2016)
AWS Interview Questions and Answers.pdf
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

Recently uploaded (20)

PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PPTX
Big Data Technologies - Introduction.pptx
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Electronic commerce courselecture one. Pdf
PDF
Empathic Computing: Creating Shared Understanding
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
MIND Revenue Release Quarter 2 2025 Press Release
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PPTX
MYSQL Presentation for SQL database connectivity
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
20250228 LYD VKU AI Blended-Learning.pptx
Programs and apps: productivity, graphics, security and other tools
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Big Data Technologies - Introduction.pptx
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Electronic commerce courselecture one. Pdf
Empathic Computing: Creating Shared Understanding
Understanding_Digital_Forensics_Presentation.pptx
Spectral efficient network and resource selection model in 5G networks
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Network Security Unit 5.pdf for BCA BBA.
MIND Revenue Release Quarter 2 2025 Press Release
The AUB Centre for AI in Media Proposal.docx
NewMind AI Weekly Chronicles - August'25 Week I
Dropbox Q2 2025 Financial Results & Investor Presentation
Reach Out and Touch Someone: Haptics and Empathic Computing
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
MYSQL Presentation for SQL database connectivity
“AI and Expert System Decision Support & Business Intelligence Systems”

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!