SlideShare a Scribd company logo
1 of 41
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
kubernetes on
t iffa n y je r n ig a n
t iffa n y fa y j
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
T I F F A N Y F A Y J
CONTAINERS
Packaging Distribution Immutable
infrastructure
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
T I F F A N Y F A Y J
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
T I F F A N Y F A Y J
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
T I F F A N Y F A Y J
Open source container
management platform
Helps you run
containers at scale
Gives you primitives
for building
modern applications
WHAT IS KUBERNETES?
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
T I F F A N Y F A Y J
A SINGLE EXTENSIBLE API
SCALE PERFORMANCE BREADTH
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
T I F F A N Y F A Y J
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
T I F F A N Y F A Y J
Vibrant and growing community
of users and contributors
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
T I F F A N Y F A Y J
ON-PREMISES CLOUD
KUBERNETES CAN BE RUN ANYWHERE!
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
T I F F A N Y F A Y J
CLOUD-NATIVE APPLICATIONS
MICROSERVICE TOOLING NATIVE APPLICATIONS
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
T I F F A N Y F A Y J
“Run Kubernetes for me.”
“Native AWS integrations”
“An open source Kubernetes
experience.”
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
T I F F A N Y F A Y J
E L A S T I C C O N T A I N E R S E R V I C E FO R K U B E R N E T E S
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
T I F F A N Y F A Y J
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
T I F F A N Y F A Y J
AMAZON CONTAINER SERVICES
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Tenet 1
EKS is a platform for enterprises
to run production-grade workloads
T I F F A N Y F A Y J
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Tenet 2
EKS provides a native and
upstream Kubernetes experience
T I F F A N Y F A Y J
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
T I F F A N Y F A Y J
EKS IS KUBERNETES CERTIFIED
T I F F A N Y F A Y J
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Tenet 3
If EKS customers want to use additional
AWS services, the integrations are seamless
and eliminate undifferentiated heavy lifting
T I F F A N Y F A Y J
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Tenet 4
EKS team actively contributes
to the Kubernetes project
T I F F A N Y F A Y J
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
T I F F A N Y F A Y J
OPEN SOURCE KUBERNETES COMMUNITY
Kubernetes
https://github.com/kubernetes/kub
ernetes
CNI plugin
https://github.com/aws/amazon-
vpc-cni-k8s
Heptio AWS Authenticator
https://github.com/heptio/authenti
cator
Virtual Kubelet
https://github.com/virtual-
kubelet/virtual-kubelet/
SIG AWS
https://github.com/kubernetes/com
munity/tree/master/sig-aws
Cloud Provider Working
Group
https://github.com/kubernetes/com
munity/tree/master/wg-cloud-
provider
External-DNS
https://github.com/kubernetes-
incubator/external-dns
CoreOS ALB Ingress
https://github.com/coreos/alb-
ingress-controller
CODE
REVIEWS
FIXING
BUGS
IMPLEMENTING
NEW FEATURES
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
T I F F A N Y F A Y J
EKS - CUSTOMERS
Create EKS cluster
Provision worker
nodes
Launch add-ons
Launch
workloads
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
T I F F A N Y F A Y J
EKS - KUBERNETES CONTROL PLANE
Create cluster
Create HA
Control Plane
IAM integration
Certificate
Management
Setup LB
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
T I F F A N Y F A Y J
mycluster.eks.amazonaws.com
Availability
Zone 1
Availability
Zone 2
Availability
Zone 3
kubectl
Workers
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.@ C H R I S T O P H _ K @ T I F F A N Y F A Y J
EKS Architecture
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
T I F F A N Y F A Y J
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
T I F F A N Y F A Y J
EC2 Worker
Nodes
EKS
Control
Plane
Customer VPC EKS VPC
Network Load
Balancer
ENI
API Access
Kubectl
Exec/Logs
TLS
Static IPs
ENI Attachment
Autoscaling Group
EKS ARCHITECTURE
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
T I F F A N Y F A Y J
IAM AUTHENTICATION
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
T I F F A N Y F A Y J
kubectl
3) Authorizes AWS Identity with RBAC
K8s API
1) Passes AWS Identity
2) Verifies AWS Identity
4) K8s action
allowed/denied
IAM Auth
IAM AUTHENTICATION + KUBECTL
https://github.com/heptiolabs/kubernetes-aws-authenticator
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
T I F F A N Y F A Y J
EKS WORKER NODES
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
T I F F A N Y F A Y J
kubectl
AWS Auth
config map & RBAC
Workers
Role
Role
config
map
WORKER PROVISIONING
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
T I F F A N Y F A Y J
Nodes
Node exporter
Pod/Container
Kube-state-metrics
cAdvisor
Application
/metrics
JMX
Cluster-wide Aggregator
Prometheus, Heapster
Visualizer
Grafana, Kibana, Dashboard
Data Model
InfluxDB, Graphite
Alerting
AlertManager, Kapacitor
METRICS
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
T I F F A N Y F A Y J
NETWORKING
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
T I F F A N Y F A Y J
Native VPC networking
with CNI plugin
Pods have the same VPC
address inside the pod
as on the VPC
Simple, secure networking
Open source and
on Github
…{ }
https://github.com/aws/amazon-vpc-cni-k8s
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
T I F F A N Y F A Y J
Nginx Pod
Java Pod
ENI
Veth IP: 172.16.1.147
Veth IP: 172.16.1.224
Nginx Pod
Java Pod
ENI
Veth IP: 172.16.1.38
Veth IP: 172.16.1.24
ec2.associateaddress()
VPC Subnet – 172.16.1.0/24
Instance 1 Instance 2
Primary Private IP:
172.16.1.118
Secondary IPs:
172.16.1.147,
172.16.1.224, …
Primary Private IP:
172.16.1.15
Secondary IPs:
172.16.1.38,
172.16.1.24, …
172.16.0.0/16
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
T I F F A N Y F A Y J
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
T I F F A N Y F A Y J
How do I configure network security with EKS?
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
T I F F A N Y F A Y J
Kubernetes Network
Policies enforce network
security rules
Calico is the leading
implementation of the
network policy API
Open source, active
development (>100
contributors)
Commercial support
available from Tigera
https://www.projectcalico.org/
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
T I F F A N Y F A Y J
STAGE SEPARATION “TENANT” SEPARATION FINE-GRAINED FIREWALLS COMPLIANCE
Namespaces – without
network policy, they are
not network isolated
Reduce attack surface
within microservice-based
applications
Isolate dev, test, and prod E.g., PCI, HIPAA
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.@ C H R I S T O P H _ K @ T I F F A N Y F A Y J© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
T I F F A N Y F A Y J
What version of Kubernetes does EKS support?
1.10.3 currently
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
T I F F A N Y F A Y J
AUTOSCALING
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
T I F F A N Y F A Y J
AUTO SCALING
Pods
Horizontal Pod Autoscaler
Scales pods in response to k8s
generated metrics (CPU)
Cluster
Two options
AWS AutoScaling
k8s Cluster Auto Scaler
Cluster Autoscaler
Reactive
Aware of Pod / Cluster state
Utilizes AWS AutoScaling
AWS AutoScaling
Scaling on CloudWatch Metrics
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
T I F F A N Y F A Y J
❯ helm search mysql
> helm search mysql
NAME CHART VERSION APP VERSION DESCRIPTION
stable/mysql 0.6.0 5.7.14 Fast, reliable, sc
stable/prometheus-mysql-exporter 0.1.0 v0.10.0 A Helm chart for p
stable/percona 0.3.2 5.7.17 free, fully compat
...
❯ helm install stable/mysql
[displays README + information about deployment]
❯ helm list
NAME REVISION UPDATED STATUS CHART NAMESPACE
nobby-cow 1 Wed Jun 6 12:54:00 2018 DEPLOYED mysql-0.6.0 default
Package manager that allows you to bundle up deployment resources
and publish them
https://github.com/kubernetes/helm
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
T I F F A N Y F A Y J
DEPLOYING HELM ON EKS
kubectl -n kube-system create serviceaccount tiller
kubectl create clusterrolebinding tiller --clusterrole
cluster-admin --serviceaccount=kube-system:tiller
helm init --service-account tiller
Helm 2.9+ works with EKS
RBAC permissions required
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
T I F F A N Y F A Y J
Demo
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
T I F F A N Y F A Y J
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
T I F F A N Y F A Y J
EKS – GETTING STARTED
https://aws.amazon.com/eks
https://aws.amazon.com/getting-started/projects/deploy-
kubernetes-app-amazon-eks/
https://aws.amazon.com/blogs/aws/amazon-eks-now-generally-
available/
https://aws.amazon.com/blogs/compute/
https://aws.amazon.com/blogs/opensource/category/compute/am
azon-elastic-container-service-for-kubernetes/
https://medium.com/containers-on-aws
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
tiffanyfayj
Special thanks to:
Paul Maddox, Abby Fuller, Nishi Davidson,
Brandon Chavis, Arun Gupta, Chris Hein,
Omar Lari, Christoph Kassen, and many
more...
aws.amazon.com/eks
THANK YOU!

More Related Content

What's hot

Eks and fargate
Eks and fargateEks and fargate
Eks and fargateAsaf Abres
 
Deploy and Govern at Scale with AWS Control Tower
Deploy and Govern at Scale with AWS Control TowerDeploy and Govern at Scale with AWS Control Tower
Deploy and Govern at Scale with AWS Control TowerAmazon Web Services
 
Kubernetes on AWS with Amazon EKS - MAD301 - New York AWS Summit
Kubernetes on AWS with Amazon EKS - MAD301 - New York AWS SummitKubernetes on AWS with Amazon EKS - MAD301 - New York AWS Summit
Kubernetes on AWS with Amazon EKS - MAD301 - New York AWS SummitAmazon Web Services
 
AWS Cloud cost optimization
AWS Cloud cost optimizationAWS Cloud cost optimization
AWS Cloud cost optimizationYogesh Sharma
 
AWS Elastic Beanstalk 활용하여 수 분만에 코드 배포하기 (최원근, AWS 솔루션즈 아키텍트) :: AWS DevDay2018
AWS Elastic Beanstalk 활용하여 수 분만에 코드 배포하기 (최원근, AWS 솔루션즈 아키텍트) :: AWS DevDay2018AWS Elastic Beanstalk 활용하여 수 분만에 코드 배포하기 (최원근, AWS 솔루션즈 아키텍트) :: AWS DevDay2018
AWS Elastic Beanstalk 활용하여 수 분만에 코드 배포하기 (최원근, AWS 솔루션즈 아키텍트) :: AWS DevDay2018Amazon Web Services Korea
 
AWS Multi-Account Architecture and Best Practices
AWS Multi-Account Architecture and Best PracticesAWS Multi-Account Architecture and Best Practices
AWS Multi-Account Architecture and Best PracticesAmazon Web Services
 
CI/CD pipelines on AWS - Builders Day Israel
CI/CD pipelines on AWS - Builders Day IsraelCI/CD pipelines on AWS - Builders Day Israel
CI/CD pipelines on AWS - Builders Day IsraelAmazon Web Services
 
금융권을 위한 AWS Direct Connect 기반 하이브리드 구성 방법 - AWS Summit Seoul 2017
금융권을 위한 AWS Direct Connect 기반 하이브리드 구성 방법 - AWS Summit Seoul 2017금융권을 위한 AWS Direct Connect 기반 하이브리드 구성 방법 - AWS Summit Seoul 2017
금융권을 위한 AWS Direct Connect 기반 하이브리드 구성 방법 - AWS Summit Seoul 2017Amazon Web Services Korea
 
20210119 AWS Black Belt Online Seminar AWS CloudTrail
20210119 AWS Black Belt Online Seminar AWS CloudTrail20210119 AWS Black Belt Online Seminar AWS CloudTrail
20210119 AWS Black Belt Online Seminar AWS CloudTrailAmazon Web Services Japan
 
Kubernetes on AWS with Amazon EKS
Kubernetes on AWS with Amazon EKSKubernetes on AWS with Amazon EKS
Kubernetes on AWS with Amazon EKSAmazon Web Services
 
Landing Zones - Creating a Foundation for Your AWS Migrations
Landing Zones - Creating a Foundation for Your AWS MigrationsLanding Zones - Creating a Foundation for Your AWS Migrations
Landing Zones - Creating a Foundation for Your AWS MigrationsAmazon Web Services
 
Infrastructure is code with the AWS CDK - MAD312 - New York AWS Summit
Infrastructure is code with the AWS CDK - MAD312 - New York AWS SummitInfrastructure is code with the AWS CDK - MAD312 - New York AWS Summit
Infrastructure is code with the AWS CDK - MAD312 - New York AWS SummitAmazon Web Services
 
Designing security & governance via AWS Control Tower & Organizations - SEC30...
Designing security & governance via AWS Control Tower & Organizations - SEC30...Designing security & governance via AWS Control Tower & Organizations - SEC30...
Designing security & governance via AWS Control Tower & Organizations - SEC30...Amazon Web Services
 
AWS Cost Optimisation Best Practices Webinar
AWS Cost Optimisation Best Practices WebinarAWS Cost Optimisation Best Practices Webinar
AWS Cost Optimisation Best Practices WebinarAmazon Web Services
 
AWS CodeCommit, CodeDeploy & CodePipeline
AWS CodeCommit, CodeDeploy & CodePipelineAWS CodeCommit, CodeDeploy & CodePipeline
AWS CodeCommit, CodeDeploy & CodePipelineJulien SIMON
 
CI-CD with AWS Developer Tools and Fargate_AWSPSSummit_Singapore
CI-CD with AWS Developer Tools and Fargate_AWSPSSummit_SingaporeCI-CD with AWS Developer Tools and Fargate_AWSPSSummit_Singapore
CI-CD with AWS Developer Tools and Fargate_AWSPSSummit_SingaporeAmazon Web Services
 
Amazon CloudWatch - Observability and Monitoring
Amazon CloudWatch - Observability and MonitoringAmazon CloudWatch - Observability and Monitoring
Amazon CloudWatch - Observability and MonitoringRick Hwang
 
Using AWS Control Tower to govern multi-account AWS environments at scale - G...
Using AWS Control Tower to govern multi-account AWS environments at scale - G...Using AWS Control Tower to govern multi-account AWS environments at scale - G...
Using AWS Control Tower to govern multi-account AWS environments at scale - G...Amazon Web Services
 

What's hot (20)

Eks and fargate
Eks and fargateEks and fargate
Eks and fargate
 
Deploy and Govern at Scale with AWS Control Tower
Deploy and Govern at Scale with AWS Control TowerDeploy and Govern at Scale with AWS Control Tower
Deploy and Govern at Scale with AWS Control Tower
 
Kubernetes on AWS with Amazon EKS - MAD301 - New York AWS Summit
Kubernetes on AWS with Amazon EKS - MAD301 - New York AWS SummitKubernetes on AWS with Amazon EKS - MAD301 - New York AWS Summit
Kubernetes on AWS with Amazon EKS - MAD301 - New York AWS Summit
 
AWS Cloud cost optimization
AWS Cloud cost optimizationAWS Cloud cost optimization
AWS Cloud cost optimization
 
CI/CD on AWS
CI/CD on AWSCI/CD on AWS
CI/CD on AWS
 
AWS Elastic Beanstalk 활용하여 수 분만에 코드 배포하기 (최원근, AWS 솔루션즈 아키텍트) :: AWS DevDay2018
AWS Elastic Beanstalk 활용하여 수 분만에 코드 배포하기 (최원근, AWS 솔루션즈 아키텍트) :: AWS DevDay2018AWS Elastic Beanstalk 활용하여 수 분만에 코드 배포하기 (최원근, AWS 솔루션즈 아키텍트) :: AWS DevDay2018
AWS Elastic Beanstalk 활용하여 수 분만에 코드 배포하기 (최원근, AWS 솔루션즈 아키텍트) :: AWS DevDay2018
 
AWS Multi-Account Architecture and Best Practices
AWS Multi-Account Architecture and Best PracticesAWS Multi-Account Architecture and Best Practices
AWS Multi-Account Architecture and Best Practices
 
Cloud Migration Workshop
Cloud Migration WorkshopCloud Migration Workshop
Cloud Migration Workshop
 
CI/CD pipelines on AWS - Builders Day Israel
CI/CD pipelines on AWS - Builders Day IsraelCI/CD pipelines on AWS - Builders Day Israel
CI/CD pipelines on AWS - Builders Day Israel
 
금융권을 위한 AWS Direct Connect 기반 하이브리드 구성 방법 - AWS Summit Seoul 2017
금융권을 위한 AWS Direct Connect 기반 하이브리드 구성 방법 - AWS Summit Seoul 2017금융권을 위한 AWS Direct Connect 기반 하이브리드 구성 방법 - AWS Summit Seoul 2017
금융권을 위한 AWS Direct Connect 기반 하이브리드 구성 방법 - AWS Summit Seoul 2017
 
20210119 AWS Black Belt Online Seminar AWS CloudTrail
20210119 AWS Black Belt Online Seminar AWS CloudTrail20210119 AWS Black Belt Online Seminar AWS CloudTrail
20210119 AWS Black Belt Online Seminar AWS CloudTrail
 
Kubernetes on AWS with Amazon EKS
Kubernetes on AWS with Amazon EKSKubernetes on AWS with Amazon EKS
Kubernetes on AWS with Amazon EKS
 
Landing Zones - Creating a Foundation for Your AWS Migrations
Landing Zones - Creating a Foundation for Your AWS MigrationsLanding Zones - Creating a Foundation for Your AWS Migrations
Landing Zones - Creating a Foundation for Your AWS Migrations
 
Infrastructure is code with the AWS CDK - MAD312 - New York AWS Summit
Infrastructure is code with the AWS CDK - MAD312 - New York AWS SummitInfrastructure is code with the AWS CDK - MAD312 - New York AWS Summit
Infrastructure is code with the AWS CDK - MAD312 - New York AWS Summit
 
Designing security & governance via AWS Control Tower & Organizations - SEC30...
Designing security & governance via AWS Control Tower & Organizations - SEC30...Designing security & governance via AWS Control Tower & Organizations - SEC30...
Designing security & governance via AWS Control Tower & Organizations - SEC30...
 
AWS Cost Optimisation Best Practices Webinar
AWS Cost Optimisation Best Practices WebinarAWS Cost Optimisation Best Practices Webinar
AWS Cost Optimisation Best Practices Webinar
 
AWS CodeCommit, CodeDeploy & CodePipeline
AWS CodeCommit, CodeDeploy & CodePipelineAWS CodeCommit, CodeDeploy & CodePipeline
AWS CodeCommit, CodeDeploy & CodePipeline
 
CI-CD with AWS Developer Tools and Fargate_AWSPSSummit_Singapore
CI-CD with AWS Developer Tools and Fargate_AWSPSSummit_SingaporeCI-CD with AWS Developer Tools and Fargate_AWSPSSummit_Singapore
CI-CD with AWS Developer Tools and Fargate_AWSPSSummit_Singapore
 
Amazon CloudWatch - Observability and Monitoring
Amazon CloudWatch - Observability and MonitoringAmazon CloudWatch - Observability and Monitoring
Amazon CloudWatch - Observability and Monitoring
 
Using AWS Control Tower to govern multi-account AWS environments at scale - G...
Using AWS Control Tower to govern multi-account AWS environments at scale - G...Using AWS Control Tower to govern multi-account AWS environments at scale - G...
Using AWS Control Tower to govern multi-account AWS environments at scale - G...
 

Similar to Running Kubernetes on AWS

Amazon Elastic Container Service for Kubernetes (Amazon EKS) I AWS Dev Day 2018
Amazon Elastic Container Service for Kubernetes (Amazon EKS) I AWS Dev Day 2018Amazon Elastic Container Service for Kubernetes (Amazon EKS) I AWS Dev Day 2018
Amazon Elastic Container Service for Kubernetes (Amazon EKS) I AWS Dev Day 2018AWS Germany
 
AWS Compute Evolved Week: Running Kubernetes on AWS
AWS Compute Evolved Week: Running Kubernetes on AWSAWS Compute Evolved Week: Running Kubernetes on AWS
AWS Compute Evolved Week: Running Kubernetes on AWSAmazon Web Services
 
Running Kubernetes on AWS - AWS Online Tech Talks
Running Kubernetes on AWS - AWS Online Tech TalksRunning Kubernetes on AWS - AWS Online Tech Talks
Running Kubernetes on AWS - AWS Online Tech TalksAmazon Web Services
 
Aws container services overview
Aws container services overviewAws container services overview
Aws container services overviewPatricio Vazquez
 
SRV318 Running Kubernetes with Amazon EKS
SRV318 Running Kubernetes with Amazon EKSSRV318 Running Kubernetes with Amazon EKS
SRV318 Running Kubernetes with Amazon EKSAmazon Web Services
 
使用 Amazon EKS 打造高效的服務架構設計
使用 Amazon EKS 打造高效的服務架構設計使用 Amazon EKS 打造高效的服務架構設計
使用 Amazon EKS 打造高效的服務架構設計Amazon Web Services
 
Expert Tips for Successful Kubernetes Deployment - AWS Summit Sydney 2018
Expert Tips for Successful Kubernetes Deployment - AWS Summit Sydney 2018Expert Tips for Successful Kubernetes Deployment - AWS Summit Sydney 2018
Expert Tips for Successful Kubernetes Deployment - AWS Summit Sydney 2018Amazon Web Services
 
Expert Tips for Successful Kubernetes Deployment on AWS
Expert Tips for Successful Kubernetes Deployment on AWSExpert Tips for Successful Kubernetes Deployment on AWS
Expert Tips for Successful Kubernetes Deployment on AWSAmazon Web Services
 
K8s on AWS - Introducing Amazon EKS
K8s on AWS - Introducing Amazon EKSK8s on AWS - Introducing Amazon EKS
K8s on AWS - Introducing Amazon EKSAmazon Web Services
 
Amazon Elastic Container Service for Kubernetes (Amazon EKS)
Amazon Elastic Container Service for Kubernetes (Amazon EKS)Amazon Elastic Container Service for Kubernetes (Amazon EKS)
Amazon Elastic Container Service for Kubernetes (Amazon EKS)Amazon Web Services
 
Run Kubernetes with Amazon EKS - SRV318 - Chicago AWS Summit
Run Kubernetes with Amazon EKS - SRV318 - Chicago AWS SummitRun Kubernetes with Amazon EKS - SRV318 - Chicago AWS Summit
Run Kubernetes with Amazon EKS - SRV318 - Chicago AWS SummitAmazon Web Services
 
Day Two Operations of Kubernetes on AWS (GPSTEC309) - AWS re:Invent 2018
Day Two Operations of Kubernetes on AWS (GPSTEC309) - AWS re:Invent 2018Day Two Operations of Kubernetes on AWS (GPSTEC309) - AWS re:Invent 2018
Day Two Operations of Kubernetes on AWS (GPSTEC309) - AWS re:Invent 2018Amazon Web Services
 
Getting Started with Containers in the Cloud: AWS Developer Workshop at Web S...
Getting Started with Containers in the Cloud: AWS Developer Workshop at Web S...Getting Started with Containers in the Cloud: AWS Developer Workshop at Web S...
Getting Started with Containers in the Cloud: AWS Developer Workshop at Web S...Amazon Web Services
 
Introduction to AWS Fargate & Amazon Elastic Container Service for Kubernetes
Introduction to AWS Fargate & Amazon Elastic Container Service for KubernetesIntroduction to AWS Fargate & Amazon Elastic Container Service for Kubernetes
Introduction to AWS Fargate & Amazon Elastic Container Service for KubernetesAmazon Web Services
 
Containers-AWS-Webinar-13-11-2018.pdf
Containers-AWS-Webinar-13-11-2018.pdfContainers-AWS-Webinar-13-11-2018.pdf
Containers-AWS-Webinar-13-11-2018.pdfAmazon Web Services
 
Running Containers Without Servers: Introduction to AWS Fargate - SRV214 - At...
Running Containers Without Servers: Introduction to AWS Fargate - SRV214 - At...Running Containers Without Servers: Introduction to AWS Fargate - SRV214 - At...
Running Containers Without Servers: Introduction to AWS Fargate - SRV214 - At...Amazon Web Services
 
Getting Started with Kubernetes on AWS
Getting Started with Kubernetes on AWSGetting Started with Kubernetes on AWS
Getting Started with Kubernetes on AWSAmazon Web Services
 
Getting Started with Containers on AWS
Getting Started with Containers on AWSGetting Started with Containers on AWS
Getting Started with Containers on AWSAmazon Web Services
 

Similar to Running Kubernetes on AWS (20)

Running Kubernetes on AWS.pdf
Running Kubernetes on AWS.pdfRunning Kubernetes on AWS.pdf
Running Kubernetes on AWS.pdf
 
Amazon Elastic Container Service for Kubernetes (Amazon EKS) I AWS Dev Day 2018
Amazon Elastic Container Service for Kubernetes (Amazon EKS) I AWS Dev Day 2018Amazon Elastic Container Service for Kubernetes (Amazon EKS) I AWS Dev Day 2018
Amazon Elastic Container Service for Kubernetes (Amazon EKS) I AWS Dev Day 2018
 
EKS Workshop
 EKS Workshop EKS Workshop
EKS Workshop
 
AWS Compute Evolved Week: Running Kubernetes on AWS
AWS Compute Evolved Week: Running Kubernetes on AWSAWS Compute Evolved Week: Running Kubernetes on AWS
AWS Compute Evolved Week: Running Kubernetes on AWS
 
Running Kubernetes on AWS - AWS Online Tech Talks
Running Kubernetes on AWS - AWS Online Tech TalksRunning Kubernetes on AWS - AWS Online Tech Talks
Running Kubernetes on AWS - AWS Online Tech Talks
 
Aws container services overview
Aws container services overviewAws container services overview
Aws container services overview
 
SRV318 Running Kubernetes with Amazon EKS
SRV318 Running Kubernetes with Amazon EKSSRV318 Running Kubernetes with Amazon EKS
SRV318 Running Kubernetes with Amazon EKS
 
使用 Amazon EKS 打造高效的服務架構設計
使用 Amazon EKS 打造高效的服務架構設計使用 Amazon EKS 打造高效的服務架構設計
使用 Amazon EKS 打造高效的服務架構設計
 
Expert Tips for Successful Kubernetes Deployment - AWS Summit Sydney 2018
Expert Tips for Successful Kubernetes Deployment - AWS Summit Sydney 2018Expert Tips for Successful Kubernetes Deployment - AWS Summit Sydney 2018
Expert Tips for Successful Kubernetes Deployment - AWS Summit Sydney 2018
 
Expert Tips for Successful Kubernetes Deployment on AWS
Expert Tips for Successful Kubernetes Deployment on AWSExpert Tips for Successful Kubernetes Deployment on AWS
Expert Tips for Successful Kubernetes Deployment on AWS
 
K8s on AWS - Introducing Amazon EKS
K8s on AWS - Introducing Amazon EKSK8s on AWS - Introducing Amazon EKS
K8s on AWS - Introducing Amazon EKS
 
Amazon Elastic Container Service for Kubernetes (Amazon EKS)
Amazon Elastic Container Service for Kubernetes (Amazon EKS)Amazon Elastic Container Service for Kubernetes (Amazon EKS)
Amazon Elastic Container Service for Kubernetes (Amazon EKS)
 
Run Kubernetes with Amazon EKS - SRV318 - Chicago AWS Summit
Run Kubernetes with Amazon EKS - SRV318 - Chicago AWS SummitRun Kubernetes with Amazon EKS - SRV318 - Chicago AWS Summit
Run Kubernetes with Amazon EKS - SRV318 - Chicago AWS Summit
 
Day Two Operations of Kubernetes on AWS (GPSTEC309) - AWS re:Invent 2018
Day Two Operations of Kubernetes on AWS (GPSTEC309) - AWS re:Invent 2018Day Two Operations of Kubernetes on AWS (GPSTEC309) - AWS re:Invent 2018
Day Two Operations of Kubernetes on AWS (GPSTEC309) - AWS re:Invent 2018
 
Getting Started with Containers in the Cloud: AWS Developer Workshop at Web S...
Getting Started with Containers in the Cloud: AWS Developer Workshop at Web S...Getting Started with Containers in the Cloud: AWS Developer Workshop at Web S...
Getting Started with Containers in the Cloud: AWS Developer Workshop at Web S...
 
Introduction to AWS Fargate & Amazon Elastic Container Service for Kubernetes
Introduction to AWS Fargate & Amazon Elastic Container Service for KubernetesIntroduction to AWS Fargate & Amazon Elastic Container Service for Kubernetes
Introduction to AWS Fargate & Amazon Elastic Container Service for Kubernetes
 
Containers-AWS-Webinar-13-11-2018.pdf
Containers-AWS-Webinar-13-11-2018.pdfContainers-AWS-Webinar-13-11-2018.pdf
Containers-AWS-Webinar-13-11-2018.pdf
 
Running Containers Without Servers: Introduction to AWS Fargate - SRV214 - At...
Running Containers Without Servers: Introduction to AWS Fargate - SRV214 - At...Running Containers Without Servers: Introduction to AWS Fargate - SRV214 - At...
Running Containers Without Servers: Introduction to AWS Fargate - SRV214 - At...
 
Getting Started with Kubernetes on AWS
Getting Started with Kubernetes on AWSGetting Started with Kubernetes on AWS
Getting Started with Kubernetes on AWS
 
Getting Started with Containers on AWS
Getting Started with Containers on AWSGetting Started with Containers on AWS
Getting Started with Containers on AWS
 

More from Amazon Web Services

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Amazon Web Services
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Amazon Web Services
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateAmazon Web Services
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSAmazon Web Services
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Amazon Web Services
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Amazon Web Services
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...Amazon Web Services
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsAmazon Web Services
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareAmazon Web Services
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSAmazon Web Services
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAmazon Web Services
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareAmazon Web Services
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWSAmazon Web Services
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckAmazon Web Services
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without serversAmazon Web Services
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...Amazon Web Services
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceAmazon Web Services
 

More from Amazon Web Services (20)

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS Fargate
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWS
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot
 
Open banking as a service
Open banking as a serviceOpen banking as a service
Open banking as a service
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
 
Computer Vision con AWS
Computer Vision con AWSComputer Vision con AWS
Computer Vision con AWS
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatare
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e web
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
 
Fundraising Essentials
Fundraising EssentialsFundraising Essentials
Fundraising Essentials
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container Service
 

Running Kubernetes on AWS

  • 1. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. kubernetes on t iffa n y je r n ig a n t iffa n y fa y j
  • 2. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. T I F F A N Y F A Y J CONTAINERS Packaging Distribution Immutable infrastructure
  • 3. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. T I F F A N Y F A Y J © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. T I F F A N Y F A Y J
  • 4. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. T I F F A N Y F A Y J Open source container management platform Helps you run containers at scale Gives you primitives for building modern applications WHAT IS KUBERNETES?
  • 5. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. T I F F A N Y F A Y J A SINGLE EXTENSIBLE API SCALE PERFORMANCE BREADTH
  • 6. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. T I F F A N Y F A Y J © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. T I F F A N Y F A Y J Vibrant and growing community of users and contributors
  • 7. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. T I F F A N Y F A Y J ON-PREMISES CLOUD KUBERNETES CAN BE RUN ANYWHERE!
  • 8. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. T I F F A N Y F A Y J CLOUD-NATIVE APPLICATIONS MICROSERVICE TOOLING NATIVE APPLICATIONS
  • 9. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. T I F F A N Y F A Y J “Run Kubernetes for me.” “Native AWS integrations” “An open source Kubernetes experience.”
  • 10. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. T I F F A N Y F A Y J E L A S T I C C O N T A I N E R S E R V I C E FO R K U B E R N E T E S © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. T I F F A N Y F A Y J
  • 11. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. T I F F A N Y F A Y J AMAZON CONTAINER SERVICES
  • 12. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Tenet 1 EKS is a platform for enterprises to run production-grade workloads T I F F A N Y F A Y J © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 13. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Tenet 2 EKS provides a native and upstream Kubernetes experience T I F F A N Y F A Y J © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 14. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. T I F F A N Y F A Y J EKS IS KUBERNETES CERTIFIED T I F F A N Y F A Y J
  • 15. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Tenet 3 If EKS customers want to use additional AWS services, the integrations are seamless and eliminate undifferentiated heavy lifting T I F F A N Y F A Y J © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 16. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Tenet 4 EKS team actively contributes to the Kubernetes project T I F F A N Y F A Y J © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 17. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. T I F F A N Y F A Y J OPEN SOURCE KUBERNETES COMMUNITY Kubernetes https://github.com/kubernetes/kub ernetes CNI plugin https://github.com/aws/amazon- vpc-cni-k8s Heptio AWS Authenticator https://github.com/heptio/authenti cator Virtual Kubelet https://github.com/virtual- kubelet/virtual-kubelet/ SIG AWS https://github.com/kubernetes/com munity/tree/master/sig-aws Cloud Provider Working Group https://github.com/kubernetes/com munity/tree/master/wg-cloud- provider External-DNS https://github.com/kubernetes- incubator/external-dns CoreOS ALB Ingress https://github.com/coreos/alb- ingress-controller CODE REVIEWS FIXING BUGS IMPLEMENTING NEW FEATURES
  • 18. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. T I F F A N Y F A Y J EKS - CUSTOMERS Create EKS cluster Provision worker nodes Launch add-ons Launch workloads
  • 19. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. T I F F A N Y F A Y J EKS - KUBERNETES CONTROL PLANE Create cluster Create HA Control Plane IAM integration Certificate Management Setup LB
  • 20. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. T I F F A N Y F A Y J mycluster.eks.amazonaws.com Availability Zone 1 Availability Zone 2 Availability Zone 3 kubectl Workers
  • 21. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.@ C H R I S T O P H _ K @ T I F F A N Y F A Y J EKS Architecture © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. T I F F A N Y F A Y J
  • 22. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. T I F F A N Y F A Y J EC2 Worker Nodes EKS Control Plane Customer VPC EKS VPC Network Load Balancer ENI API Access Kubectl Exec/Logs TLS Static IPs ENI Attachment Autoscaling Group EKS ARCHITECTURE
  • 23. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. T I F F A N Y F A Y J IAM AUTHENTICATION
  • 24. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. T I F F A N Y F A Y J kubectl 3) Authorizes AWS Identity with RBAC K8s API 1) Passes AWS Identity 2) Verifies AWS Identity 4) K8s action allowed/denied IAM Auth IAM AUTHENTICATION + KUBECTL https://github.com/heptiolabs/kubernetes-aws-authenticator
  • 25. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. T I F F A N Y F A Y J EKS WORKER NODES
  • 26. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. T I F F A N Y F A Y J kubectl AWS Auth config map & RBAC Workers Role Role config map WORKER PROVISIONING
  • 27. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. T I F F A N Y F A Y J Nodes Node exporter Pod/Container Kube-state-metrics cAdvisor Application /metrics JMX Cluster-wide Aggregator Prometheus, Heapster Visualizer Grafana, Kibana, Dashboard Data Model InfluxDB, Graphite Alerting AlertManager, Kapacitor METRICS
  • 28. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. T I F F A N Y F A Y J NETWORKING
  • 29. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. T I F F A N Y F A Y J Native VPC networking with CNI plugin Pods have the same VPC address inside the pod as on the VPC Simple, secure networking Open source and on Github …{ } https://github.com/aws/amazon-vpc-cni-k8s
  • 30. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. T I F F A N Y F A Y J Nginx Pod Java Pod ENI Veth IP: 172.16.1.147 Veth IP: 172.16.1.224 Nginx Pod Java Pod ENI Veth IP: 172.16.1.38 Veth IP: 172.16.1.24 ec2.associateaddress() VPC Subnet – 172.16.1.0/24 Instance 1 Instance 2 Primary Private IP: 172.16.1.118 Secondary IPs: 172.16.1.147, 172.16.1.224, … Primary Private IP: 172.16.1.15 Secondary IPs: 172.16.1.38, 172.16.1.24, … 172.16.0.0/16
  • 31. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. T I F F A N Y F A Y J © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. T I F F A N Y F A Y J How do I configure network security with EKS?
  • 32. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. T I F F A N Y F A Y J Kubernetes Network Policies enforce network security rules Calico is the leading implementation of the network policy API Open source, active development (>100 contributors) Commercial support available from Tigera https://www.projectcalico.org/
  • 33. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. T I F F A N Y F A Y J STAGE SEPARATION “TENANT” SEPARATION FINE-GRAINED FIREWALLS COMPLIANCE Namespaces – without network policy, they are not network isolated Reduce attack surface within microservice-based applications Isolate dev, test, and prod E.g., PCI, HIPAA
  • 34. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.@ C H R I S T O P H _ K @ T I F F A N Y F A Y J© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. T I F F A N Y F A Y J What version of Kubernetes does EKS support? 1.10.3 currently
  • 35. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. T I F F A N Y F A Y J AUTOSCALING
  • 36. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. T I F F A N Y F A Y J AUTO SCALING Pods Horizontal Pod Autoscaler Scales pods in response to k8s generated metrics (CPU) Cluster Two options AWS AutoScaling k8s Cluster Auto Scaler Cluster Autoscaler Reactive Aware of Pod / Cluster state Utilizes AWS AutoScaling AWS AutoScaling Scaling on CloudWatch Metrics
  • 37. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. T I F F A N Y F A Y J ❯ helm search mysql > helm search mysql NAME CHART VERSION APP VERSION DESCRIPTION stable/mysql 0.6.0 5.7.14 Fast, reliable, sc stable/prometheus-mysql-exporter 0.1.0 v0.10.0 A Helm chart for p stable/percona 0.3.2 5.7.17 free, fully compat ... ❯ helm install stable/mysql [displays README + information about deployment] ❯ helm list NAME REVISION UPDATED STATUS CHART NAMESPACE nobby-cow 1 Wed Jun 6 12:54:00 2018 DEPLOYED mysql-0.6.0 default Package manager that allows you to bundle up deployment resources and publish them https://github.com/kubernetes/helm
  • 38. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. T I F F A N Y F A Y J DEPLOYING HELM ON EKS kubectl -n kube-system create serviceaccount tiller kubectl create clusterrolebinding tiller --clusterrole cluster-admin --serviceaccount=kube-system:tiller helm init --service-account tiller Helm 2.9+ works with EKS RBAC permissions required
  • 39. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. T I F F A N Y F A Y J Demo © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. T I F F A N Y F A Y J
  • 40. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. T I F F A N Y F A Y J EKS – GETTING STARTED https://aws.amazon.com/eks https://aws.amazon.com/getting-started/projects/deploy- kubernetes-app-amazon-eks/ https://aws.amazon.com/blogs/aws/amazon-eks-now-generally- available/ https://aws.amazon.com/blogs/compute/ https://aws.amazon.com/blogs/opensource/category/compute/am azon-elastic-container-service-for-kubernetes/ https://medium.com/containers-on-aws
  • 41. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. tiffanyfayj Special thanks to: Paul Maddox, Abby Fuller, Nishi Davidson, Brandon Chavis, Arun Gupta, Chris Hein, Omar Lari, Christoph Kassen, and many more... aws.amazon.com/eks THANK YOU!