Home
Explore
Submit Search
Upload
Login
Signup
Advertisement
Check these out next
고객의 플랫폼/서비스를 개선한 국내 사례 살펴보기 – 장준성 AWS 솔루션즈 아키텍트, 강산아 NDREAM 팀장, 송영호 야놀자 매니저, ...
Amazon Web Services Korea
데브옵스 엔지니어를 위한 신규 운영 서비스 - 김필중, AWS 개발 전문 솔루션즈 아키텍트 / 김현민, 메가존클라우드 솔루션즈 아키텍트 :...
Amazon Web Services Korea
9월 웨비나 - AWS에서의 네트워크 보안 (이경수 솔루션즈 아키텍트)
Amazon Web Services Korea
진화하는 CloudFront 의 이해와 글로벌 서비스 활용 - 안수일 시니어 솔루션즈 아키텍트, GS NEOTEK :: AWS Summit...
Amazon Web Services Korea
(CMP201) All You Need To Know About Auto Scaling
Amazon Web Services
AWS를 활용해서 글로벌 게임 런칭하기 - 박진성 AWS 솔루션즈 아키텍트 :: AWS Summit Seoul 2021
Amazon Web Services Korea
Introduction to AWS Organizations
Amazon Web Services
실시간 스트리밍 분석 Kinesis Data Analytics Deep Dive
Amazon Web Services Korea
1
of
56
Top clipped slide
다양한 배포 기법과 AWS에서 구축하는 CI/CD 파이프라인 l 안효빈 솔루션즈 아키텍트
Aug. 16, 2018
•
0 likes
19 likes
×
Be the first to like this
Show More
•
6,262 views
views
×
Total views
0
On Slideshare
0
From embeds
0
Number of embeds
0
Download Now
Download to read offline
Report
Technology
다양한 배포 기법과 AWS에서 구축하는 CI/CD 파이프라인 l 안효빈 솔루션즈 아키텍트
Amazon Web Services Korea
Follow
Amazon Web Services Korea
Advertisement
Advertisement
Advertisement
Recommended
AWS Elastic Beanstalk 활용하여 수 분만에 코드 배포하기 (최원근, AWS 솔루션즈 아키텍트) :: AWS DevDay2018
Amazon Web Services Korea
11K views
•
90 slides
AWS Fargate와 Amazon ECS를 사용한 CI/CD 베스트 프랙티스 - 유재석, AWS 솔루션즈 아키텍트 :: AWS Build...
Amazon Web Services Korea
2.3K views
•
101 slides
AWS 시작하기 및 Amazon S3 살펴보기 (윤석찬) - AWS 웨비나 시리즈
Amazon Web Services Korea
18.7K views
•
71 slides
Amazon EKS로 간단한 웹 애플리케이션 구축하기 - 김주영 (AWS) :: AWS Community Day Online 2021
AWSKRUG - AWS한국사용자모임
1.4K views
•
7 slides
AWS 기반 클라우드 아키텍처 모범사례 - 삼성전자 개발자 포털/개발자 워크스페이스 - 정영준 솔루션즈 아키텍트, AWS / 유현성 수석,...
Amazon Web Services Korea
5.4K views
•
94 slides
Amazon DynamoDB 키 디자인 패턴
Amazon Web Services Korea
606 views
•
52 slides
More Related Content
Slideshows for you
(20)
고객의 플랫폼/서비스를 개선한 국내 사례 살펴보기 – 장준성 AWS 솔루션즈 아키텍트, 강산아 NDREAM 팀장, 송영호 야놀자 매니저, ...
Amazon Web Services Korea
•
216 views
데브옵스 엔지니어를 위한 신규 운영 서비스 - 김필중, AWS 개발 전문 솔루션즈 아키텍트 / 김현민, 메가존클라우드 솔루션즈 아키텍트 :...
Amazon Web Services Korea
•
2.1K views
9월 웨비나 - AWS에서의 네트워크 보안 (이경수 솔루션즈 아키텍트)
Amazon Web Services Korea
•
8.7K views
진화하는 CloudFront 의 이해와 글로벌 서비스 활용 - 안수일 시니어 솔루션즈 아키텍트, GS NEOTEK :: AWS Summit...
Amazon Web Services Korea
•
3.3K views
(CMP201) All You Need To Know About Auto Scaling
Amazon Web Services
•
7.8K views
AWS를 활용해서 글로벌 게임 런칭하기 - 박진성 AWS 솔루션즈 아키텍트 :: AWS Summit Seoul 2021
Amazon Web Services Korea
•
1.2K views
Introduction to AWS Organizations
Amazon Web Services
•
3.4K views
실시간 스트리밍 분석 Kinesis Data Analytics Deep Dive
Amazon Web Services Korea
•
550 views
AWS KMS를 활용하여 안전한 AWS 환경을 구축하기 위한 전략::임기성::AWS Summit Seoul 2018
Amazon Web Services Korea
•
1.9K views
Security Architectures on AWS
Amazon Web Services
•
695 views
How to use IAM roles grant access to AWS
Amazon Web Services
•
2.2K views
데이터 분석가를 위한 신규 분석 서비스 - 김기영, AWS 분석 솔루션즈 아키텍트 / 변규현, 당근마켓 소프트웨어 엔지니어 :: AWS r...
Amazon Web Services Korea
•
856 views
Kurly는 AWS를 어떻게 사용하고 있을까? - 성공적 리테일 디지털 트랜스포메이션 사례 - 박경표 AWS 솔루션즈 아키텍트 / 임상석...
Amazon Web Services Korea
•
618 views
Aws glue를 통한 손쉬운 데이터 전처리 작업하기
Amazon Web Services Korea
•
11.5K views
[AWS Builders] AWS상의 보안 위협 탐지 및 대응
Amazon Web Services Korea
•
4.3K views
AWS Cost Optimisation Best Practices Webinar
Amazon Web Services
•
3K views
높은 가용성과 성능 향상을 위한 ElastiCache 활용 팁 - 임근택, SendBird :: AWS Summit Seoul 2019
Amazon Web Services Korea
•
2.4K views
Amazon OpenSearch Deep dive - 내부구조, 성능최적화 그리고 스케일링
Amazon Web Services Korea
•
1.5K views
CloudWatch 성능 모니터링과 신속한 대응을 위한 노하우 - 박선용 솔루션즈 아키텍트:: AWS Cloud Track 3 Gaming
Amazon Web Services Korea
•
12.5K views
Cost Optimisation on AWS
Amazon Web Services
•
4.9K views
Similar to 다양한 배포 기법과 AWS에서 구축하는 CI/CD 파이프라인 l 안효빈 솔루션즈 아키텍트
(20)
On-Premise 기반서비스 클라우드 전환기 -DevSecOps 도입을통한 유연한 서비스 개발 및 운영::박준상::AWS Summit S...
Amazon Web Services Korea
•
590 views
On-Premise 기반서비스 클라우드 전환기 -DevSecOps 도입을통한 유연한 서비스 개발 및 운영::박준상::AWS Summit S...
Amazon Web Services Korea
•
2.4K views
컨테이너와 서버리스 기반 CI/CD 파이프라인 구성하기 - 김필중 솔루션즈 아키텍트, AWS / 강승욱 솔루션즈 아키텍트, AWS :: A...
Amazon Web Services Korea
•
2.9K views
왜 우리는 마이크로서비스를 구현하고자 하는가?::김민성,이준희::AWS Summit Seoul 2018
Amazon Web Services Korea
•
2.9K views
[Games on AWS 2019] AWS 사용자를 위한 만랩 달성 트랙 | AWS 최적화 사용을 위해 운영자가 아닌 개발자들이 해야 할 ...
Amazon Web Services Korea
•
2.3K views
[Games on AWS 2019] AWS 사용자를 위한 만랩 달성 트랙 | 코드 기반으로 인프라 운영하기 - 박성훈 NEOWIZ 팀장,...
Amazon Web Services Korea
•
2.7K views
강의 4: AWS 아키텍처 설계:: AWSome Day Online Conference
Amazon Web Services Korea
•
936 views
AWS All-in 그리고 그 이후::김승철,이성익,최홍식::AWS Summit Seoul 2018
Amazon Web Services Korea
•
2.5K views
[애플리케이션 현대화 및 개발] 현대적 애플리케이션 개발을 위한 AWS 컨테이너 활용사례 및 주요 도구 알아보기 - 정영준, AWS 솔루션...
Amazon Web Services Korea
•
1.8K views
스타트업 관점에서 본 AWS 선택과 집중 (한승호, 에멘탈) :: AWS DevDay 2018
Amazon Web Services Korea
•
3.1K views
클라우드 세상에서 살아남기 (2) “진화의시작: 인프라 엔지니어에서 Ops 엔지니어로”::이한주::AWS Summit Seoul 2018
Amazon Web Services Korea
•
2.7K views
[애플리케이션 현대화 및 개발] 현대적 애플리케이션 개발의 필수, 앱 배포 및 인프라 구성 자동화 - 김필중, AWS 솔루션즈 아키텍트
Amazon Web Services Korea
•
2K views
EasyCloud 고군분투 개발 이야기::이준희::AWS Summit Seoul 2018
Amazon Web Services Korea
•
2.5K views
AWS를 활용한 다양한 DB 마이그레이션 및 게임 엔진 서버 구축 방법::맹상영 대표, 엔클라우드24::AWS Summit Seoul 2018
Amazon Web Services Korea
•
2.4K views
클라우드 프론트의 재발견::백본을 이용한 초고속 콘텐츠 전송::서호석 이사, 영우디지탈::AWS Summit Seoul 2018
Amazon Web Services Korea
•
2.5K views
AWS 클라우드를 통해 최소기능제품(MVP) 빠르게 개발하기 - 윤석찬 테크 에반젤리스트, AWS
Amazon Web Services Korea
•
1.1K views
4시간안에 끝내는 AWS 클라우드 전환 및 운영 환경 구성 - 최지웅 부대표, 오픈소스컨설팅 :: AWS Summit Seoul 2019
Amazon Web Services Korea
•
984 views
2021년, 위기를 기회로 만든 미디어 & 엔터테인먼트의 메가트렌드와 글로벌 혁신사례 - 이봉무 AWS 미디어 사업개발 담당 :: AWS ...
Amazon Web Services Korea
•
148 views
SAP, 아마존 클라우드에서 어떻게 하면 잘한다고 소문이 날까? AWS 클라우드 환경에서 ISMS-P(정보보호 관리체계) "인싸"가 되는 ...
Amazon Web Services Korea
•
893 views
금융 IT, 그리고 클라우드::김기완::AWS Summit Seoul 2018
Amazon Web Services Korea
•
3K views
Advertisement
More from Amazon Web Services Korea
(20)
AWS Summit Seoul 2023 | Amazon Neptune 및 Elastic을 이용한 추천 서비스 및 검색 플랫폼 구축하기
Amazon Web Services Korea
•
181 views
AWS Summit Seoul 2023 | 생성 AI 모델의 임베딩 벡터를 이용한 서버리스 추천 검색 구현하기
Amazon Web Services Korea
•
154 views
AWS Summit Seoul 2023 | 스타트업의 서버리스 기반 SaaS 데이터 처리 및 데이터웨어하우스 구축 사례
Amazon Web Services Korea
•
102 views
AWS Summit Seoul 2023 | Amazon EKS 데이터 전송 비용 절감 및 카오스 엔지니어링 적용 사례
Amazon Web Services Korea
•
154 views
AWS Summit Seoul 2023 | 실시간 CDC 데이터 처리! Modern Transactional Data Lake 구축하기
Amazon Web Services Korea
•
113 views
AWS Summit Seoul 2023 | 12가지 디자인 패턴으로 알아보는 클라우드 네이티브 마이크로서비스 아키텍처
Amazon Web Services Korea
•
153 views
AWS Summit Seoul 2023 | AWS에서 OpenTelemetry 기반의 애플리케이션 Observability 구축/활용하기
Amazon Web Services Korea
•
86 views
AWS Summit Seoul 2023 | 갤럭시 규모의 서비스를 위한 Amazon DynamoDB의 역할과 비용 최적화 방법
Amazon Web Services Korea
•
82 views
AWS Summit Seoul 2023 | 기업 고객 대상 기계학습 기반 콜센터 도입을 위한 여정
Amazon Web Services Korea
•
33 views
AWS Summit Seoul 2023 | 바쁘다 바빠, 현대사회! Amazon Kendra로 원하는 자료를 적재적소에 찾아서 활용하기
Amazon Web Services Korea
•
53 views
AWS Summit Seoul 2023 | 다중 계정 및 하이브리드 환경에서 안전한 IAM 체계 만들기
Amazon Web Services Korea
•
106 views
AWS Summit Seoul 2023 | 아마존의 공급망 전략을 배워보고, 우리 회사에 적용하기
Amazon Web Services Korea
•
87 views
AWS Summit Seoul 2023 | 진짜로 코드 없이 기계학습 모델을 만드는 것이 가능하다구요? SageMaker로 No/Low 코...
Amazon Web Services Korea
•
76 views
AWS Summit Seoul 2023 | 클라우드 보안의 새로운 접근법
Amazon Web Services Korea
•
111 views
AWS Summit Seoul 2023 | 천만 사용자 서비스를 위한 Amazon SageMaker 활용 방법 진화하기
Amazon Web Services Korea
•
52 views
AWS Summit Seoul 2023 | Amazon EKS, 중요한 건 꺾이지 않는 안정성
Amazon Web Services Korea
•
91 views
AWS Summit Seoul 2023 | 통합을 통한 보안 간소화
Amazon Web Services Korea
•
72 views
AWS Summit Seoul 2023 | 서버리스, 이제는 데이터 분석에서 활용해요!
Amazon Web Services Korea
•
76 views
AWS Summit Seoul 2023 | 데이터, 분석 및 AI를 통합하는 단 하나의 레이크하우스, Databricks on AWS 로 ...
Amazon Web Services Korea
•
80 views
AWS Summit Seoul 2023 | 모두를 위한 BI, QuickSight
Amazon Web Services Korea
•
74 views
Recently uploaded
(20)
AWS Summit Seoul 2023 | Confluent와 함께하는 실시간 데이터와 클라우드 여정
Amazon Web Services Korea
•
43 views
[보험사를 위한 AWS Data Analytics Day] 4_신한금융그룹의 데이터 댐_Do...
AWS Korea 금융산업팀
•
54 views
Browser Rendering
Wonjun Hwang
•
14 views
AWS Summit Seoul 2023 | 성공적인 AWS RDS 마이그레이션을 위한 여정과 필수 고려사항
Amazon Web Services Korea
•
47 views
AWS Summit Seoul 2023 | 비즈니스 경계를 허무는 혁신: 단 하나의 선택, 슈퍼앱
Amazon Web Services Korea
•
73 views
AWS Summit Seoul 2023 | SK쉴더스: AWS Native Security 서비스를 활용한 경계보안
Amazon Web Services Korea
•
63 views
ASP.NET Core와 Azure App Service와의 환상적인 만남
SangHoon Han
•
40 views
AWS Summit Seoul 2023 | 100만명이 사용하는 GenerativeAI 이루다를 만들면서 배운 것 : 스캐터랩의 AWS 활용법
Amazon Web Services Korea
•
57 views
AWS Summit Seoul 2023 | AWS의 관리형 VDI 서비스! 알고 계셨나요?
Amazon Web Services Korea
•
50 views
캐드앤그래픽스 2023년 6월호 목차
캐드앤그래픽스
•
75 views
AWS Summit Seoul 2023 | 팬덤을 위한 아티스트 IP 기반의 디지털 콜렉터블 플랫폼
Amazon Web Services Korea
•
128 views
AWS Summit Seoul 2023 |Datadog을 활용한 AWS 서버리스 Observability
Amazon Web Services Korea
•
56 views
검색엔진에 적용된 ChatGPT
Tae Young Lee
•
81 views
스프링 배치
Wonjun Hwang
•
25 views
[보험사를 위한 AWS Data Analytics Day] 5_KB금융그룹과 계열사의 AWS 기ᄇ...
AWS Korea 금융산업팀
•
44 views
Openstack Datadog.pptx
FreddyManullang3
•
2 views
AWS Summit Seoul 2023 | AWS의 개발자를 위한 신규 서비스 소개 Amazon CodeCatalyst & Amazon C...
Amazon Web Services Korea
•
74 views
클린코드
Wonjun Hwang
•
10 views
[보험사를 위한 AWS Data Analytics Day] 3_교보생명의 빅데이터 플랫폼 ...
AWS Korea 금융산업팀
•
62 views
AWS Summit Seoul 2023 | Observability를 넘어선 클라우드 운영관리의 미래
Amazon Web Services Korea
•
51 views
Advertisement
다양한 배포 기법과 AWS에서 구축하는 CI/CD 파이프라인 l 안효빈 솔루션즈 아키텍트
© 2018, Amazon
Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 다양한 배포 기법과 AWS에서 구축하는 CI/CD 파이프라인 Hyobin An, Solutions Architect
© 2018, Amazon
Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Agenda • CI/CD 란 무엇인가? • CI/CD 가 해결할 수 있는 문제 • AWS 에서 구축하는 CI/CD • 다양한 배포 기법 • Rolling • Blue/Green • Canary • Blue/Green 배포 Demo
© 2018, Amazon
Web Services, Inc. or its Affiliates. All rights reserved. CI/CD 란 무엇인가?
© 2018, Amazon
Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. CI/CD 란 무엇인가? 지속적 통합(Continuous Integration) • 모든 개발자가 개발한 코드를 공유 리포지토리에 하루에도 여러번 코드를 커밋하고 병합하는 것 지속적 전달(Continuous Delivery) • 개발팀이 짧은 주기로 소프트웨어를 개발하고 언제든지 운영환경으로 안정적으로 배포하는 것
© 2018, Amazon
Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 전달 vs 배포 지속적 전달(Continuous Delivery) • 배포 가능한 Asset 생성 • 운영환경으로의 배포에 일종의 승인 작업이 필요 지속적 배포(Continuous Deployment) • 변경사항이 운영환경으로 자동 배포
© 2018, Amazon
Web Services, Inc. or its Affiliates. All rights reserved. CI/CD 가 해결할 수 있는 문제
© 2018, Amazon
Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 몇 가지 질문들… 얼마나 많은 배포를 수행하고 있는지? “우리는 분기별 릴리즈 주기를 가지고 있어요, 연간 4번 정도랄까요?” 얼마나 많은 배포가 업무 시간 이외에 수행되는지? “고객의 영향을 최소화하는게 우선입니다, 다들 주무실 때가 대부분이죠” 얼마나 많은 사람들이 급작스런 롤백으로 고통 받는지? “자꾸 늦게 문제를 확인하는 바람에.. 릴리즈 전 백업에서 롤백해야 하는게 보통이죠”
© 2018, Amazon
Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 몇 가지 질문들… 얼마나 많은 배포를 수행하고 있는지? “우리는 분기별 릴리즈 주기를 가지고 있어요, 연간 4번 정도랄까요?” 얼마나 많은 배포가 업무 시간 이외에 수행되는지? “고객의 영향을 최소화하는게 우선입니다, 다들 주무실 때가 대부분이죠” 얼마나 많은 사람들이 급작스런 롤백으로 고통 받는지? “자꾸 늦게 문제를 확인하는 바람에.. 릴리즈 전 백업에서 롤백해야 하는게 보통이죠” “셀 수 없이 많이” “시간은 무관!” “뒤로 가지는 않아요, 앞으로 나아갈뿐!”
© 2018, Amazon
Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. CI/CD 가 무엇을 해결할 수 있는가? • 빌드, 테스트 및 배포 단계를 자동화 • 소프트웨어 릴리스 주기 가속화 • 비용 및 배포 변경에 대한 위험 감소 • 개발자가 빠르게 피드백을 얻을 수 있음 • 소프트웨어 개발에 대한 반복적인 접근이 쉬워짐
© 2018, Amazon
Web Services, Inc. or its Affiliates. All rights reserved. Amazon.com 의 사례
© 2018, Amazon
Web Services, Inc. or its Affiliates. All rights reserved. 이전의 Amazon.com 애플리케이션은 중앙집중식 (monolith) 컴파일에 18시간이 필요한 1GB 크기의 실행파일과 중앙집중식 배포팀
© 2018, Amazon
Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon 의 개발 변혁: 2001 - 2009 20092006 마이크로서비스 2-피자팀
© 2018, Amazon
Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 그렇게 Amazon 은 수천개의 서비스 팀 + Microservice 아키텍처 + 다양한 환경 + 지속적 전달 ? = 50 million deployments / 1 yr (1.5 deployments / 1 sec)
© 2018, Amazon
Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. CI/CD 의 이점 신뢰성 속도 확장성 신속한 전달향상된 협업 보안
© 2018, Amazon
Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 숫자로 보는 CI/CD 의 이점 30x 더 잦은 배포 200x 짧은 리드 타임 60x 더 적은 실패 168x 더 빠른 복구
© 2018, Amazon
Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 그래서 다양한 도구들이 개발되었고, 현재의 AWS 개발 도구들이 되었습니다.
© 2018, Amazon
Web Services, Inc. or its Affiliates. All rights reserved. AWS 에서 구축하는 CI/CD
© 2018, Amazon
Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 소스 빌드 테스트 프로덕션 • 버전 관리 • 브랜칭 • 코드 리뷰 • 컴파일 • 유닛 테스트 • 정적 분석 • 패키징 • 통합 테스트 • 부하 테스트 • 보안 테스트 • 적용 테스트 • 배포 • 모니터링 • 검증
© 2018, Amazon
Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS 개발자 도구 소프트웨어 릴리즈 단계: 소스 빌드 테스트 프로덕션 Third-Party Tooling 또는 AWS CodeCommit AWS CodeBuild AWS CodeDeploy AWS CodePipeline
© 2018, Amazon
Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 소스 단계 도구 • AWS CodeCommit • Git 과 호환이 가능한 소스 리포지토리 • 다른 AWS 서비스와 통합, e.g. IAM, KMS • 변경사항 감사 • Pull 요청과 CloudWatch 알람 • GitHub Enterprise • Bitbucket, etc.
© 2018, Amazon
Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 빌드 단계 도구 • AWS CodeBuild • 소스를 컴파일하고 테스트한 뒤 배포 준비가 된 asset을 생성하는 관리형 빌드 서비스 • VPC 액세스 • Jenkins • Others
© 2018, Amazon
Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 테스트 단계 • 여러 기준의 따른 업데이트 검증 • UI, 로드, 통합, API • 업데이트 확인 및 버그 발견
© 2018, Amazon
Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 프로덕션/배포 단계 도구 • AWS CodeDeploy • 원하는 리소스에 코드 배포를 자동화하는 서비스 • 다양한 배포 기법 • Rolling • Blue/Green • Canary
© 2018, Amazon
Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 배포 자동화
© 2018, Amazon
Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 배포 자동화 AWS CloudFormation 구성
© 2018, Amazon
Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 배포 자동화 AWS CloudFormation AWS CodeCommit AWS CodePipeline AWS CodeDeploy AWS CodeBuild S3 Bucket 승인 Amazon SNS 구성
© 2018, Amazon
Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 배포 자동화 AWS CloudFormation AWS CodeCommit AWS CodePipeline AWS CodeDeploy AWS CodeBuild 체크인 S3 Bucket 승인 Amazon SNS
© 2018, Amazon
Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 배포 자동화 AWS CloudFormation AWS CodeCommit AWS CodePipeline AWS CodeDeploy AWS CodeBuild 체크인 S3 Bucket 승인 Template Staging instances Elastic Load Balancing Auto Scaling Amazon SNS
© 2018, Amazon
Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 배포 자동화 AWS CloudFormation AWS CodeCommit AWS CodePipeline AWS CodeDeploy AWS CodeBuild 체크인 S3 Bucket 승인 Template Staging instances Elastic Load Balancing Auto Scaling Amazon SNS Production instances Elastic Load Balancing Auto Scaling
© 2018, Amazon
Web Services, Inc. or its Affiliates. All rights reserved. 다양한 배포 기법 • Rolling • Blue/Green • Canary
© 2018, Amazon
Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Rolling 배포 • 애플리케이션의 새 버전을 한 번에 하나의 배치로 배포 • 기존 버전을 실행하는 인스턴스는 점차 제거 • 트래픽은 구 버전에서 새 버전으로 점진적으로 옮겨가게 됨
© 2018, Amazon
Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Rolling 배포 Availability Zone Availability Zone Scenario 새로운 버전의 애플리케이션을 다음의 구성에 따라 배포합니다. Desired Count = 2 Minimum Healthy Percent = 50% Maximum Percent = 100% 이러한 설정은 서비스가 원하는 크기를 초과하지 않도록 하지만 배포 중 인스턴스의 수는 절반으로 줄어들게 됩니다. EXISTING EXISTING
© 2018, Amazon
Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Rolling 배포 Availability Zone Availability Zone 우선, 기존의 인스턴스 한대가 종료되어 서비스의 비율이 50% 가 됩니다. EXISTING Desired Count = 2 Minimum Healthy Percent = 50% Maximum Percent = 100%
© 2018, Amazon
Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Rolling 배포 Availability Zone Availability Zone 새로운 버전의 애플리케이션 인스턴스가 배포된 뒤 서비스는 100% 정상 상태가 됩니다. EXISTING Desired Count = 2 Minimum Healthy Percent = 50% Maximum Percent = 100% NEW
© 2018, Amazon
Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Rolling 배포 Availability Zone Availability Zone ELB가 새로운 인스턴스가 정상인 것을 확인한 뒤에 남아 있는 구 버전의 인스턴스를 삭제합니다. Desired Count = 2 Minimum Healthy Percent = 50% Maximum Percent = 100% NEW
© 2018, Amazon
Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Rolling 배포 Availability Zone Availability Zone 새로운 버전의 인스턴스가 ELB 에 할당되고 배포가 완료 됩니다. 100% 정상 상태가 됩니다. NEW NEW Desired Count = 2 Minimum Healthy Percent = 50% Maximum Percent = 100%
© 2018, Amazon
Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Blue/Green 배포 • 구버전과 새버전을 동시에 나란히 구성 • 하나의 버전만 프로덕션 트래픽을 처리 • 빠른 롤백 가능 • 운영환경에 영향을 주지 않고 새 버전 테스트 가능 • Ex) 새 버전은 다른 포트에서 수신하거나 내부 리소스로만 액세스 가능
© 2018, Amazon
Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Blue/Green 배포 Availability Zone EXISTING EXISTING Scenario 호스트 기반 라우팅을 사용하여 동일한 ALB에 다른 버전의 애플리케이션이 서로 다른 타겟 그룹으로 나란히 구성됩니다. 배포는 두 버전의 리스너 규칙이 Swap 되며 완료됩니다. Availability Zone
© 2018, Amazon
Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Blue/Green 배포 Availability Zone EXISTING EXISTING 새로운 서비스가 동일한 ALB의 새로운 타겟 그룹으로 등록됩니다. 호스트 기반 라우팅을 사용하여 www.example.com 에 대한 요청은 Blue 서비스(기존)로 전달되고, next.example.com에 대한 요청은 Green 서비스(신규)로 연결됩니다. NEW NEW Availability Zone
© 2018, Amazon
Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Blue/Green 배포 Availability Zone 자동 또는 수동 테스트 후 ALB에서 리스너 규칙을 Swap하고 프로덕션 트래픽을 Green 서비스로 전달하여 배포를 완료하게 됩니다. NEW NEW Availability Zone EXISTING EXISTING
© 2018, Amazon
Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Blue/Green 배포 Availability Zone 이전 서비스 및 해당 대상 그룹을 파괴할 수 있습니다. NEW NEW Availability Zone
© 2018, Amazon
Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Canary 스타일 배포 • 새 버전의 애플리케이션으로 프로덕션 트래픽의 일부를 분산 • A/B 테스팅 사용 가능 • 라우팅은 임의적이거나 사용자 프로필을 기반으로 할 수 있음 • 결과에 따라 Canary 버전이 운영 환경을 대체하거나 혹은 중지할 수 있음
© 2018, Amazon
Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Canary 스타일 배포 Scenario 새로운 버전의 애플리케이션을 Elastic Beanstalk 를 이용하여 배포합니다. Route53의 가중치 기반 라우팅 방식으로 새로운 애플리케이션에 조금씩 트래픽을 이동합니다. 이후 테스트 결과에 따라 이전 버전으로의 롤백도 수월하게 할 수 있습니다.
© 2018, Amazon
Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Canary 스타일 배포 우선 조금의 트래픽을 이동한 뒤 테스트를 진행합니다. 내부 테스트를 진행할 수도 있고 A/B 테스팅 방식으로 사용자 반응을 볼 수도 있습니다.
© 2018, Amazon
Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Canary 스타일 배포 10%의 트래픽을 라우팅한 뒤 문제가 발견되지 않는다면 점진적으로 트래픽을 새로운 버전으로 옮겨갑니다.
© 2018, Amazon
Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Canary 스타일 배포 10%의 트래픽을 라우팅한 뒤 문제가 발견되지 않는다면 점진적으로 트래픽을 새로운 버전으로 옮겨갑니다. 모니터링을 통해 결과가 좋지 않다면 이전 버전으로 롤백할 수 있습니다.
© 2018, Amazon
Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Canary 스타일 배포 트래픽을 새로운 버전으로 라우팅한 뒤 문제가 발견되지 않는다면 점진적으로 트래픽을 새로운 버전으로 옮겨갑니다. 모니터링을 통해 결과가 좋지 않다면 이전 버전으로 롤백할 수 있습니다.
© 2018, Amazon
Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Canary 스타일 배포 새로운 버전으로 트래픽을 100% 이동합니다. 구 버전의 애플리케이션 환경은 여전히 남아있기 때문에 여전히 롤백이 가능합니다.
© 2018, Amazon
Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Canary 스타일 배포 이 후 이전 환경을 제거하면 모든 배포 프로세스가 완료됩니다.
© 2018, Amazon
Web Services, Inc. or its Affiliates. All rights reserved. Blue/Green 배포 Demo ☺
© 2018, Amazon
Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Demo 흐름 Availability Zone EXISTING EXISTINGNEW NEW Availability Zone
© 2018, Amazon
Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Demo 흐름 Availability Zone EXISTING EXISTINGNEW NEW Availability Zone
© 2018, Amazon
Web Services, Inc. or its Affiliates. All rights reserved. DEMO ☺
© 2018, Amazon
Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Reference Deep Dive into Blue/Green Deployments on AWS (re:Invent 2015) https://www.youtube.com/watch?v=aX54mhZbN58&t=7s CI/CD Deployment Github https://github.com/awslabs/ecs-refarch-continuous-deployment Blue/Green Deployment Github https://github.com/awslabs/ecs-blue-green-deployment Canary Blue/Green Deployment Github https://github.com/awslabs/ecs-canary-blue-green-deployment
© 2018, Amazon
Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 더 자세한 것은 AWS 교육 정보를 참고하시기 바랍니다. 온라인 교육 AWS 무료 온라인 교육 자료, 실습 과정을 만나실 수 있습니다. 오프라인 공인 교육 AWS 공인 강사가 직접 유료 과정을 통해 다양한 교과 과정을 운영합니다. AWS 공인 자격증 산업 현장에서 인정 받을 수 있는 다양한 전문 자격증 제도를 활용하세요. 더 자세한 사항은 AWS 교육 자료 웹 사이트를 참고하세요! https://www.aws.training/
© 2018, Amazon
Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Innovate에 참여해주셔서 감사합니다! 본 세션이 끝난 후, 간단한 설문 조사에 응해 주시면 여러분의 피드백을 바탕으로 향후 더 좋은 콘텐츠를 준비해드리겠습니다. 다양한 AWS 콘텐츠를 온라인에서 만나보세요! aws-korea-marketing@amazon.com twitter.com/AWSKorea facbook.com/AmazonWebServices youtube.com/user/AWSKorea slideshare.net/AWSKorea twitch.tv/aws
Advertisement