SlideShare a Scribd company logo
1 of 65
Download to read offline
Hoseok Seo
Solutions Architect, AWS
AWS Container Webinar
Why Kubernetes?
๋งˆ์ดํฌ๋กœ ์„œ๋น„์Šค ์•„ํ‚คํ…์ฒ˜?
DevOps ?
Image ๋ฐฐํฌ๋กœ ์ธํ•œ ์„ค์น˜ ๋ฐ ๊ด€๋ฆฌ ํŽธ๋ฆฌ์„ฑ ?
Auto Scaling & Self Healing ?
๋ฌด์ค‘๋‹จ rolling update ?
๊ฐ€์ƒํ™” ๊ธฐ์ˆ  ๋ฐœ์ „๊ณผ ์ถฉ๋ถ„ํ•œ IT๋ฆฌ์†Œ์Šค ?
Google Trends
Pets vs Cattle
https://www.slideshare.net/randybias/the-history-of-pets-vs-cattle-and-using-it-properly
Going back in time
https://kubernetes.io/docs/concepts/overview/what-is-kubernetes/
Why Kubernetes?
https://aws.amazon.com/ko/kubernetes/?nc1=h_ls
What Kubernetes is not?
https://kubernetes.io/docs/concepts/overview/what-is-kubernetes/
โ€ข Does not limit the types of applications supported.
โ€ข Does not deploy source code and does not build your application.
โ€ข Does not provide application-level services, such as middleware, data-processing frameworks,
databases, caches, nor cluster storage systems as built-in services.
โ€ข Does not dictate logging, monitoring, or alerting solutions.
โ€ข Does not provide nor mandate a configuration language/system.
โ€ข Does not provide nor adopt any comprehensive machine configuration, maintenance, management,
or self-healing systems.
โ€ข Additionally, Kubernetes is not a mere orchestration system.
CNCF Cloud Native Landscape for Kubernetes (2020.04.08)
https://landscape.cncf.io/images/landscape.png
Your company/organization manages containers with
https://www.cncf.io/wp-content/uploads/2020/03/CNCF_Survey_Report.pdf
Kubernetes Platform
Rancher vs kops vs Kubeadm vs Amazon EKS
Rancher (RKE) Kops Kubeadm Amazon EKS
Certified Kubernetes Y Y Y Y
Kubernetes
version supproted
v1.17.4
v1.16.8
v1.15.11
1.16
1.15
1.14
โ€ฆ
1.18
1.17
1.16
โ€ฆ
1.15
1.14
1.13
Installation method Rancher web UI
cui
terraform
kops-cli
terraform
cui aws-cli
terraform
eksctl
cloudformation
console
Installation difficulty Low Medieum High Low
Upgrade Support Good Normal Good Good
Maintenance Rancher Forum
Subscription plans
Kops Github Kubeadm Github AWS Forum
AWS Support Plan
AWS Integration Good Good Good Perfect
What is Rancher?
Rancher 2.0
https://rancher.com/announcing-rancher-2-0/
Rancher Server Architecture
What is Kops?
We like to think of it as kubectl for clusters.
kops helps you create, destroy, upgrade and maintain production-grade, highly available,
Kubernetes clusters from the command line. AWS (Amazon Web Services) is currently
officially supported, with GCE and OpenStack in beta support, and VMware vSphere in
alpha, and other platforms planned.
Getting Started with kops on AWS โ€“ Intro
1. aws ์ œ์–ด์™€ kops cluster ์ƒ์„ฑ์„ ์œ„ํ•œ IAM ๊ถŒํ•œ ์ƒ์„ฑ
2. kops-cli ์™€ kubectl ์„ค์น˜
3. kops ํ™˜๊ฒฝ ์„ค์ •์„ ์œ„ํ•œ s3 bucket ์ƒ์„ฑ
4. kops ์„ค์น˜๋ฅผ ์œ„ํ•œ ํ™˜๊ฒฝ๋ณ€์ˆ˜ ์„ค์ •
5. kops cluster ์ƒ์„ฑ ๋ฐ validation ํ™•์ธ
Getting Started with kops on AWS โ€“ setup IAM user
* aws-cli ๋ช…๋ น์–ด๋ฅผ ํ†ตํ•œ aws ์˜ ์ž์› ์ œ์–ด์™€ kops-cli ๋กœ cluster ์ƒ์„ฑ์„ ์œ„ํ•ด์„œ
ํ•˜๋‹จ๊ณผ ๊ฐ™์€ IAM ๊ถŒํ•œ ํ•„์š”
AmazonEC2FullAccess
AmazonRoute53FullAccess
AmazonS3FullAccess
IAMFullAccess
AmazonVPCFullAccess
Getting Started with kops on AWS โ€“ install kops cli and kubectl
* kops cluster ์ƒ์„ฑ์„ kops-cli ์„ค์น˜์™€ kubernetes ์ œ์–ด๋ฅผ ์œ„ํ•œ kubectl ์„ค์น˜
wget -O kops https://github.com/kubernetes/kops/releases/download/$(curl -s
https://api.github.com/repos/kubernetes/kops/releases/latest | grep tag_name | cut -d '"' -f 4)/kops-
linux-amd64
sudo chmod 755 kops; sudo mv kops /usr/local/bin/kops
wget -O kubectl https://storage.googleapis.com/kubernetes-release/release/$(curl -s
https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl
sudo chmod 755 kubectl; sudo mv kubectl /usr/local/bin
Getting Started with kops on AWS โ€“ create s3 bucket
* kops Cluster State storage ์„ค์ •์„ ์œ„ํ•ด s3 bucket ์ƒ์„ฑ
aws s3 mb s3://kops001-bucket-state-store --region ap-northeast-1
aws s3api put-bucket-versioning --bucket kops001-bucket-state-store --versioning-configuration
Status=Enabled
Getting Started with kops on AWS โ€“ environment setting
* kops ์„ค์น˜์— ํ•„์š”ํ•œ ํ™˜๊ฒฝ๋ณ€์ˆ˜ ์„ค์ •
export NAME=kops001cluster.k8s.local
export KOPS_STATE_STORE=s3://kops001-bucket-state-store
export MASTER_NODE_SIZE="m5.large"
export MASTER_ZONES="ap-northeast-1a,ap-northeast-1c"
export MASTER_COUNT=3
export NODE_SIZE="m5.large"
export NODE_ZONES="ap-northeast-1a,ap-northeast-1c"
export NODE_COUNT=3
* kops cluster ๋‚ด์—์„œ ์‚ฌ์šฉํ•˜๋Š” ์ธ์ฆ์„œ ์ƒ์„ฑ
mkdir ~/key; cd ~/key;ssh-keygen -t rsa -f $NAME.key -N ''
Getting Started with kops on AWS โ€“ install kops cluster
* kops ์˜ create cluster ๋ช…๋ น์–ด๋กœ ์ƒ์„ฑ
kops create cluster ${NAME} 
--ssh-public-key=~/key/$NAME.key.pub 
--state $KOPS_STATE_STORE 
--master-size $MASTER_SIZE 
--master-zones $MASTER_ZONES 
--master-count $MASTER_COUNT 
--node-size $NODE_SIZE 
--zones $ZONES 
--node-count $NODE_COUNT 
--networking amazon-vpc-routed-eni 
--topology private 
--yes
What is Kubeadm?
Kubeadm is a tool built to provide kubeadm init and kubeadm join as best-practice โ€œfast
pathsโ€ for creating Kubernetes clusters.
kubeadm performs the actions necessary to get a minimum viable cluster up and running. By
design, it cares only about bootstrapping, not about provisioning machines. Kubeadm also supports
other cluster lifecycle functions, such as upgrades, downgrade, and managing bootstrap tokens.
Likewise, installing various nice-to-have addons, like the Kubernetes Dashboard, monitoring
solutions, and cloud-specific addons, is not in scope.
Getting Started with kops on AWS โ€“ Before you begin
One or more machines running one of:
โ€ข Ubuntu 16.04+
โ€ข Debian 9+
โ€ข CentOS 7
โ€ข Red Hat Enterprise Linux (RHEL) 7
โ€ข Fedora 25+
โ€ข HypriotOS v1.0.1+
โ€ข Container Linux (tested with 1800.6.0)
2 GB or more of RAM per machine (any less will leave little room for your apps)
2 CPUs or more
Full network connectivity between all machines in the cluster (public or private network is fine)
Unique hostname, MAC address, and product_uuid for every node. See here for more details.
Swap disabled. You MUST disable swap in order for the kubelet to work properly.
Getting Started with kops on AWS - Check required ports
Getting Started with kops on AWS - Install
Installing runtime
Installing kubeadm, kubelet and kubect
Configure cgroup driver used by kubelet on control-plane node
Master node configuration (kubeadm init)
Worker Node join into cluster (kubeadm join)
https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/install-kubeadm/
E L A S T I C CO N TA I N E R S E R V I C E F O R K U B E R N E T E S
(EKS)
Principles of AWS Managed Kubernetes
E L A S T I C C O N TA I N E R S E R V I C E F O R K U B E R N E T E S
EKS๋Š” ๋Œ€๊ทœ๋ชจ ํšŒ์‚ฌ๊ฐ€ ์šด์˜ ์ˆ˜์ค€์˜
์ž‘์—… ๋ถ€ํ•˜๋ฅผ ์‹คํ–‰ํ•˜๋Š” ํ”Œ๋žซํผ์ด๋‹ค
EKS is a platform for enterprises to run production-grade workloads
EKS๋Š” ์ˆœ์ˆ˜ ์ฟ ๋ฒ„๋„คํ‹ฐ์Šค ๋ฐ
์—…์ŠคํŠธ๋ฆผ ๊ฒฝํ—˜์„ ์œ ์ง€ํ•œ๋‹ค
EKS provides a native and upstream Kubernetes experience
EKS ๊ณ ๊ฐ์ด ๋‹ค๋ฅธ AWS ์„œ๋น„์Šค๋ฅผ ์‚ฌ์šฉํ• 
๋•Œ, ๋ณต์žกํ•˜์ง€ ์•Š๊ณ  ๋งค๋„๋Ÿฝ๊ฒŒ ์—ฐ๊ณ„ํ•œ๋‹ค
If EKS customers want to use additional AWS services,
the integrations are seamless and eliminate undifferentiated heavy lifting
EKS ํŒ€์€ ์ฟ ๋ฒ„๋„คํ‹ฐ์Šค ํ”„๋กœ์ ํŠธ์—
์ ๊ทน์ ์œผ๋กœ ๊ธฐ์—ฌํ•œ๋‹ค
EKS team actively contributes to the Kubernetes project
TenetsAmazon EKS
Amazon EKS Architecture
mycluster.eks.amazonaws.com
EKS ์›Œ์ปค๋…ธ๋“œ
kubectl
AZ 1 AZ 2 AZ 3
์‚ฌ์šฉ์ž์˜ AWS ๊ณ„์ •
VPC
EKS Control Plane
๊ณ  ๊ฐ€์šฉ์„ฑ์„ ๋‚ด์žฌํ•œ ๋‹จ์ผ ํ…Œ๋„ŒํŠธ
์ธํ”„๋ผ์ŠคํŠธ๋Ÿญ์ฒ˜
์ „์ฒด โ€œ์ˆœ์ˆ˜ AWSโ€ ์„œ๋น„์Šค
NLB์„ ํ™œ์šฉํ•œ ๋ถ€ํ•˜๋ถ„์‚ฐ
์ปจํŠธ๋กค ํ”Œ๋ ˆ์ธ ๋กœ๊ทธ(new)
โ€ข API ์„œ๋ฒ„, Audit, Controller Manager,
Authenticator, Scheduler
EKS Data Plane
๋‹ค์–‘ํ•œ ์ธ์Šคํ„ด์Šค์œ ํ˜• ๋ฐ ๊ฐ€๊ฒฉ์ •์ฑ… ์ ์šฉ
โ€ข p2, p3 GPU, i3.metal, ์ŠคํŒŸ ๋˜๋Š” ์กฐํ•ฉ
AI/ML์šฉ Amazon EKS
โ€ข EKS์— ์ตœ์ ํ™”๋œ GPU ์ง€์› AMI
EKS AMI ๋นŒ๋“œ ์Šคํฌ๋ฆฝํŠธ
์›Œํฌ๋กœ๋“œ ํŠน์„ฑ์— ์ ํ•ฉํ•œ ์ธ์Šคํ„ด์Šค ์ ์šฉ
โ€ข Snapchat์€ ์ตœ์‹  ์„ธ๋Œ€์˜ c5 EC2 ์ธ
์Šคํ„ด์Šค๋ฅผ ์ ์šฉํ•˜์—ฌ, c4 ๋Œ€๋น„ ์ตœ๋Œ€
25 % ํ–ฅ์ƒ๋œ ๊ฐ€๊ฒฉ๋Œ€๋น„ ์„ฑ๋Šฅ ๋‹ฌ์„ฑ
K8S Components Configured with EKS
EKS ๋งˆ์Šคํ„ฐ
์—”๋“œํฌ์ธํŠธ
ALB/NLB
ํด๋Ÿฌ์Šคํ„ฐ
์—ฐ๊ฒฐ
๋ชจ๋‹ˆํ„ฐ๋ง/
๋งคํŠธ๋ฆญ์Šค
Amazon EKS ๋…ธ๋“œ
์Šคํ† ๋ฆฌ์ง€ & ์ •์ฑ…
(Amazon EBS / EFS ์Šคํ† ๋ฆฌ์ง€ ํด๋ž˜์Šค )
์ปดํ“จํŠธ & ์ •์ฑ…
(์˜คํ†  ์Šค์ผ€์ผ๋ง)
๋„คํŠธ์›Œํฌ & ์ •์ฑ… ( Calico )
Getting Started with Amazon EKS - install eksctl and kubectl
* EKS cluster ์ƒ์„ฑ์„ eksctl ์„ค์น˜์™€ kubernetes ์ œ์–ด๋ฅผ ์œ„ํ•œ kubectl ์„ค์น˜
curl --silent --location "https://github.com/weaveworks/eksctl/releases/latest/download/eksctl_$(uname
-s)_amd64.tar.gz" | tar xz -C /tmp
sudo mv /tmp/eksctl /usr/local/bin
wget -O kubectl https://storage.googleapis.com/kubernetes-release/release/$(curl -s
https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl
sudo chmod 755 kubectl; sudo mv kubectl /usr/local/bin
Getting Started with Amazon EKS - eks cluster yaml file
apiVersion: eksctl.io/v1alpha5
kind: ClusterConfig
metadata:
name: eks-test001
region: ap-northeast-1
version: "1.15"
nodeGroups:
- name: ng1-eks-test001
instanceType: m5.large
minSize: 3
maxSize: 5
desiredCapacity: 3
volumeSize: 100
volumeType: gp2
volumeEncrypted: true
privateNetworking: true
ssh:
publicKeyName: eks1tokyo
iam:
withAddonPolicies:
autoScaler: true
cloudWatch: true
ebs: true
fsx: true
efs: true
albIngress: true
cloudWatch:
clusterLogging:
enableTypes: ["api", "audit", "authenticator",
"controllerManager", "scheduler"]
Getting Started with Amazon EKS - create eks cluster using eksctl
* eksctl ์˜ create cluster ๋ช…๋ น์–ด๋กœ ์ƒ์„ฑ
eksctl create cluster --auto-kubeconfig -f eks_cluster_test001.yaml
Getting Started with kops on AWS โ€“ Installation Captured Video
Getting Started with Amazon EKS - Installation Captured Video
Amazon EKS Architecture diagram
https://aws.amazon.com/blogs/opensource/eks-support-mu/
Amazon EKS Architecture diagram
https://aws.amazon.com/quickstart/architecture/amazon-eks/
AWS Service related to Amazon EKS
โ€ข VPC
โ€ข Network
โ€ข IAM
โ€ข Security Group
โ€ข EC2
โ€ข LoadBalancer
โ€ข Storage
AWS Service related to Amazon EKS
โ€ข VPC
โ€ข Network
โ€ข IAM
โ€ข Security Group
โ€ข EC2
โ€ข LoadBalancer
โ€ข Storage
AWS Service related to Amazon EKS
โ€ข VPC
โ€ข Network
โ€ข IAM
โ€ข Security Group
โ€ข EC2
โ€ข LoadBalancer
โ€ข Storage
AWS Service related to Amazon EKS
โ€ข VPC
โ€ข Network
โ€ข IAM
โ€ข Security Group
โ€ข EC2
โ€ข LoadBalancer
โ€ข Storage
AWS Service related to Amazon EKS
โ€ข VPC
โ€ข Network
โ€ข IAM
โ€ข Security Group
โ€ข EC2
โ€ข LoadBalancer
โ€ข Storage
AWS Service related to Amazon EKS
โ€ข VPC
โ€ข Network
โ€ข IAM
โ€ข Security Group
โ€ข EC2
โ€ข LoadBalancer
โ€ข Storage
AWS Service related to Amazon EKS
โ€ข VPC
โ€ข Network
โ€ข IAM
โ€ข Security Group
โ€ข EC2
โ€ข LoadBalancer
โ€ข Storage
https://www.oodlestechnologies.com/blogs/AWS-EC2-Expanding-linux-root-partition/
AWS Service related to Amazon EKS
โ€ข VPC
โ€ข Network
โ€ข IAM
โ€ข Security Group
โ€ข EC2
โ€ข LoadBalancer
โ€ข Storage
โ€ข Classic Load Balancer
โ€ข Application Load Balancer
โ€ข Network Load Balancer
AWS Service related to Amazon EKS
โ€ข VPC
โ€ข Network
โ€ข IAM
โ€ข Security Group
โ€ข EC2
โ€ข LoadBalancer
โ€ข Storage
https://medium.com/@youngstone89/aws-storage-services-overview-aws-solutions-architect-1ab8c289d516
CNCF Cloud Native Landscape for Container Registry (2020.04.08)
https://landscape.cncf.io/images/landscape.png
Container Registry
DocerHub vs QUAY vs HARBOR vs Amazon ECR
DocerHub QUAY HARBOR Amazon ECR
Company Docker Inc RED HAT CNCF Incubating project AWS
Docker image support O O O O
Container registry
webhooks
O O X O
Container registry high
availability
O O X O
Supports private
container registries
O O O O
Use container registry
through REST API
O O O O
Docker tag expiration
and retention policies
X O โ–ณ O
Encryption โ–ณ O โ–ณ O
Security Scan O (Clair) O (Clair) O (Clair) O (Clair)
AWS Integration Normal Normal Normal Perfect
Price Start at $7 / month $15 per private repositories
month
Instance price + @ Storage: $0.10 per GB-
month
What is Amazon ECR?
What is Amazon EC2 Container Registry (ECR)?
Fully Managed Secure Highly Available Simplified Workflow
Amazon ECR - ECR Components
โ€ข Registry & Repository
โ€ข Registry Policy
โ€ข Image
โ€ข Authorization Token
Amazon ECR - features
Amazon Elastic Container
Service integration
Docker support
AWS Marketplace
High availability and durability
Team collaboration
Access control
Encryption
Third-party integrations
Amazon ECS/EKS ์—์„œ ์‹คํ–‰๋˜๋Š” ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜์˜ ์ปจํ…Œ์ด๋„ˆ ์ด๋ฏธ์ง€๋ฅผ
์†์‰ฝ๊ฒŒ ์ €์žฅ, ์‹คํ–‰ ๋ฐ ๊ด€๋ฆฌํ•  ์ˆ˜ ์žˆ์Œ
Amazon ECR ๋ฆฌํฌ์ง€ํ† ๋ฆฌ๋ฅผ ์ง€์ •ํ•˜๊ธฐ๋งŒ ํ•˜๋ฉด Amazon ECS/EKS ์—์„œ
์• ํ”Œ๋ฆฌ์ผ€์ด์…˜์— ์ ํ•ฉํ•œ ์ด๋ฏธ์ง€๋ฅผ ๊ฐ€์ ธ์˜ด
Amazon ECR - features
Amazon Elastic Container
Service integration
Docker support
AWS Marketplace
High availability and durability
Team collaboration
Access control
Encryption
Third-party integrations
Docker Registry HTTP API V2๋ฅผ ์ง€์›ํ•˜๋ฏ€๋กœ Docker CLI ๋ช…๋ น(์˜ˆ: push, pull,
list, tag) ๋˜๋Š” ๋‹ค์–‘ํ•œ Docker ๋„๊ตฌ๋ฅผ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์Œ
ํด๋ผ์šฐ๋“œ, ์˜จํ”„๋ ˆ๋ฏธ์Šค, ๋กœ์ปฌ ์‹œ์Šคํ…œ ๋“ฑ ์–ด๋Š Docker ํ™˜๊ฒฝ์—์„œ๋‚˜ Amazon
ECR์— ์†์‰ฝ๊ฒŒ ์•ก์„ธ์Šค ๊ฐ€๋Šฅ
Amazon ECR - features
Amazon Elastic Container
Service integration
Docker support
AWS Marketplace
High availability and durability
Team collaboration
Access control
Encryption
Third-party integrations
์‚ฌ์šฉ์ž๊ฐ€ ์ƒ์„ฑํ•˜๋Š” ์ปจํ…Œ์ด๋„ˆ์™€ AWS Marketplace๋ฅผ ํ†ตํ•ด ๊ตฌ๋งคํ•˜๋Š” ์ปจํ…Œ์ด๋„ˆ
์†Œํ”„ํŠธ์›จ์–ด๋ฅผ ๋ชจ๋‘ ์ €์žฅํ•  ์ˆ˜ ์žˆ์Œ
Amazon ECR - features
Amazon Elastic Container
Service integration
Docker support
AWS Marketplace
High availability and durability
Team collaboration
Access control
Encryption
Third-party integrations
์ปจํ…Œ์ด๋„ˆ ์ด๋ฏธ์ง€๋ฅผ Amazon S3์— ์ €์žฅํ•˜๊ณ  ์žˆ์Œ
๋ฐ์ดํ„ฐ๋ฅผ ์—ฌ๋Ÿฌ ์‹œ์„ค๊ณผ ๊ฐ ์‹œ์„ค์˜ ์—ฌ๋Ÿฌ ์žฅ๋น„์— ์ค‘๋ณต ์ €์žฅํ•˜๊ณ  ์žˆ์Œ
Amazon ECR - features
Amazon Elastic Container
Service integration
Docker support
AWS Marketplace
High availability and durability
Team collaboration
Access control
Encryption
Third-party integrations
๋„ค์ž„์ŠคํŽ˜์ด์Šค๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ๋ ˆ์ง€์ŠคํŠธ๋ฆฌ์˜ ๋ฆฌํฌ์ง€ํ† ๋ฆฌ๋ฅผ ์ •์˜ ๋ฐ ๊ตฌ์„ฑํ•˜์—ฌ,
ํŒ€์˜ ๊ธฐ์กด ์›Œํฌํ”Œ๋กœ์— ๋”ฐ๋ผ ๋ฆฌํฌ์ง€ํ† ๋ฆฌ๋ฅผ ๊ตฌ์„ฑํ•  ์ˆ˜ ์žˆ์Œ
๋ฆฌ์†Œ์Šค ์ˆ˜์ค€์˜ ์ •์ฑ…์„ ํ†ตํ•ด ๋‹ค๋ฅธ ์‚ฌ์šฉ์ž๊ฐ€ ์ž์‹ ์˜ ๋ฆฌํฌ์ง€ํ† ๋ฆฌ์— ์ˆ˜ํ–‰ํ•  ์ˆ˜
์žˆ๋Š” API ์ž‘์—…(์˜ˆ: create, list, describe, delete ๋ฐ get)์„ ์„ค์ •ํ•  ์ˆ˜ ์žˆ์œผ๋ฏ€๋กœ
๋ฆฌํฌ์ง€ํ† ๋ฆฌ๋ฅผ ๋‹ค๋ฅธ ์‚ฌ์šฉ์ž ๋ฐ AWS ๊ณ„์ •๊ณผ ์†์‰ฝ๊ฒŒ ๊ณต์œ  ๊ฐ€๋Šฅ
Amazon ECR - features
Amazon Elastic Container
Service integration
Docker support
AWS Marketplace
High availability and durability
Team collaboration
Access control
Encryption
Third-party integrations
AWS IAM(Identity and Access Management) ๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ์ปจํ…Œ์ด๋„ˆ
์ด๋ฏธ์ง€์— ์•ก์„ธ์Šคํ•  ์ˆ˜ ์žˆ๋Š” ์‚ฌ์šฉ์ž ๋ฐ ํ•ญ๋ชฉ(์˜ˆ: EC2 ์ธ์Šคํ„ด์Šค)์— ๋Œ€ํ•œ ๊ถŒํ•œ์„
์ œ์–ดํ•˜๊ณ  ๋ชจ๋‹ˆํ„ฐ๋ง ํ•  ์ˆ˜ ์žˆ์Œ
IAM์„ ํ†ตํ•ด ๊ฐ™์€ AWS ๊ณ„์ • ๋˜๋Š” ๋‹ค๋ฅธ ๊ณ„์ •์˜ ์‚ฌ์šฉ์ž๊ฐ€ ์ปจํ…Œ์ด๋„ˆ ์ด๋ฏธ์ง€์—
์•ก์„ธ์Šคํ•  ์ˆ˜ ์žˆ๋„๋ก ํ—ˆ์šฉํ•˜๋Š” ์ •์ฑ…์„ ์ •์˜ ๊ฐ€๋Šฅ
์‚ฌ์šฉ์ž์™€ ์—ญํ• ๋ณ„๋กœ ์„œ๋กœ ๋‹ค๋ฅธ ๊ถŒํ•œ(์˜ˆ: ํ‘ธ์‹œ, ํ’€ ๋˜๋Š” ์ „์ฒด ๊ด€๋ฆฌ์ž ์•ก์„ธ์Šค)์„
์ง€์ •ํ•˜์—ฌ ์ด๋Ÿฌํ•œ ์ •์ฑ…์„ ์„ธ๋ถ„ํ™”ํ•  ์ˆ˜ ์žˆ์Œ
Amazon ECR - features
Amazon Elastic Container
Service integration
Docker support
AWS Marketplace
High availability and durability
Team collaboration
Access control
Encryption
Third-party integrations
HTTPS๋ฅผ ํ†ตํ•ด ์ปจํ…Œ์ด๋„ˆ ์ด๋ฏธ์ง€๋ฅผ ์†ก์ˆ˜์‹ ํ•  ์ˆ˜ ์žˆ์Œ
์ €์žฅ ์ด๋ฏธ์ง€๋Š” Amazon S3 ์„œ๋ฒ„ ์ธก ์•”ํ˜ธํ™”๋ฅผ ์‚ฌ์šฉํ•ด ์ž๋™์œผ๋กœ ์•”ํ˜ธํ™” ๋จ
Amazon ECR - features
Amazon Elastic Container
Service integration
Docker support
AWS Marketplace
High availability and durability
Team collaboration
Access control
Encryption
Third-party integrations
Amazon ECR์€ ํƒ€์‚ฌ ๊ฐœ๋ฐœ์ž ๋„๊ตฌ์™€ ํ†ตํ•ฉ์ด ์‰ฌ์›€
์ง€์†์  ํ†ตํ•ฉ ๋ฐ ์ „๋‹ฌ ํ”„๋กœ์„ธ์Šค์— Amazon ECR์„ ํ†ตํ•ฉํ•˜์—ฌ ๊ธฐ์กด ๊ฐœ๋ฐœ
์›Œํฌํ”Œ๋กœ๋ฅผ ์œ ์ง€ ๊ด€๋ฆฌํ•  ์ˆ˜ ์žˆ์Œ
Amazon ECR - create repository
Amazon ECR - images
Amazon ECR - Vulnerabilities
Q & A

More Related Content

What's hot

VMware Cloud on AWS: A World of Unique Integrations Between VMware and AWS - ...
VMware Cloud on AWS: A World of Unique Integrations Between VMware and AWS - ...VMware Cloud on AWS: A World of Unique Integrations Between VMware and AWS - ...
VMware Cloud on AWS: A World of Unique Integrations Between VMware and AWS - ...Amazon Web Services
ย 
Architecting Microsoft Applications with VMware on AWS - WIN305 - re:Invent 2017
Architecting Microsoft Applications with VMware on AWS - WIN305 - re:Invent 2017Architecting Microsoft Applications with VMware on AWS - WIN305 - re:Invent 2017
Architecting Microsoft Applications with VMware on AWS - WIN305 - re:Invent 2017Amazon Web Services
ย 
VMware Cloud on AWS Technical Deep Dive - ENT303 - re:Invent 2017
VMware Cloud on AWS Technical Deep Dive - ENT303 - re:Invent 2017VMware Cloud on AWS Technical Deep Dive - ENT303 - re:Invent 2017
VMware Cloud on AWS Technical Deep Dive - ENT303 - re:Invent 2017Amazon Web Services
ย 
Utilizando containers Docker na AWS
Utilizando containers Docker na AWSUtilizando containers Docker na AWS
Utilizando containers Docker na AWSAmazon Web Services LATAM
ย 
Introduzione ad Amazon EKS
Introduzione ad Amazon EKSIntroduzione ad Amazon EKS
Introduzione ad Amazon EKSAmazon Web Services
ย 
VMware Cloud on AWS: Networking and Storage Best Practices - AWS Online Tech ...
VMware Cloud on AWS: Networking and Storage Best Practices - AWS Online Tech ...VMware Cloud on AWS: Networking and Storage Best Practices - AWS Online Tech ...
VMware Cloud on AWS: Networking and Storage Best Practices - AWS Online Tech ...Amazon Web Services
ย 
Container Networking Deep Dive with Amazon ECS - CON401 - re:Invent 2017
Container Networking Deep Dive with Amazon ECS - CON401 - re:Invent 2017Container Networking Deep Dive with Amazon ECS - CON401 - re:Invent 2017
Container Networking Deep Dive with Amazon ECS - CON401 - re:Invent 2017Amazon Web Services
ย 
Deep Dive On Serverless App Development
Deep Dive On Serverless App DevelopmentDeep Dive On Serverless App Development
Deep Dive On Serverless App DevelopmentAmazon Web Services
ย 
AWS ๊ณ ๊ฐ์‚ฌ๋ฅผ ์œ„ํ•œ โ€˜AWS ์ปจํ…Œ์ด๋„ˆ ๊ต์œกโ€™ - ์œ ์žฌ์„, AWS ์†”๋ฃจ์…˜์ฆˆ ์•„ํ‚คํ…ํŠธ
AWS ๊ณ ๊ฐ์‚ฌ๋ฅผ ์œ„ํ•œ โ€˜AWS ์ปจํ…Œ์ด๋„ˆ ๊ต์œกโ€™ - ์œ ์žฌ์„, AWS ์†”๋ฃจ์…˜์ฆˆ ์•„ํ‚คํ…ํŠธAWS ๊ณ ๊ฐ์‚ฌ๋ฅผ ์œ„ํ•œ โ€˜AWS ์ปจํ…Œ์ด๋„ˆ ๊ต์œกโ€™ - ์œ ์žฌ์„, AWS ์†”๋ฃจ์…˜์ฆˆ ์•„ํ‚คํ…ํŠธ
AWS ๊ณ ๊ฐ์‚ฌ๋ฅผ ์œ„ํ•œ โ€˜AWS ์ปจํ…Œ์ด๋„ˆ ๊ต์œกโ€™ - ์œ ์žฌ์„, AWS ์†”๋ฃจ์…˜์ฆˆ ์•„ํ‚คํ…ํŠธAmazon Web Services Korea
ย 
Transform Your Business with VMware Cloud on AWS, an Integrated Hybrid Approa...
Transform Your Business with VMware Cloud on AWS, an Integrated Hybrid Approa...Transform Your Business with VMware Cloud on AWS, an Integrated Hybrid Approa...
Transform Your Business with VMware Cloud on AWS, an Integrated Hybrid Approa...Amazon Web Services
ย 
(SEC401) Encryption Key Storage with AWS KMS at Okta
(SEC401) Encryption Key Storage with AWS KMS at Okta(SEC401) Encryption Key Storage with AWS KMS at Okta
(SEC401) Encryption Key Storage with AWS KMS at OktaAmazon Web Services
ย 
(SEC307) A Progressive Journey Through AWS IAM Federation Options
(SEC307) A Progressive Journey Through AWS IAM Federation Options(SEC307) A Progressive Journey Through AWS IAM Federation Options
(SEC307) A Progressive Journey Through AWS IAM Federation OptionsAmazon Web Services
ย 
AWS re:Invent 2016 recap (part 1)
AWS re:Invent 2016 recap (part 1)AWS re:Invent 2016 recap (part 1)
AWS re:Invent 2016 recap (part 1)Julien SIMON
ย 
(ENT303) Getting Started with AWS for VMware Professionals | AWS re:Invent 2014
(ENT303) Getting Started with AWS for VMware Professionals | AWS re:Invent 2014(ENT303) Getting Started with AWS for VMware Professionals | AWS re:Invent 2014
(ENT303) Getting Started with AWS for VMware Professionals | AWS re:Invent 2014Amazon 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
ย 
Introduzione ad Amazon EKS
Introduzione ad Amazon EKSIntroduzione ad Amazon EKS
Introduzione ad Amazon EKSAmazon Web Services
ย 
Running Docker clusters on AWS (November 2016)
Running Docker clusters on AWS (November 2016)Running Docker clusters on AWS (November 2016)
Running Docker clusters on AWS (November 2016)Julien SIMON
ย 
AWS Deployment Best Practices
AWS Deployment Best PracticesAWS Deployment Best Practices
AWS Deployment Best PracticesAmazon 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
ย 
ํด๋ผ์šฐ๋“œ ๋„ค์ดํ‹ฐ๋ธŒ ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์„œ๋น„์Šค๋กœ Oracle RAC ์ „ํ™˜ - ๊น€์ง€ํ›ˆ :: AWS ํด๋ผ์šฐ๋“œ ๋งˆ์ด๊ทธ๋ ˆ์ด์…˜ ์˜จ๋ผ์ธ
ํด๋ผ์šฐ๋“œ ๋„ค์ดํ‹ฐ๋ธŒ ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์„œ๋น„์Šค๋กœ Oracle RAC ์ „ํ™˜ - ๊น€์ง€ํ›ˆ :: AWS ํด๋ผ์šฐ๋“œ ๋งˆ์ด๊ทธ๋ ˆ์ด์…˜ ์˜จ๋ผ์ธํด๋ผ์šฐ๋“œ ๋„ค์ดํ‹ฐ๋ธŒ ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์„œ๋น„์Šค๋กœ Oracle RAC ์ „ํ™˜ - ๊น€์ง€ํ›ˆ :: AWS ํด๋ผ์šฐ๋“œ ๋งˆ์ด๊ทธ๋ ˆ์ด์…˜ ์˜จ๋ผ์ธ
ํด๋ผ์šฐ๋“œ ๋„ค์ดํ‹ฐ๋ธŒ ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์„œ๋น„์Šค๋กœ Oracle RAC ์ „ํ™˜ - ๊น€์ง€ํ›ˆ :: AWS ํด๋ผ์šฐ๋“œ ๋งˆ์ด๊ทธ๋ ˆ์ด์…˜ ์˜จ๋ผ์ธAmazon Web Services Korea
ย 

What's hot (20)

VMware Cloud on AWS: A World of Unique Integrations Between VMware and AWS - ...
VMware Cloud on AWS: A World of Unique Integrations Between VMware and AWS - ...VMware Cloud on AWS: A World of Unique Integrations Between VMware and AWS - ...
VMware Cloud on AWS: A World of Unique Integrations Between VMware and AWS - ...
ย 
Architecting Microsoft Applications with VMware on AWS - WIN305 - re:Invent 2017
Architecting Microsoft Applications with VMware on AWS - WIN305 - re:Invent 2017Architecting Microsoft Applications with VMware on AWS - WIN305 - re:Invent 2017
Architecting Microsoft Applications with VMware on AWS - WIN305 - re:Invent 2017
ย 
VMware Cloud on AWS Technical Deep Dive - ENT303 - re:Invent 2017
VMware Cloud on AWS Technical Deep Dive - ENT303 - re:Invent 2017VMware Cloud on AWS Technical Deep Dive - ENT303 - re:Invent 2017
VMware Cloud on AWS Technical Deep Dive - ENT303 - re:Invent 2017
ย 
Utilizando containers Docker na AWS
Utilizando containers Docker na AWSUtilizando containers Docker na AWS
Utilizando containers Docker na AWS
ย 
Introduzione ad Amazon EKS
Introduzione ad Amazon EKSIntroduzione ad Amazon EKS
Introduzione ad Amazon EKS
ย 
VMware Cloud on AWS: Networking and Storage Best Practices - AWS Online Tech ...
VMware Cloud on AWS: Networking and Storage Best Practices - AWS Online Tech ...VMware Cloud on AWS: Networking and Storage Best Practices - AWS Online Tech ...
VMware Cloud on AWS: Networking and Storage Best Practices - AWS Online Tech ...
ย 
Container Networking Deep Dive with Amazon ECS - CON401 - re:Invent 2017
Container Networking Deep Dive with Amazon ECS - CON401 - re:Invent 2017Container Networking Deep Dive with Amazon ECS - CON401 - re:Invent 2017
Container Networking Deep Dive with Amazon ECS - CON401 - re:Invent 2017
ย 
Deep Dive On Serverless App Development
Deep Dive On Serverless App DevelopmentDeep Dive On Serverless App Development
Deep Dive On Serverless App Development
ย 
AWS ๊ณ ๊ฐ์‚ฌ๋ฅผ ์œ„ํ•œ โ€˜AWS ์ปจํ…Œ์ด๋„ˆ ๊ต์œกโ€™ - ์œ ์žฌ์„, AWS ์†”๋ฃจ์…˜์ฆˆ ์•„ํ‚คํ…ํŠธ
AWS ๊ณ ๊ฐ์‚ฌ๋ฅผ ์œ„ํ•œ โ€˜AWS ์ปจํ…Œ์ด๋„ˆ ๊ต์œกโ€™ - ์œ ์žฌ์„, AWS ์†”๋ฃจ์…˜์ฆˆ ์•„ํ‚คํ…ํŠธAWS ๊ณ ๊ฐ์‚ฌ๋ฅผ ์œ„ํ•œ โ€˜AWS ์ปจํ…Œ์ด๋„ˆ ๊ต์œกโ€™ - ์œ ์žฌ์„, AWS ์†”๋ฃจ์…˜์ฆˆ ์•„ํ‚คํ…ํŠธ
AWS ๊ณ ๊ฐ์‚ฌ๋ฅผ ์œ„ํ•œ โ€˜AWS ์ปจํ…Œ์ด๋„ˆ ๊ต์œกโ€™ - ์œ ์žฌ์„, AWS ์†”๋ฃจ์…˜์ฆˆ ์•„ํ‚คํ…ํŠธ
ย 
Transform Your Business with VMware Cloud on AWS, an Integrated Hybrid Approa...
Transform Your Business with VMware Cloud on AWS, an Integrated Hybrid Approa...Transform Your Business with VMware Cloud on AWS, an Integrated Hybrid Approa...
Transform Your Business with VMware Cloud on AWS, an Integrated Hybrid Approa...
ย 
(SEC401) Encryption Key Storage with AWS KMS at Okta
(SEC401) Encryption Key Storage with AWS KMS at Okta(SEC401) Encryption Key Storage with AWS KMS at Okta
(SEC401) Encryption Key Storage with AWS KMS at Okta
ย 
(SEC307) A Progressive Journey Through AWS IAM Federation Options
(SEC307) A Progressive Journey Through AWS IAM Federation Options(SEC307) A Progressive Journey Through AWS IAM Federation Options
(SEC307) A Progressive Journey Through AWS IAM Federation Options
ย 
AWS re:Invent 2016 recap (part 1)
AWS re:Invent 2016 recap (part 1)AWS re:Invent 2016 recap (part 1)
AWS re:Invent 2016 recap (part 1)
ย 
(ENT303) Getting Started with AWS for VMware Professionals | AWS re:Invent 2014
(ENT303) Getting Started with AWS for VMware Professionals | AWS re:Invent 2014(ENT303) Getting Started with AWS for VMware Professionals | AWS re:Invent 2014
(ENT303) Getting Started with AWS for VMware Professionals | AWS re:Invent 2014
ย 
Getting Started with Containers on AWS
Getting Started with Containers on AWSGetting Started with Containers on AWS
Getting Started with Containers on AWS
ย 
Introduzione ad Amazon EKS
Introduzione ad Amazon EKSIntroduzione ad Amazon EKS
Introduzione ad Amazon EKS
ย 
Running Docker clusters on AWS (November 2016)
Running Docker clusters on AWS (November 2016)Running Docker clusters on AWS (November 2016)
Running Docker clusters on AWS (November 2016)
ย 
AWS Deployment Best Practices
AWS Deployment Best PracticesAWS Deployment Best Practices
AWS Deployment Best Practices
ย 
Getting-started-with-containers on AWS
Getting-started-with-containers on AWSGetting-started-with-containers on AWS
Getting-started-with-containers on AWS
ย 
ํด๋ผ์šฐ๋“œ ๋„ค์ดํ‹ฐ๋ธŒ ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์„œ๋น„์Šค๋กœ Oracle RAC ์ „ํ™˜ - ๊น€์ง€ํ›ˆ :: AWS ํด๋ผ์šฐ๋“œ ๋งˆ์ด๊ทธ๋ ˆ์ด์…˜ ์˜จ๋ผ์ธ
ํด๋ผ์šฐ๋“œ ๋„ค์ดํ‹ฐ๋ธŒ ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์„œ๋น„์Šค๋กœ Oracle RAC ์ „ํ™˜ - ๊น€์ง€ํ›ˆ :: AWS ํด๋ผ์šฐ๋“œ ๋งˆ์ด๊ทธ๋ ˆ์ด์…˜ ์˜จ๋ผ์ธํด๋ผ์šฐ๋“œ ๋„ค์ดํ‹ฐ๋ธŒ ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์„œ๋น„์Šค๋กœ Oracle RAC ์ „ํ™˜ - ๊น€์ง€ํ›ˆ :: AWS ํด๋ผ์šฐ๋“œ ๋งˆ์ด๊ทธ๋ ˆ์ด์…˜ ์˜จ๋ผ์ธ
ํด๋ผ์šฐ๋“œ ๋„ค์ดํ‹ฐ๋ธŒ ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์„œ๋น„์Šค๋กœ Oracle RAC ์ „ํ™˜ - ๊น€์ง€ํ›ˆ :: AWS ํด๋ผ์šฐ๋“œ ๋งˆ์ด๊ทธ๋ ˆ์ด์…˜ ์˜จ๋ผ์ธ
ย 

Similar to Aws container webinar day 1

Deploying a Kubernetes App with Amazon EKS
Deploying a Kubernetes App with Amazon EKSDeploying a Kubernetes App with Amazon EKS
Deploying a Kubernetes App with Amazon EKSLaura Frank Tacho
ย 
Building a Kubernetes App with Amazon EKS
Building a Kubernetes App with Amazon EKSBuilding a Kubernetes App with Amazon EKS
Building a Kubernetes App with Amazon EKSDevOps.com
ย 
From 0 to 60 with kubernetes and istio
From 0 to 60 with kubernetes and istioFrom 0 to 60 with kubernetes and istio
From 0 to 60 with kubernetes and istioJoonathan Mรคgi
ย 
AWS Community Day - Andrew May - Running Containers in AWS
AWS Community Day - Andrew May - Running Containers in AWS  AWS Community Day - Andrew May - Running Containers in AWS
AWS Community Day - Andrew May - Running Containers in AWS AWS Chicago
ย 
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
ย 
Kubernetes Kops - Automation Night
Kubernetes Kops - Automation NightKubernetes Kops - Automation Night
Kubernetes Kops - Automation NightKasper Nissen
ย 
Setup Kubernetes Cluster On AWS Using KOPS
Setup Kubernetes Cluster On AWS Using KOPSSetup Kubernetes Cluster On AWS Using KOPS
Setup Kubernetes Cluster On AWS Using KOPSSivaprakash
ย 
aks_training_document_Azure_kuberne.pptx
aks_training_document_Azure_kuberne.pptxaks_training_document_Azure_kuberne.pptx
aks_training_document_Azure_kuberne.pptxWaseemShare
ย 
Training and serving Tensorflow with Kubernetes on Azure
Training and serving Tensorflow with Kubernetes on AzureTraining and serving Tensorflow with Kubernetes on Azure
Training and serving Tensorflow with Kubernetes on AzureSertaรง ร–zercan
ย 
Kubernetes meetup 102
Kubernetes meetup 102Kubernetes meetup 102
Kubernetes meetup 102Jakir Patel
ย 
Kubernetes on aws
Kubernetes on awsKubernetes on aws
Kubernetes on awsYousun Jeong
ย 
04_Azure Kubernetes Service: Basic Practices for Developers_GAB2019
04_Azure Kubernetes Service: Basic Practices for Developers_GAB201904_Azure Kubernetes Service: Basic Practices for Developers_GAB2019
04_Azure Kubernetes Service: Basic Practices for Developers_GAB2019Kumton Suttiraksiri
ย 
Kubernetes
KubernetesKubernetes
KubernetesMeng-Ze Lee
ย 
Kubernetes on on on on on on on on on on on on on on Azure Deck.pptx
Kubernetes on on on on on on on on on on on on on on Azure Deck.pptxKubernetes on on on on on on on on on on on on on on Azure Deck.pptx
Kubernetes on on on on on on on on on on on on on on Azure Deck.pptxHectorSebastianMendo
ย 
Best Practices with Azure Kubernetes Services
Best Practices with Azure Kubernetes ServicesBest Practices with Azure Kubernetes Services
Best Practices with Azure Kubernetes ServicesQAware GmbH
ย 
Docker clusters on AWS with Amazon ECS and Kubernetes
Docker clusters on AWS with Amazon ECS and KubernetesDocker clusters on AWS with Amazon ECS and Kubernetes
Docker clusters on AWS with Amazon ECS and KubernetesJulien SIMON
ย 
Meetup Estonia, talk about Azure AKS and ACI Connector
Meetup Estonia, talk about Azure AKS and ACI ConnectorMeetup Estonia, talk about Azure AKS and ACI Connector
Meetup Estonia, talk about Azure AKS and ACI ConnectorEvgeny Rudinsky
ย 
Weaveworks at AWS re:Invent 2016: Operations Management with Amazon ECS
Weaveworks at AWS re:Invent 2016: Operations Management with Amazon ECSWeaveworks at AWS re:Invent 2016: Operations Management with Amazon ECS
Weaveworks at AWS re:Invent 2016: Operations Management with Amazon ECSWeaveworks
ย 

Similar to Aws container webinar day 1 (20)

Deploying a Kubernetes App with Amazon EKS
Deploying a Kubernetes App with Amazon EKSDeploying a Kubernetes App with Amazon EKS
Deploying a Kubernetes App with Amazon EKS
ย 
Building a Kubernetes App with Amazon EKS
Building a Kubernetes App with Amazon EKSBuilding a Kubernetes App with Amazon EKS
Building a Kubernetes App with Amazon EKS
ย 
From 0 to 60 with kubernetes and istio
From 0 to 60 with kubernetes and istioFrom 0 to 60 with kubernetes and istio
From 0 to 60 with kubernetes and istio
ย 
AWS Community Day - Andrew May - Running Containers in AWS
AWS Community Day - Andrew May - Running Containers in AWS  AWS Community Day - Andrew May - Running Containers in AWS
AWS Community Day - Andrew May - Running Containers in AWS
ย 
Getting Started with Kubernetes on AWS
Getting Started with Kubernetes on AWSGetting Started with Kubernetes on AWS
Getting Started with Kubernetes on AWS
ย 
Kubernetes Kops - Automation Night
Kubernetes Kops - Automation NightKubernetes Kops - Automation Night
Kubernetes Kops - Automation Night
ย 
Setup Kubernetes Cluster On AWS Using KOPS
Setup Kubernetes Cluster On AWS Using KOPSSetup Kubernetes Cluster On AWS Using KOPS
Setup Kubernetes Cluster On AWS Using KOPS
ย 
aks_training_document_Azure_kuberne.pptx
aks_training_document_Azure_kuberne.pptxaks_training_document_Azure_kuberne.pptx
aks_training_document_Azure_kuberne.pptx
ย 
Training and serving Tensorflow with Kubernetes on Azure
Training and serving Tensorflow with Kubernetes on AzureTraining and serving Tensorflow with Kubernetes on Azure
Training and serving Tensorflow with Kubernetes on Azure
ย 
Amazon EKS Deep Dive
Amazon EKS Deep DiveAmazon EKS Deep Dive
Amazon EKS Deep Dive
ย 
Kubernetes meetup 102
Kubernetes meetup 102Kubernetes meetup 102
Kubernetes meetup 102
ย 
Kubernetes on aws
Kubernetes on awsKubernetes on aws
Kubernetes on aws
ย 
04_Azure Kubernetes Service: Basic Practices for Developers_GAB2019
04_Azure Kubernetes Service: Basic Practices for Developers_GAB201904_Azure Kubernetes Service: Basic Practices for Developers_GAB2019
04_Azure Kubernetes Service: Basic Practices for Developers_GAB2019
ย 
Kubernetes
KubernetesKubernetes
Kubernetes
ย 
Kubernetes on on on on on on on on on on on on on on Azure Deck.pptx
Kubernetes on on on on on on on on on on on on on on Azure Deck.pptxKubernetes on on on on on on on on on on on on on on Azure Deck.pptx
Kubernetes on on on on on on on on on on on on on on Azure Deck.pptx
ย 
AKS components
AKS componentsAKS components
AKS components
ย 
Best Practices with Azure Kubernetes Services
Best Practices with Azure Kubernetes ServicesBest Practices with Azure Kubernetes Services
Best Practices with Azure Kubernetes Services
ย 
Docker clusters on AWS with Amazon ECS and Kubernetes
Docker clusters on AWS with Amazon ECS and KubernetesDocker clusters on AWS with Amazon ECS and Kubernetes
Docker clusters on AWS with Amazon ECS and Kubernetes
ย 
Meetup Estonia, talk about Azure AKS and ACI Connector
Meetup Estonia, talk about Azure AKS and ACI ConnectorMeetup Estonia, talk about Azure AKS and ACI Connector
Meetup Estonia, talk about Azure AKS and ACI Connector
ย 
Weaveworks at AWS re:Invent 2016: Operations Management with Amazon ECS
Weaveworks at AWS re:Invent 2016: Operations Management with Amazon ECSWeaveworks at AWS re:Invent 2016: Operations Management with Amazon ECS
Weaveworks at AWS re:Invent 2016: Operations Management with Amazon ECS
ย 

Recently uploaded

How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerThousandEyes
ย 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comFatema Valibhai
ย 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnAmarnathKambale
ย 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplatePresentation.STUDIO
ย 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesVictorSzoltysek
ย 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Modelsaagamshah0812
ย 
CHEAP Call Girls in Pushp Vihar (-DELHI )๐Ÿ” 9953056974๐Ÿ”(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )๐Ÿ” 9953056974๐Ÿ”(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )๐Ÿ” 9953056974๐Ÿ”(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )๐Ÿ” 9953056974๐Ÿ”(=)/CALL GIRLS SERVICE9953056974 Low Rate Call Girls In Saket, Delhi NCR
ย 
How to Choose the Right Laravel Development Partner in New York City_compress...
How to Choose the Right Laravel Development Partner in New York City_compress...How to Choose the Right Laravel Development Partner in New York City_compress...
How to Choose the Right Laravel Development Partner in New York City_compress...software pro Development
ย 
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdfAzure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdfryanfarris8
ย 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlanโ€™s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlanโ€™s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlanโ€™s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlanโ€™s ...OnePlan Solutions
ย 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension AidPhilip Schwarz
ย 
Shapes for Sharing between Graph Data Spacesย - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spacesย - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spacesย - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spacesย - and Epistemic Querying of RDF-...Steffen Staab
ย 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxComplianceQuest1
ย 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsAlberto Gonzรกlez Trastoy
ย 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...harshavardhanraghave
ย 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfkalichargn70th171
ย 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...panagenda
ย 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...Health
ย 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfVishalKumarJha10
ย 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdfPearlKirahMaeRagusta1
ย 

Recently uploaded (20)

How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
ย 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
ย 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
ย 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
ย 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
ย 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
ย 
CHEAP Call Girls in Pushp Vihar (-DELHI )๐Ÿ” 9953056974๐Ÿ”(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )๐Ÿ” 9953056974๐Ÿ”(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )๐Ÿ” 9953056974๐Ÿ”(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )๐Ÿ” 9953056974๐Ÿ”(=)/CALL GIRLS SERVICE
ย 
How to Choose the Right Laravel Development Partner in New York City_compress...
How to Choose the Right Laravel Development Partner in New York City_compress...How to Choose the Right Laravel Development Partner in New York City_compress...
How to Choose the Right Laravel Development Partner in New York City_compress...
ย 
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdfAzure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
ย 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlanโ€™s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlanโ€™s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlanโ€™s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlanโ€™s ...
ย 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
ย 
Shapes for Sharing between Graph Data Spacesย - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spacesย - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spacesย - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spacesย - and Epistemic Querying of RDF-...
ย 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
ย 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
ย 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
ย 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
ย 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
ย 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
ย 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
ย 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdf
ย 

Aws container webinar day 1

  • 1. Hoseok Seo Solutions Architect, AWS AWS Container Webinar
  • 2. Why Kubernetes? ๋งˆ์ดํฌ๋กœ ์„œ๋น„์Šค ์•„ํ‚คํ…์ฒ˜? DevOps ? Image ๋ฐฐํฌ๋กœ ์ธํ•œ ์„ค์น˜ ๋ฐ ๊ด€๋ฆฌ ํŽธ๋ฆฌ์„ฑ ? Auto Scaling & Self Healing ? ๋ฌด์ค‘๋‹จ rolling update ? ๊ฐ€์ƒํ™” ๊ธฐ์ˆ  ๋ฐœ์ „๊ณผ ์ถฉ๋ถ„ํ•œ IT๋ฆฌ์†Œ์Šค ?
  • 5. Going back in time https://kubernetes.io/docs/concepts/overview/what-is-kubernetes/
  • 7. What Kubernetes is not? https://kubernetes.io/docs/concepts/overview/what-is-kubernetes/ โ€ข Does not limit the types of applications supported. โ€ข Does not deploy source code and does not build your application. โ€ข Does not provide application-level services, such as middleware, data-processing frameworks, databases, caches, nor cluster storage systems as built-in services. โ€ข Does not dictate logging, monitoring, or alerting solutions. โ€ข Does not provide nor mandate a configuration language/system. โ€ข Does not provide nor adopt any comprehensive machine configuration, maintenance, management, or self-healing systems. โ€ข Additionally, Kubernetes is not a mere orchestration system.
  • 8. CNCF Cloud Native Landscape for Kubernetes (2020.04.08) https://landscape.cncf.io/images/landscape.png
  • 9. Your company/organization manages containers with https://www.cncf.io/wp-content/uploads/2020/03/CNCF_Survey_Report.pdf
  • 11. Rancher vs kops vs Kubeadm vs Amazon EKS Rancher (RKE) Kops Kubeadm Amazon EKS Certified Kubernetes Y Y Y Y Kubernetes version supproted v1.17.4 v1.16.8 v1.15.11 1.16 1.15 1.14 โ€ฆ 1.18 1.17 1.16 โ€ฆ 1.15 1.14 1.13 Installation method Rancher web UI cui terraform kops-cli terraform cui aws-cli terraform eksctl cloudformation console Installation difficulty Low Medieum High Low Upgrade Support Good Normal Good Good Maintenance Rancher Forum Subscription plans Kops Github Kubeadm Github AWS Forum AWS Support Plan AWS Integration Good Good Good Perfect
  • 15. What is Kops? We like to think of it as kubectl for clusters. kops helps you create, destroy, upgrade and maintain production-grade, highly available, Kubernetes clusters from the command line. AWS (Amazon Web Services) is currently officially supported, with GCE and OpenStack in beta support, and VMware vSphere in alpha, and other platforms planned.
  • 16. Getting Started with kops on AWS โ€“ Intro 1. aws ์ œ์–ด์™€ kops cluster ์ƒ์„ฑ์„ ์œ„ํ•œ IAM ๊ถŒํ•œ ์ƒ์„ฑ 2. kops-cli ์™€ kubectl ์„ค์น˜ 3. kops ํ™˜๊ฒฝ ์„ค์ •์„ ์œ„ํ•œ s3 bucket ์ƒ์„ฑ 4. kops ์„ค์น˜๋ฅผ ์œ„ํ•œ ํ™˜๊ฒฝ๋ณ€์ˆ˜ ์„ค์ • 5. kops cluster ์ƒ์„ฑ ๋ฐ validation ํ™•์ธ
  • 17. Getting Started with kops on AWS โ€“ setup IAM user * aws-cli ๋ช…๋ น์–ด๋ฅผ ํ†ตํ•œ aws ์˜ ์ž์› ์ œ์–ด์™€ kops-cli ๋กœ cluster ์ƒ์„ฑ์„ ์œ„ํ•ด์„œ ํ•˜๋‹จ๊ณผ ๊ฐ™์€ IAM ๊ถŒํ•œ ํ•„์š” AmazonEC2FullAccess AmazonRoute53FullAccess AmazonS3FullAccess IAMFullAccess AmazonVPCFullAccess
  • 18. Getting Started with kops on AWS โ€“ install kops cli and kubectl * kops cluster ์ƒ์„ฑ์„ kops-cli ์„ค์น˜์™€ kubernetes ์ œ์–ด๋ฅผ ์œ„ํ•œ kubectl ์„ค์น˜ wget -O kops https://github.com/kubernetes/kops/releases/download/$(curl -s https://api.github.com/repos/kubernetes/kops/releases/latest | grep tag_name | cut -d '"' -f 4)/kops- linux-amd64 sudo chmod 755 kops; sudo mv kops /usr/local/bin/kops wget -O kubectl https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl sudo chmod 755 kubectl; sudo mv kubectl /usr/local/bin
  • 19. Getting Started with kops on AWS โ€“ create s3 bucket * kops Cluster State storage ์„ค์ •์„ ์œ„ํ•ด s3 bucket ์ƒ์„ฑ aws s3 mb s3://kops001-bucket-state-store --region ap-northeast-1 aws s3api put-bucket-versioning --bucket kops001-bucket-state-store --versioning-configuration Status=Enabled
  • 20. Getting Started with kops on AWS โ€“ environment setting * kops ์„ค์น˜์— ํ•„์š”ํ•œ ํ™˜๊ฒฝ๋ณ€์ˆ˜ ์„ค์ • export NAME=kops001cluster.k8s.local export KOPS_STATE_STORE=s3://kops001-bucket-state-store export MASTER_NODE_SIZE="m5.large" export MASTER_ZONES="ap-northeast-1a,ap-northeast-1c" export MASTER_COUNT=3 export NODE_SIZE="m5.large" export NODE_ZONES="ap-northeast-1a,ap-northeast-1c" export NODE_COUNT=3 * kops cluster ๋‚ด์—์„œ ์‚ฌ์šฉํ•˜๋Š” ์ธ์ฆ์„œ ์ƒ์„ฑ mkdir ~/key; cd ~/key;ssh-keygen -t rsa -f $NAME.key -N ''
  • 21. Getting Started with kops on AWS โ€“ install kops cluster * kops ์˜ create cluster ๋ช…๋ น์–ด๋กœ ์ƒ์„ฑ kops create cluster ${NAME} --ssh-public-key=~/key/$NAME.key.pub --state $KOPS_STATE_STORE --master-size $MASTER_SIZE --master-zones $MASTER_ZONES --master-count $MASTER_COUNT --node-size $NODE_SIZE --zones $ZONES --node-count $NODE_COUNT --networking amazon-vpc-routed-eni --topology private --yes
  • 22. What is Kubeadm? Kubeadm is a tool built to provide kubeadm init and kubeadm join as best-practice โ€œfast pathsโ€ for creating Kubernetes clusters. kubeadm performs the actions necessary to get a minimum viable cluster up and running. By design, it cares only about bootstrapping, not about provisioning machines. Kubeadm also supports other cluster lifecycle functions, such as upgrades, downgrade, and managing bootstrap tokens. Likewise, installing various nice-to-have addons, like the Kubernetes Dashboard, monitoring solutions, and cloud-specific addons, is not in scope.
  • 23. Getting Started with kops on AWS โ€“ Before you begin One or more machines running one of: โ€ข Ubuntu 16.04+ โ€ข Debian 9+ โ€ข CentOS 7 โ€ข Red Hat Enterprise Linux (RHEL) 7 โ€ข Fedora 25+ โ€ข HypriotOS v1.0.1+ โ€ข Container Linux (tested with 1800.6.0) 2 GB or more of RAM per machine (any less will leave little room for your apps) 2 CPUs or more Full network connectivity between all machines in the cluster (public or private network is fine) Unique hostname, MAC address, and product_uuid for every node. See here for more details. Swap disabled. You MUST disable swap in order for the kubelet to work properly.
  • 24. Getting Started with kops on AWS - Check required ports
  • 25. Getting Started with kops on AWS - Install Installing runtime Installing kubeadm, kubelet and kubect Configure cgroup driver used by kubelet on control-plane node Master node configuration (kubeadm init) Worker Node join into cluster (kubeadm join) https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/install-kubeadm/
  • 26. E L A S T I C CO N TA I N E R S E R V I C E F O R K U B E R N E T E S (EKS)
  • 27. Principles of AWS Managed Kubernetes E L A S T I C C O N TA I N E R S E R V I C E F O R K U B E R N E T E S EKS๋Š” ๋Œ€๊ทœ๋ชจ ํšŒ์‚ฌ๊ฐ€ ์šด์˜ ์ˆ˜์ค€์˜ ์ž‘์—… ๋ถ€ํ•˜๋ฅผ ์‹คํ–‰ํ•˜๋Š” ํ”Œ๋žซํผ์ด๋‹ค EKS is a platform for enterprises to run production-grade workloads EKS๋Š” ์ˆœ์ˆ˜ ์ฟ ๋ฒ„๋„คํ‹ฐ์Šค ๋ฐ ์—…์ŠคํŠธ๋ฆผ ๊ฒฝํ—˜์„ ์œ ์ง€ํ•œ๋‹ค EKS provides a native and upstream Kubernetes experience EKS ๊ณ ๊ฐ์ด ๋‹ค๋ฅธ AWS ์„œ๋น„์Šค๋ฅผ ์‚ฌ์šฉํ•  ๋•Œ, ๋ณต์žกํ•˜์ง€ ์•Š๊ณ  ๋งค๋„๋Ÿฝ๊ฒŒ ์—ฐ๊ณ„ํ•œ๋‹ค If EKS customers want to use additional AWS services, the integrations are seamless and eliminate undifferentiated heavy lifting EKS ํŒ€์€ ์ฟ ๋ฒ„๋„คํ‹ฐ์Šค ํ”„๋กœ์ ํŠธ์— ์ ๊ทน์ ์œผ๋กœ ๊ธฐ์—ฌํ•œ๋‹ค EKS team actively contributes to the Kubernetes project TenetsAmazon EKS
  • 28. Amazon EKS Architecture mycluster.eks.amazonaws.com EKS ์›Œ์ปค๋…ธ๋“œ kubectl AZ 1 AZ 2 AZ 3 ์‚ฌ์šฉ์ž์˜ AWS ๊ณ„์ • VPC
  • 29. EKS Control Plane ๊ณ  ๊ฐ€์šฉ์„ฑ์„ ๋‚ด์žฌํ•œ ๋‹จ์ผ ํ…Œ๋„ŒํŠธ ์ธํ”„๋ผ์ŠคํŠธ๋Ÿญ์ฒ˜ ์ „์ฒด โ€œ์ˆœ์ˆ˜ AWSโ€ ์„œ๋น„์Šค NLB์„ ํ™œ์šฉํ•œ ๋ถ€ํ•˜๋ถ„์‚ฐ ์ปจํŠธ๋กค ํ”Œ๋ ˆ์ธ ๋กœ๊ทธ(new) โ€ข API ์„œ๋ฒ„, Audit, Controller Manager, Authenticator, Scheduler
  • 30. EKS Data Plane ๋‹ค์–‘ํ•œ ์ธ์Šคํ„ด์Šค์œ ํ˜• ๋ฐ ๊ฐ€๊ฒฉ์ •์ฑ… ์ ์šฉ โ€ข p2, p3 GPU, i3.metal, ์ŠคํŒŸ ๋˜๋Š” ์กฐํ•ฉ AI/ML์šฉ Amazon EKS โ€ข EKS์— ์ตœ์ ํ™”๋œ GPU ์ง€์› AMI EKS AMI ๋นŒ๋“œ ์Šคํฌ๋ฆฝํŠธ ์›Œํฌ๋กœ๋“œ ํŠน์„ฑ์— ์ ํ•ฉํ•œ ์ธ์Šคํ„ด์Šค ์ ์šฉ โ€ข Snapchat์€ ์ตœ์‹  ์„ธ๋Œ€์˜ c5 EC2 ์ธ ์Šคํ„ด์Šค๋ฅผ ์ ์šฉํ•˜์—ฌ, c4 ๋Œ€๋น„ ์ตœ๋Œ€ 25 % ํ–ฅ์ƒ๋œ ๊ฐ€๊ฒฉ๋Œ€๋น„ ์„ฑ๋Šฅ ๋‹ฌ์„ฑ
  • 31. K8S Components Configured with EKS EKS ๋งˆ์Šคํ„ฐ ์—”๋“œํฌ์ธํŠธ ALB/NLB ํด๋Ÿฌ์Šคํ„ฐ ์—ฐ๊ฒฐ ๋ชจ๋‹ˆํ„ฐ๋ง/ ๋งคํŠธ๋ฆญ์Šค Amazon EKS ๋…ธ๋“œ ์Šคํ† ๋ฆฌ์ง€ & ์ •์ฑ… (Amazon EBS / EFS ์Šคํ† ๋ฆฌ์ง€ ํด๋ž˜์Šค ) ์ปดํ“จํŠธ & ์ •์ฑ… (์˜คํ†  ์Šค์ผ€์ผ๋ง) ๋„คํŠธ์›Œํฌ & ์ •์ฑ… ( Calico )
  • 32. Getting Started with Amazon EKS - install eksctl and kubectl * EKS cluster ์ƒ์„ฑ์„ eksctl ์„ค์น˜์™€ kubernetes ์ œ์–ด๋ฅผ ์œ„ํ•œ kubectl ์„ค์น˜ curl --silent --location "https://github.com/weaveworks/eksctl/releases/latest/download/eksctl_$(uname -s)_amd64.tar.gz" | tar xz -C /tmp sudo mv /tmp/eksctl /usr/local/bin wget -O kubectl https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl sudo chmod 755 kubectl; sudo mv kubectl /usr/local/bin
  • 33. Getting Started with Amazon EKS - eks cluster yaml file apiVersion: eksctl.io/v1alpha5 kind: ClusterConfig metadata: name: eks-test001 region: ap-northeast-1 version: "1.15" nodeGroups: - name: ng1-eks-test001 instanceType: m5.large minSize: 3 maxSize: 5 desiredCapacity: 3 volumeSize: 100 volumeType: gp2 volumeEncrypted: true privateNetworking: true ssh: publicKeyName: eks1tokyo iam: withAddonPolicies: autoScaler: true cloudWatch: true ebs: true fsx: true efs: true albIngress: true cloudWatch: clusterLogging: enableTypes: ["api", "audit", "authenticator", "controllerManager", "scheduler"]
  • 34. Getting Started with Amazon EKS - create eks cluster using eksctl * eksctl ์˜ create cluster ๋ช…๋ น์–ด๋กœ ์ƒ์„ฑ eksctl create cluster --auto-kubeconfig -f eks_cluster_test001.yaml
  • 35. Getting Started with kops on AWS โ€“ Installation Captured Video
  • 36. Getting Started with Amazon EKS - Installation Captured Video
  • 37. Amazon EKS Architecture diagram https://aws.amazon.com/blogs/opensource/eks-support-mu/
  • 38. Amazon EKS Architecture diagram https://aws.amazon.com/quickstart/architecture/amazon-eks/
  • 39. AWS Service related to Amazon EKS โ€ข VPC โ€ข Network โ€ข IAM โ€ข Security Group โ€ข EC2 โ€ข LoadBalancer โ€ข Storage
  • 40. AWS Service related to Amazon EKS โ€ข VPC โ€ข Network โ€ข IAM โ€ข Security Group โ€ข EC2 โ€ข LoadBalancer โ€ข Storage
  • 41. AWS Service related to Amazon EKS โ€ข VPC โ€ข Network โ€ข IAM โ€ข Security Group โ€ข EC2 โ€ข LoadBalancer โ€ข Storage
  • 42. AWS Service related to Amazon EKS โ€ข VPC โ€ข Network โ€ข IAM โ€ข Security Group โ€ข EC2 โ€ข LoadBalancer โ€ข Storage
  • 43. AWS Service related to Amazon EKS โ€ข VPC โ€ข Network โ€ข IAM โ€ข Security Group โ€ข EC2 โ€ข LoadBalancer โ€ข Storage
  • 44. AWS Service related to Amazon EKS โ€ข VPC โ€ข Network โ€ข IAM โ€ข Security Group โ€ข EC2 โ€ข LoadBalancer โ€ข Storage
  • 45. AWS Service related to Amazon EKS โ€ข VPC โ€ข Network โ€ข IAM โ€ข Security Group โ€ข EC2 โ€ข LoadBalancer โ€ข Storage https://www.oodlestechnologies.com/blogs/AWS-EC2-Expanding-linux-root-partition/
  • 46. AWS Service related to Amazon EKS โ€ข VPC โ€ข Network โ€ข IAM โ€ข Security Group โ€ข EC2 โ€ข LoadBalancer โ€ข Storage โ€ข Classic Load Balancer โ€ข Application Load Balancer โ€ข Network Load Balancer
  • 47. AWS Service related to Amazon EKS โ€ข VPC โ€ข Network โ€ข IAM โ€ข Security Group โ€ข EC2 โ€ข LoadBalancer โ€ข Storage https://medium.com/@youngstone89/aws-storage-services-overview-aws-solutions-architect-1ab8c289d516
  • 48. CNCF Cloud Native Landscape for Container Registry (2020.04.08) https://landscape.cncf.io/images/landscape.png
  • 50. DocerHub vs QUAY vs HARBOR vs Amazon ECR DocerHub QUAY HARBOR Amazon ECR Company Docker Inc RED HAT CNCF Incubating project AWS Docker image support O O O O Container registry webhooks O O X O Container registry high availability O O X O Supports private container registries O O O O Use container registry through REST API O O O O Docker tag expiration and retention policies X O โ–ณ O Encryption โ–ณ O โ–ณ O Security Scan O (Clair) O (Clair) O (Clair) O (Clair) AWS Integration Normal Normal Normal Perfect Price Start at $7 / month $15 per private repositories month Instance price + @ Storage: $0.10 per GB- month
  • 52. What is Amazon EC2 Container Registry (ECR)? Fully Managed Secure Highly Available Simplified Workflow
  • 53. Amazon ECR - ECR Components โ€ข Registry & Repository โ€ข Registry Policy โ€ข Image โ€ข Authorization Token
  • 54. Amazon ECR - features Amazon Elastic Container Service integration Docker support AWS Marketplace High availability and durability Team collaboration Access control Encryption Third-party integrations Amazon ECS/EKS ์—์„œ ์‹คํ–‰๋˜๋Š” ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜์˜ ์ปจํ…Œ์ด๋„ˆ ์ด๋ฏธ์ง€๋ฅผ ์†์‰ฝ๊ฒŒ ์ €์žฅ, ์‹คํ–‰ ๋ฐ ๊ด€๋ฆฌํ•  ์ˆ˜ ์žˆ์Œ Amazon ECR ๋ฆฌํฌ์ง€ํ† ๋ฆฌ๋ฅผ ์ง€์ •ํ•˜๊ธฐ๋งŒ ํ•˜๋ฉด Amazon ECS/EKS ์—์„œ ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜์— ์ ํ•ฉํ•œ ์ด๋ฏธ์ง€๋ฅผ ๊ฐ€์ ธ์˜ด
  • 55. Amazon ECR - features Amazon Elastic Container Service integration Docker support AWS Marketplace High availability and durability Team collaboration Access control Encryption Third-party integrations Docker Registry HTTP API V2๋ฅผ ์ง€์›ํ•˜๋ฏ€๋กœ Docker CLI ๋ช…๋ น(์˜ˆ: push, pull, list, tag) ๋˜๋Š” ๋‹ค์–‘ํ•œ Docker ๋„๊ตฌ๋ฅผ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์Œ ํด๋ผ์šฐ๋“œ, ์˜จํ”„๋ ˆ๋ฏธ์Šค, ๋กœ์ปฌ ์‹œ์Šคํ…œ ๋“ฑ ์–ด๋Š Docker ํ™˜๊ฒฝ์—์„œ๋‚˜ Amazon ECR์— ์†์‰ฝ๊ฒŒ ์•ก์„ธ์Šค ๊ฐ€๋Šฅ
  • 56. Amazon ECR - features Amazon Elastic Container Service integration Docker support AWS Marketplace High availability and durability Team collaboration Access control Encryption Third-party integrations ์‚ฌ์šฉ์ž๊ฐ€ ์ƒ์„ฑํ•˜๋Š” ์ปจํ…Œ์ด๋„ˆ์™€ AWS Marketplace๋ฅผ ํ†ตํ•ด ๊ตฌ๋งคํ•˜๋Š” ์ปจํ…Œ์ด๋„ˆ ์†Œํ”„ํŠธ์›จ์–ด๋ฅผ ๋ชจ๋‘ ์ €์žฅํ•  ์ˆ˜ ์žˆ์Œ
  • 57. Amazon ECR - features Amazon Elastic Container Service integration Docker support AWS Marketplace High availability and durability Team collaboration Access control Encryption Third-party integrations ์ปจํ…Œ์ด๋„ˆ ์ด๋ฏธ์ง€๋ฅผ Amazon S3์— ์ €์žฅํ•˜๊ณ  ์žˆ์Œ ๋ฐ์ดํ„ฐ๋ฅผ ์—ฌ๋Ÿฌ ์‹œ์„ค๊ณผ ๊ฐ ์‹œ์„ค์˜ ์—ฌ๋Ÿฌ ์žฅ๋น„์— ์ค‘๋ณต ์ €์žฅํ•˜๊ณ  ์žˆ์Œ
  • 58. Amazon ECR - features Amazon Elastic Container Service integration Docker support AWS Marketplace High availability and durability Team collaboration Access control Encryption Third-party integrations ๋„ค์ž„์ŠคํŽ˜์ด์Šค๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ๋ ˆ์ง€์ŠคํŠธ๋ฆฌ์˜ ๋ฆฌํฌ์ง€ํ† ๋ฆฌ๋ฅผ ์ •์˜ ๋ฐ ๊ตฌ์„ฑํ•˜์—ฌ, ํŒ€์˜ ๊ธฐ์กด ์›Œํฌํ”Œ๋กœ์— ๋”ฐ๋ผ ๋ฆฌํฌ์ง€ํ† ๋ฆฌ๋ฅผ ๊ตฌ์„ฑํ•  ์ˆ˜ ์žˆ์Œ ๋ฆฌ์†Œ์Šค ์ˆ˜์ค€์˜ ์ •์ฑ…์„ ํ†ตํ•ด ๋‹ค๋ฅธ ์‚ฌ์šฉ์ž๊ฐ€ ์ž์‹ ์˜ ๋ฆฌํฌ์ง€ํ† ๋ฆฌ์— ์ˆ˜ํ–‰ํ•  ์ˆ˜ ์žˆ๋Š” API ์ž‘์—…(์˜ˆ: create, list, describe, delete ๋ฐ get)์„ ์„ค์ •ํ•  ์ˆ˜ ์žˆ์œผ๋ฏ€๋กœ ๋ฆฌํฌ์ง€ํ† ๋ฆฌ๋ฅผ ๋‹ค๋ฅธ ์‚ฌ์šฉ์ž ๋ฐ AWS ๊ณ„์ •๊ณผ ์†์‰ฝ๊ฒŒ ๊ณต์œ  ๊ฐ€๋Šฅ
  • 59. Amazon ECR - features Amazon Elastic Container Service integration Docker support AWS Marketplace High availability and durability Team collaboration Access control Encryption Third-party integrations AWS IAM(Identity and Access Management) ๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ์ปจํ…Œ์ด๋„ˆ ์ด๋ฏธ์ง€์— ์•ก์„ธ์Šคํ•  ์ˆ˜ ์žˆ๋Š” ์‚ฌ์šฉ์ž ๋ฐ ํ•ญ๋ชฉ(์˜ˆ: EC2 ์ธ์Šคํ„ด์Šค)์— ๋Œ€ํ•œ ๊ถŒํ•œ์„ ์ œ์–ดํ•˜๊ณ  ๋ชจ๋‹ˆํ„ฐ๋ง ํ•  ์ˆ˜ ์žˆ์Œ IAM์„ ํ†ตํ•ด ๊ฐ™์€ AWS ๊ณ„์ • ๋˜๋Š” ๋‹ค๋ฅธ ๊ณ„์ •์˜ ์‚ฌ์šฉ์ž๊ฐ€ ์ปจํ…Œ์ด๋„ˆ ์ด๋ฏธ์ง€์— ์•ก์„ธ์Šคํ•  ์ˆ˜ ์žˆ๋„๋ก ํ—ˆ์šฉํ•˜๋Š” ์ •์ฑ…์„ ์ •์˜ ๊ฐ€๋Šฅ ์‚ฌ์šฉ์ž์™€ ์—ญํ• ๋ณ„๋กœ ์„œ๋กœ ๋‹ค๋ฅธ ๊ถŒํ•œ(์˜ˆ: ํ‘ธ์‹œ, ํ’€ ๋˜๋Š” ์ „์ฒด ๊ด€๋ฆฌ์ž ์•ก์„ธ์Šค)์„ ์ง€์ •ํ•˜์—ฌ ์ด๋Ÿฌํ•œ ์ •์ฑ…์„ ์„ธ๋ถ„ํ™”ํ•  ์ˆ˜ ์žˆ์Œ
  • 60. Amazon ECR - features Amazon Elastic Container Service integration Docker support AWS Marketplace High availability and durability Team collaboration Access control Encryption Third-party integrations HTTPS๋ฅผ ํ†ตํ•ด ์ปจํ…Œ์ด๋„ˆ ์ด๋ฏธ์ง€๋ฅผ ์†ก์ˆ˜์‹ ํ•  ์ˆ˜ ์žˆ์Œ ์ €์žฅ ์ด๋ฏธ์ง€๋Š” Amazon S3 ์„œ๋ฒ„ ์ธก ์•”ํ˜ธํ™”๋ฅผ ์‚ฌ์šฉํ•ด ์ž๋™์œผ๋กœ ์•”ํ˜ธํ™” ๋จ
  • 61. Amazon ECR - features Amazon Elastic Container Service integration Docker support AWS Marketplace High availability and durability Team collaboration Access control Encryption Third-party integrations Amazon ECR์€ ํƒ€์‚ฌ ๊ฐœ๋ฐœ์ž ๋„๊ตฌ์™€ ํ†ตํ•ฉ์ด ์‰ฌ์›€ ์ง€์†์  ํ†ตํ•ฉ ๋ฐ ์ „๋‹ฌ ํ”„๋กœ์„ธ์Šค์— Amazon ECR์„ ํ†ตํ•ฉํ•˜์—ฌ ๊ธฐ์กด ๊ฐœ๋ฐœ ์›Œํฌํ”Œ๋กœ๋ฅผ ์œ ์ง€ ๊ด€๋ฆฌํ•  ์ˆ˜ ์žˆ์Œ
  • 62. Amazon ECR - create repository
  • 63. Amazon ECR - images
  • 64. Amazon ECR - Vulnerabilities
  • 65. Q & A