[AWS] Builders 프로그램 특화 및 심화 과정 2일차 EKS / Container (2일차)



[AWS] Builders 프로그램 특화 및 심화 과정 2일차 EKS / Container (2일차)

[AWS] Builders 프로그램 특화 및 심화 과정 2일차 EKS / Container (2일차)

[AWS] Builders 프로그램 특화 및 심화 과정 2일차 EKS / Container (2일차 / 총 4일 )

[Reference]
https://github.com/yjw113080/eks-imd-init
https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/deploy-container-insights-EKS.html

*** 주의 ***
태스트 및 실습 후 생성한 자원(만) 삭제를 잊지 마세요
생성한 자원에 따라 청구(과금)발생 됩니다.

하이라이트

특화 과정 II
Part 1 – Amazon EKS 의 Devops 환경 고도화를 위한 Gitops 그리고 Progressive Delivery 소개
+++++++++++++++++++++++++++++++++++++++++++++++++++++++
EKS Observability 의 구성 요소들을 이해한다
각각에 대한 AWS 서비스 구성 패턴을 이해한다
여러 모니터링 / 로깅 / 트레이싱 중에서 선택을 하기 위한 기준을 이해한다.

00:46 Amazon EKS Overview
30:50 EKS Networking & Load Balancing
38:43 EKS 를 위한 Storage 옵션
39:52 EKS 특성 정리
41:18 Amazon EKS를 위한 Observability (가시성 구성방법) 옵션
42:51 Foundation for Observability
49:30 Metrics 구성할수 있는 option 3 가지
option 1 : CloudWatch Container Insights
option 2 : Self-hosted Prometheus
option 3 : Amazon Managed Service for Prometheus
Amazon Managed Service for Grafana (AMG)
*** Grafana 관리형 제공 예정 (다만 2021.06 정식발매 상태 아님/ 서울리전 지원 안됨) ***

59:28 Kubernetes 의 (고려해야 할) 로그 (위치) 소스들 (설명)

1:00:38 Kubernetes Log 어디에 저장 및 운영 / 쿼리 (option 3 가지)
option 1 : FluentBit + Cloudwatch Logs + Log Insight
option 2 : FluentBit + ElasticSearch & Kibana dashboards
option 3 : FluentBit + Kinesis Firehose + S3

1:05:25 Observability 마무리
1:05:30 Trace
1:08:40 요약
+++++++++++++++++++++++++++++++++++++++++++++++++++++++
1:10:57 GitOps And Progressive Delivery On Amazon EKS
1:11:23 Agenda
– What is GitOps?
– Why GitOps
– GitOps Implementation for AWS
+ FluxCD
+ ArgoCD
– What is Progressive Delivery?
– Profressive Delivery Implementation for Amzaon EKS
+ Flagger
+ Argo Rollout
– Deom
1:14:17 What is GitOps?
1:18:14 Why GitOps ?
1:21:25 GitOps Implementation
– AWS CDK
1:23:02 What is Flux (V1) ?
What is Flux (V2) ?
1:27:10 Flux Features
1:29:32 What is ArgoCD ?
1:31:48 Argo CD Features
1:32:40 Then What is Progressive Delivery
1:35:40 Progressive Delivery Implementation
– Flagger (Progressive Delivery) + Flux (GitOps)
1:38:09 Argo Rollout
1:39:45 Deployment strategies
+ Argo Rollouts , Flagger , Service Mesh Direct , Kubernetes Direst
+ Deployment strategies on AWS (배포전략)
+ Compatibilities (호환성)
+ Quick DEMO (Argo 이용)
1:51:40 Part 1 마무리

—————————————————————————————————————
Break Time
—————————————————————————————————————

Part 2 – EKS Observability와 GitOps 실습
+++++++++++++++++++++++++++++++++++++++++++++++++++++++
EKS 클러스터를 배포하고 DevOps 운영 환경에 필수인 Observability 구성 및 GitOps 배포 방식을 직접 수행

03:35:22 실습 시작 전 준비 방법 (가이드)
03:40:04 환경 설정 및 EKS 클러스터 생성 (30분)
+ EKS Cloud Watch Container Insights + ArgoCD 실습
+ 환경 설정 (Amazon EKS 실습 환경 구성)
https://github.com/yjw113080/eks-imd-init
03:58:00 Helm 간단한 소개
——————–
Break Time
04:02:50 AWS Cloud9 환경 설정 체크
——————–
04:06:03 Quick DEMO (eksworkshop.yaml) 시작
04:09:31 Launch EKS 생성시 yaml 파일 체크 및 다시 설정 하는 방법
04:13:43 Quick DEMO (eksworkshop.yaml)

Helm 으로 몸 풀기 (30분)
04:14:27 Helm 소개 + 실습 (내용)설명
04:24:33 IAM 설정 방법 가이드 체크 + Cloud9 설정 체크 확인
04:34:28 EKS Cloudwatch Container Insights 위한 환경변수 설정 및 소개

EKS Cloudwatch Container Insights (45분)
04:37:57 EKS Cloudwatch Container Insights
04:47:07 실습 시작
——————–
Container Insights 실습
05:00:55 Cloudwatch – metrics / log 보이지 않을때 체크 포인트

wget https://raw.githubusercontent.com/aws-samples/amazon-cloudwatch-container-insights/latest/k8s-deployment-manifest-templates/deployment-mode/daemonset/container-insights-monitoring/quickstart/cwagent-fluentd-quickstart.yaml | sed “s/{{cluster_name}}/eksworkshop-eksctl/;s/{{region_name}}/${AWS_REGION}/” | kubectl apply -f –

——————–

05:15:36 정리
– EKS cluster Cloudwatch Insights 유의미한 지표 ??
– EKS yaml 가이드
[Reference]
https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/deploy-container-insights-EKS.html

05:21:23 정리

——————–
Break Time
——————–

ArgoCD + clean up (40분)
05:25:55 ArgoCD (교육 내용 리뷰)
– ArgoCD Architecture
05:35:05 추가 학습 가이드 (기본 부터 심층 학습까지의 예제)
– EKS 기본 , CDK로 EKS 클러스터 풀스택 관리하기
——————–
ArgoCD 실습
——————–
06:28:20 마무리

긴 시간 동안 고생 하셨습니다
감사합니다 CK : )