Mais conteúdo relacionado Mais de Amazon Web Services Korea (20) DevOps in Enterprise: 엔터프라이즈 CI/CD 적용 방안 - 염지원 :: AWS 클라우드 마이그레이션 온라인1. © 2021, Amazon Web Services, Inc. or its Affiliates.
© 2021, Amazon Web Services, Inc. or its Affiliates.
염지원
AWS 솔루션즈 아키텍트
AWS Proton 을 활용한
엔터프라이즈 DevOps 적용 방안
2. © 2021, Amazon Web Services, Inc. or its Affiliates.
강연 중 질문하는 방법
Go to Webinar “Chat/채팅” 창에 자신이 질문한
내역이 표시됩니다. 기본적으로 모든 질문은
공개로 답변 됩니다만 본인만 답변을 받고 싶으면
(비공개)라고 하고 질문해 주시면 됩니다.
본 컨텐츠는 고객의 편의를 위해 AWS 서비스 설명을 위해 온라인 세미나용으로 별도로 제작, 제공된 것입니다. 만약 AWS 사이트와
컨텐츠 상에서 차이나 불일치가 있을 경우, AWS 사이트(aws.amazon.com)가 우선합니다. 또한 AWS 사이트 상에서 한글 번역문과
영어 원문에 차이나 불일치가 있을 경우(번역의 지체로 인한 경우 등 포함), 영어 원문이 우선합니다.
AWS는 본 컨텐츠에 포함되거나 컨텐츠를 통하여 고객에게 제공된 일체의 정보, 콘텐츠, 자료, 제품(소프트웨어 포함) 또는 서비스를 이용함으로 인하여 발생하는 여하한 종류의 손해에 대하여 어떠한
책임도 지지 아니하며, 이는 직접 손해, 간접 손해, 부수적 손해, 징벌적 손해 및 결과적 손해를 포함하되 이에 한정되지 아니합니다.
고지 사항(Disclaimer)
3. © 2021, Amazon Web Services, Inc. or its Affiliates.
차례
마이크로서비스의 시대, 엔터프라이즈의 고민
AWS Proton 개요
사용자 경험: 운영자 관점
사용자 경험: 개발자 관점
Getting started
4. © 2021, Amazon Web Services, Inc. or its Affiliates.
마이크로서비스의 시대,
엔터프라이즈의 고민
5. © 2021, Amazon Web Services, Inc. or its Affiliates.
© 2021, Amazon Web Services, Inc. or its Affiliates.
마이크로서비스의 시대
Storefront
Inventory
service
Inventory
database
Shipping
(3rd party)
Checkout
Accounting
database
6. © 2021, Amazon Web Services, Inc. or its Affiliates.
© 2021, Amazon Web Services, Inc. or its Affiliates.
‘간단한’ 마이크로서비스?
Storefront
Monitoring and alarms
Code deployment pipeline
Compute
DNS
Load balancing
…
7. © 2021, Amazon Web Services, Inc. or its Affiliates.
표준화 vs 속도
인프라 관리자
– 표준과 관리
개발자 –
속도와 자율성
표준 강화 셀프서비스 기반 인프라/배포
인프라 유지 보수
및 버전 관리
Transparent updates
9. © 2021, Amazon Web Services, Inc. or its Affiliates.
어떻게 차이를 메울 것인가?
전통적인 PaaS
중앙에서 직접
표준화된 자원
배포
인하우스 커스텀
플랫폼
11. © 2021, Amazon Web Services, Inc. or its Affiliates.
AWS Proton: An application delivery service
AWS Proton
인프라 관리자 개발팀
인프라 템플릿
정의 및 발행
어플리케이션 인프라
탐색, 배포
• Infrastructure as code
• CI/CD 파이프라인
• 모니터링/로깅 툴
배포된 자원
모니터링 및 업데이트
12. © 2021, Amazon Web Services, Inc. or its Affiliates.
핵심 기능
셀프 서비스 인프라 중앙 관리
원클릭 업그레이드
써드파티
서비스와 통합
13. © 2021, Amazon Web Services, Inc. or its Affiliates.
더 빠르고 확실하게 베스트 프랙티스와 컨테이너/서버리스 신규 기능 도입
클라우드 기반 모던 어플리케이션으로 전환하고 유지
인프라 팀이 ‘운영’이 아니라 최적의 아키텍처를 정의하는 데에 집중
AWS Proton의 핵심 장점
14. © 2021, Amazon Web Services, Inc. or its Affiliates.
AWS Proton 개념
Environments
Services
서비스가 실행될 수 있는 공유 자원
예: VPC, 클러스터
Environment 내에서 실행되는 워크로드
예: AWS Fargate 기반 웹서비스, AWS Lambda 기반 데이터
프로세서
15. © 2021, Amazon Web Services, Inc. or its Affiliates.
AWS Proton 템플릿
코드를 사용한 인프라 정의
CI/CD 파이프라인
Observability Metrics
AWS CloudFormation과 같은 강력한 IaC (Infrastructure as Code) 도구들을
사용해 어플리케이션 실행을 위한 인프라 (예: 컨테이너/람다) 정의
AWS Proton은 AWS CodePipeline 이나 써드파티 도구(Jenking, GitHub
Actions) 을 활용해 각 템플릿 별로 CI/CD 파이프라인을 생성함
AWS Proton 이 사용자가 정의한 헬스 체크 정책에 따라 어플리케이션의 정상
상태 지속적으로 모니터링
16. © 2021, Amazon Web Services, Inc. or its Affiliates.
AWS Proton resources
Environment
template
Environments
Service
정의
생성
인프라 관리자
개발팀
생성
Service
template
Service instances
17. © 2021, Amazon Web Services, Inc. or its Affiliates.
Proton 사용 예시
Staging environment Production environment
Fargate web service
(inc. pipeline)
Lambda web service
(inc. pipeline)
Environment
Storefront-
staging
Storefront-
production
Inventory-
staging
Inventory-
production
Checkout-
staging
Checkout-
production
Storefront
Inventory
Checkout
Pipeline
Pipeline
Pipeline
18. © 2021, Amazon Web Services, Inc. or its Affiliates.
운영자 관점
User Experience
19. © 2021, Amazon Web Services, Inc. or its Affiliates.
인프라 관리자
기준 인프라, CI/CD 파이프라인,
모니터링 도구들을 정의하는 템플릿
정의 및 배포
인프라 관리자: 표준 정의
• 템플릿 생성
• AWS Proton에 템플릿 등록
• 템플릿 버전 관리
• Environment 배포
20. © 2021, Amazon Web Services, Inc. or its Affiliates.
템플릿 관리
AWS Account
AWS Account
AWS Account
운영자는 계정 별로* AWS Proton
템플릿을 작성, 등록합니다
템플릿 등록
AWS Proton 템플릿
* GA 시점에는 멀티 어카운트 지원 예정
21. © 2021, Amazon Web Services, Inc. or its Affiliates.
AWS Proton 템플릿 구조
• 파라미터를 포함하는 Infrastructure as Code (IaC)
템플릿
• 파라미터를 포함하는 CI/CD 템플릿
• AWS Proton schema
• Manifest
22. © 2021, Amazon Web Services, Inc. or its Affiliates.
템플릿 작성
DNSRecord:
Type: AWS:Route53:RecordSet
Properties:
Name:
{{subdomain}}.example.com
ServiceInstanceInputs:
type: object
required:
- subdomain
subdomain:
type: string
DNSRecord:
Type: AWS:Route53:RecordSet
Properties:
Name:
storefront.example.com
DNSRecord:
Type: AWS:Route53:RecordSet
Properties:
Name:
storefront-staging.example.com
AWS CloudFormation
AWS CloudFormation:
AWS CloudFormation:
AWS Proton:
25. © 2021, Amazon Web Services, Inc. or its Affiliates.
• 새 버전은 템플릿의 변경 수반
• Minor updates (1.2 to 1.3): 인프라에 변경
• Major updates (1.x to 2.x): 스키마 변경
• Latest version: recommended
템플릿 버전을 통해 인프라 업데이트
27. © 2021, Amazon Web Services, Inc. or its Affiliates.
• 여러 서비스 인스턴스를 위한 공유 자원
예: “VPC with subnets”
• 파이프라인의 Stage
Production: 퍼블릭 서브넷이 있는 VPC
Staging: 프라이빗 서브넷이 있는 VPC
• 자원 생성을 위한 IAM roles 포함
Environments
28. © 2021, Amazon Web Services, Inc. or its Affiliates.
개발자 관점
User Experience
29. © 2021, Amazon Web Services, Inc. or its Affiliates.
개발자
어플리케이션 배포를 위한
서비스 탐색 및 배포
개발자: 코드 작성 및 배포
• 어플리케이션 작성
• 서비스 선택 및 배포
• 배포된 서비스 관리
31. © 2021, Amazon Web Services, Inc. or its Affiliates.
서비스 생성: 파라미터 입력
DNSRecord:
Type: AWS:Route53:RecordSet
Properties:
Name: {{subdomain}}.example.com
34. © 2021, Amazon Web Services, Inc. or its Affiliates.
Getting Started
35. © 2021, Amazon Web Services, Inc. or its Affiliates.
© 2021, Amazon Web Services, Inc. or its Affiliates.
비용과 지원되는 리전
Go to aws.amazon.com/proton
지원되는 리전:
• 퍼블릭 프리뷰 기간 동안 IAD, CMH, PDX, NRT, DUB 5개 리전에서만 서비스
제공
• 2021년 중 글로벌 GA 예정
비용:
• AWS Proton에 대한 추가 비용 청구 없음
• 생성된 AWS 자원에 대한 비용만 청구됨
• 최소 이용 비용, 선납금 없음
36. © 2021, Amazon Web Services, Inc. or its Affiliates.
AWS Proton 샘플 템플릿
프로덕션 레벨 인프라로
사용할 수 있는 템플릿
Production Ready
Well-Architected
AWS Well- Architected
베스트 프랙티스를 활용
Open Source
필요에 따라 템플릿 수정
가능
GitHub에서 확인하세요! - https://github.com/aws-samples/aws-proton-sample-templates
37. © 2021, Amazon Web Services, Inc. or its Affiliates.
더 나은 세미나를 위해
여러분의 의견을 남겨주세요!
▶ 질문에 대한 답변 드립니다.
▶ 발표자료/녹화영상은 추후 별도로
전달 드릴 예정입니다.
39. © 2021, Amazon Web Services, Inc. or its Affiliates.
Product features
Public preview 로드맵
• Create templates based on
AWS CloudFormation
• Deploy environments and services
based on templates
• Connect AWS CodePipeline
for CI/CD
• Update templates and upgrade
deployed environments and services
• Health monitoring
• 써드파티 도구 지원
• Infrastructure as code, CI/CD, observability
• 템플릿 레벨 규칙에 따른 자동 태깅
• 멀티 어카운트 지원
• Template access control