SlideShare a Scribd company logo
클라우드 환경으로 데이터베이스 이전하기 - 강민석, AWS SR. Database SA
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS의 관리형 데이터베이스 서비스
강민석
Sr. Database Specialist SA
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
강연 중 질문하는 방법
Go to Webinar “Chat/채팅” 창에 자신이 질문한
내역이 표시됩니다. 기본적으로 모든 질문은
공개로 답변 됩니다만 본인만 답변을 받고 싶으면
(비공개)라고 하고 질문해 주시면 됩니다.
본 컨텐츠는 고객의 편의를 위해 AWS 서비스 설명을 위해 온라인 세미나용으로 별도로 제작, 제공된 것입니다. 만약
AWS 사이트와 컨텐츠 상에서 차이나 불일치가 있을 경우, AWS 사이트(aws.amazon.com)가 우선합니다. 또한 AWS
사이트 상에서 한글 번역문과 영어 원문에 차이나 불일치가 있을 경우(번역의 지체로 인한 경우 등 포함), 영어 원문이
우선합니다.
AWS는 본 컨텐츠에 포함되거나 컨텐츠를 통하여 고객에게 제공된 일체의 정보, 콘텐츠, 자료, 제품(소프트웨어 포함) 또는 서비스를 이용함으로 인하여 발생하는 여하한 종류의 손해에
대하여 어떠한 책임도 지지 아니하며, 이는 직접 손해, 간접 손해, 부수적 손해, 징벌적 손해 및 결과적 손해를 포함하되 이에 한정되지 아니합니다.
고지 사항(Disclaimer)
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Agenda
• Database Migration
• DB 운영의 차이(On-Premise vs Cloud)
• Oracle migration 전략
• Microsoft SQL Server Migration 전략
• 클라우드 환경에서 DB 운영(DevOps와 AWS RDS)
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
클라우드 마이그레이션 - Modernization
DatabaseApplication Infra system
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Database migration 방법론의 이해
Migration 방법론, 고정 관념 탈피 필요
Lift & Shift
(DB on EC2)
Managed Service
(RDS)
Modernization
(Database Freedom)
장점
• 짧은 이행 기간
• Application 변경 최소
• 직관적 이해
• 비교적 짧은 이행 기간
• Cloud 장점 활용 가능
• License 문제 단순화
• Agility 확보
• Cloud 장점 극대화
• 운영 리스크 분산
• License비용 절감
단점
• DB 유지 비용 비효율
• 관리 리스크 증가
• 운영 비용 증가
• Cloud 이행 효용 저하
• Application 일부 변경
• Monolithic 구조 유지
• Application 구조 변경
• 긴 이행 기간
• Project 비용 증가
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Data Platform portfolio
Redshift
Data
warehousing
EMR
Hadoop +
Spark
Athena
Interactive
analytics
Kinesis Data
Analytics Real
time
Elasticsearch
Service
Operational
Analytics
RDS
MySQL, PostgreSQL,
MariaDB, Oracle, SQL
Server
Aurora
MySQL,
PostgreSQL
QuickSight SageMaker
DynamoDB
Key value
ElastiCache
Redis, Memcached
Neptune
Graph
Timestream
Time Series
QLDB
Ledger
Database
S3/Glacier
Glue
ETL & Data
Catalog
Lake Formation
Data Lakes
Database Migration Service | Snowball | Snowmobile | Kinesis Data Firehose | Kinesis Data Streams
Data Movement
Analytics Databases
Database, Business Intelligence & Machine Learning
Data Lake
Managed
Blockchain
Blockchain
Templates
Blockchain
RDS on VMware
DocumentDB
Document
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
데이터베이스 서비스
데이터베이스 유형 AWS 서비스 사용 사례
관계형DB Amazon Aurora, Amazon RDS(5),
Amazon Redshift
기존 애플리케이션, ERP, CRM, 전자 상거래
Key-Value Amazon DynamoDB 높은 트래픽 처리를 위한 전자 상거래 시스템, 게임
In Memory
Amazon ElastiCache for Memcached
Amazon ElastiCache for Redis
캐싱, 세션 관리, 게임 순위표 애플리케이션
문서
Amazon DocumentDB
(MongoDB 호환)
콘텐츠 관리, 카탈로그, 사용자 프로필
와이드 컬럼 Amazon Keyspace(for Cassandra) 장비 관리를 위한 대규모 산업용 앱
그래프 Amazon Neptune 부정 탐지, 소셜 네트워킹, 추천 엔진
시계열 Amazon Timestream IoT 애플리케이션, DevOps, 산업용 텔레메트리
원장 Amazon QLDB 레코드 시스템, 공급망, 등록, 은행 거래
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Database Freedom 소개
Database Freedom 정의
• 상업용 데이터베이스로부터 Cloud Native Database로 변경
RDS
MySQL, PostgreSQL,
MariaDB, Oracle, SQL
Server
Aurora
MySQL,
PostgreSQL
DynamoDB
Key value
ElastiCache
Redis, Memcached
Neptune
Graph
QLDB
Ledger
Database
Cloud Native Databases
DocumentDB
Document
Timestream
Time Series
AWS SCT AWS DMS
Migration
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Database Freedom 소개
Database 마이그레이션 절차
EC2
On premises AWS Native DB
Migration Move to Managed
Migrate Move to Managed Modernize
0%
Modernize*
Modernize*
Move to Managed
Modernize*
AWS Managed DB
(ex: RDS)
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
On-premises에서 데이터베이스 운용
Power, HVAC, net
Rack & stack
Server maintenance
OS patches
DB s/w patches
Database backups
Scaling
High availability
DB s/w installs
OS installation
App optimization
Customer
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon EC2에서 데이터베이스 운영
Power, HVAC, net
Rack & stack
Server maintenance
OS patches
DB s/w patches
Database backups
Scaling
High availability
DB s/w installs
OS installationApp optimization
Customer
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon RDS
Power, HVAC, net
Rack & stack
Server maintenance
OS patches
DB s/w patches
Database backups
App optimization
High availability
DB s/w installs
OS installation
Scaling
Customer
• Schema design
• Query construction
• Query optimization
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
올바른 의사결정을 위한 추천
 관리형 서비스인 Amazon RDS를 권장
 고객의 Business에 집중
 어플리케이션의 최적화에 집중
 사내에 전문 데이터베이스 인력 부족
Amazon RDS DBMS on Amazon EC2
 DB 인스턴스에 대한 Full control 권한을 가짐
 backups, replication and clustering
 Amazon RDS에서 제약되는 기능 및 옵션 사용
 RDS의 범위를 넘어서는 용량 및 성능 필요
Expert DBA ?
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Oracle Release and EOS
지원 RDS Oracle
• Oracle 19c, 버전 19.0.0.0
• Oracle 18c, 버전 18.0.0.0
• Oracle 12c, 버전 12.2.0.1
• Oracle 12c, 버전 12.1.0.2
• Oracle 11g, 버전 11.2.0.4
운영 중단 예정 RDS Oracle
• Oracle 12c, 버전 12.1.0.1
• Oracle 11g, 버전 11.2.0.3
• Oracle 11g, 버전 11.2.0.2
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
RDS Oracle on AWS
SE1 SE SE2
12.1.0.2 이상 사용 불가 12.1.0.2 이상 사용 불가 12g 이상 사용 가능
X O O
라이선스 PL 2 Sockets 4 Sockets 2 Sockets, 16 CPU Threads
제약조건 NUP 5 NUP 10 NUP 10 NUP
- PL: Processor License, NUP: Named User Plus
구분
릴리스 버전
RAC
Oracle License on AWS SE1 SE SE2 EE
License Included O X O X
BYOL O O O O
License type RDS Oracle Support
License Included AWS Enterprise Support 가 있는 경우 AWS Support 팀
Oracle Database 이슈 - Oracle 문의
AWS Enterprise Support 가 있는 경우
Oracle RDS 관련 이슈는 AWS Support 팀
BYOL
EE
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Oracle에서의 고가용성(HA)
Stand alone Clustering High Availability(DR)
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Oracle RAC(Real Application Cluster)란?
• Oracle 9i 부터 지원(2001)
• 클러스터링
• 고가용성
• 장점
• 엔터프라이즈 고객의 표준
• 안정성 및 확장성 제공
• 단점
• 비용
• 그래도 장애는 발생
Single Point
Failure
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS로의 Migration – RDS Oracle
• 장점
• Oracle과 같은 엔진을 사용하기 때문에 변경 작업 필요 없음
• AWS: HW, Setup, Patch, Backup
• Customer: Application Optimization
• 단점 : RAC 지원 하지 않음, DBA 권한 제한
• Oracle database engine에서의 DBA Role은 모든 관리 권한을 갖음
• Limited DBA role
• Alter database
• Alter system
• Create any directory
• Drop any directory
• Grant any privilege
• Grant any role
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS로의 Migration – Oracle RAC
RAC on EC2 - FlashGrid Node for Oracle RAC Oracle RAC on VMware Cloud on AWS
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Migration – Database Freedom
• Oracle to Aurora
• Aurora postgresql and Aurora mysql
• DMS and SCT( C++, C#, Java 또는 다른 애플리케이션 코드에서 소스
데이터베이스 스키마와 SQL 변환)
• DMGD(Database Migration Global Delivery) <-> Korea Partner
• DynamoDB
• RDS
• NoSQL
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
SQL Sever versions and EoS
https://support.microsoft.com/ko-kr/lifecycle/search?alpha=sql%20server%202008
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
SQL Server가 제공하는 고가용성 기능
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
SQL Server 고가용성 구성 - Mirroring
• 동기식(Synchronous) 데이터 복제 – 자동 Failover ( Witness 필요)
• 동기식(Synchronous) 데이터 복제 – 수동 Failover
• 비동기식(Asynchronous) 데이터 복제 – 수동 Failover, 성능
Primary Server
Secondary Server
Witness
Instance
Mirror
DB
Mirror
DB
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
SQL Server 고가용성 구성 - 클러스터링
• Windows Server Failover cluster
• Windows Active Directory
• SAN Storage
• Networks( Public, Internal )
• Quorum
• SQL Server(Active/Standby)
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
SQL Server 고가용성 구성 - AlwaysOn
• Shared Disk가 필요없음
• SQL Server가 클러스터 리소스로 등록 되지 않음
• 클러스터 리소스로 AlwaysOn listener 가 등록됨
• Primary Node – Write/Read
• Secondary - Read
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
SQL Sever AlwaysON on AWS(EC2)
• AWS directory Service
• Windows Failover Cluster
• SQL Server on Multi AZ
 Multi Subnet
• Network(IP)
 Multi Private IPs
• Quorum : FileShare Quorum
• Storage
 NVMe - Game
 EBS – Enterprise App
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
RDS SQL Server - HA
• Mirroring
 SQL Server 2012, 2014, 2016 (Standard Edition, Enterprise Edition)
 SQL Server 2017, 2019 ( Standard Edition )
• AlwaysON Availability Groups
 SQL Server 2017 Enterprise edition, CU13_hotfix(14.00.3049.1) 이상 Default
• Migrating from Database Mirroring to AlwaysOn Availability Groups
 SQL Server 2016 EE - 13.00.5216.0 이상 Patch
 SQL Server 2017 EE - 14.00.3049.1 이상 Patch
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Migration 전략 – SQL Sever
• RDS SQL Server
 Support restore for SQL Server Full Backup, Differential Backup, Transaction Log Backup
 DMS
• SQL Server on EC2
• Aurora
 DMS and SCT
 Database Migration Playbook
 Mysql : https://d1.awsstatic.com/asset-
repository/RDS%20Data%20Migration/SQL%20Server%20to%20Aurora%20MySQL%20
Migration%20Playbook.pdf
 Postgresql: https://d1.awsstatic.com/asset-
repository/products/AWS%20Database%20Migration%20Service/SQL%20Server%20to
%20Aurora%20PostgreSQL%20Migration%20Playbook%201.0%20Preliminary.pdf
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Connection 관리 – Aurora
• Cluster endpoint: Read/Write
가능한 Master
• Reader endpoint: Read only
connection
• Custom endpoint
• Instance endpoint
AZ 1 AZ 2 AZ 3
SHARED CLUSTER STORAGE VOLUME
Writer
Transactions
Caching
SQL
Reader
Transactions
Caching
SQL
Reader
Transactions
Caching
SQL
Cluster
Endpoint
Reader
Endpoint
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Failover 시 Application 영향 - Aurora
• 이슈: Aurora 는 20초 이내에 Failover 되었지만 Application에서
2분동안 접속되지 않음
• 원인: 데이터베이스가 Failover 됐음에도 WAS에서 관리되고 있는
Connection Pool의 Timeout 또는 Client 의 DNS Cache로 인한 문제
• 해결 방법:
 RDS Proxy
 Application에서 Connection 모니터링 및 관리
 Application DNS Cache 관리 ( ex, JVM: networkaddress.cache.ttl=5 )
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Aurora Multi-Master – mysql 5.6
• Write 분산
 Connection 관리는 Application에서
진행
• Write – 장애시
 Application 에서 Connection 재 분배
• Application 역할
 Connection 관리
 동시에 같은 Page에 Write시 후순위
Transaction 실패
 Write Operation에 대해서 Retry Logic
추가 필요
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Aurora Global Database - Internal Architecture
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Aurora Global Database
• Faster disaster recovery and enhanced data locality
High throughput:
Low replica lag:
Fast recovery:
multiple
in-place conversion
Oregon
M R R
StorageR R
Storage
Ohio
R R
Storage
R R
Storage
Northern Virginia
Ireland
(secondary region)
(secondary region)
(secondary region)
(primary region)
Inboundreplication
InboundreplicationInboundreplication
Outbound replication
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Connection Pooling with RDS Proxy
• Database에 대한 Connection을 줄임
• 여러 클라이언트들의 Request를 처리
• 세션 상태를 감지하고 클라이언트들은 Database 단으로 connection을 고정시킴
App
DB ClusterRDSProxy
App
App
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Minimize Failover Disruption with RDS Proxy
• Idle application connections은 proxy에 의해 관리됨
• Failover 되는 동안 트랜잭션을 처리중인 Active connections은 오류가 발생하기 때문에
클라이언트 쪽에서 error handling이 필요
• Failover되는 동안 새로운 Request는 Proxy에 의해 Queue에 저장됨
• Faster failure recovery, bypassing DNS (up to 66% faster)
Client
RDSProxy
Client
Client
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Migration Playbooks
AWS Migration Playbook - Best Practices
• Oracle to Aurora PostgreSQL – available
• SQL Server to Aurora MySQL – available
• SQL Server to Aurora PostgreSQL – available
• Oracle to Aurora MySQL – Q2
SCT DMS Playbook
Schema Data Best Practices
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
더 나은 세미나를 위해
여러분의 의견을 남겨주세요!
▶ 질문에 대한 답변 드립니다.
▶ 발표자료/녹화영상은 추후 별도로
전달 드릴 예정입니다.
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.

More Related Content

PDF
IDC 서버 몽땅 AWS로 이전하기 위한 5가지 방법 - 윤석찬 (AWS 테크에반젤리스트)
PDF
아마존 웹 서비스 상에서 MS SQL 100% 활용하기::김석원::AWS Summit Seoul 2018
PDF
세션 3: IT 담당자를 위한 Cloud 로의 전환
PDF
AWS Summit Seoul 2023 | 오픈소스 데이터베이스로 탈 오라클! Why not?
PDF
20200722 AWS Black Belt Online Seminar AWSアカウント シングルサインオンの設計と運用
PDF
실시간 스트리밍 분석 Kinesis Data Analytics Deep Dive
PDF
パッケージソフトウェアを簡単にSaaS化!?既存の資産を使ったSaaS化手法のご紹介
PDF
20210127 AWS Black Belt Online Seminar Amazon Redshift 運用管理
IDC 서버 몽땅 AWS로 이전하기 위한 5가지 방법 - 윤석찬 (AWS 테크에반젤리스트)
아마존 웹 서비스 상에서 MS SQL 100% 활용하기::김석원::AWS Summit Seoul 2018
세션 3: IT 담당자를 위한 Cloud 로의 전환
AWS Summit Seoul 2023 | 오픈소스 데이터베이스로 탈 오라클! Why not?
20200722 AWS Black Belt Online Seminar AWSアカウント シングルサインオンの設計と運用
실시간 스트리밍 분석 Kinesis Data Analytics Deep Dive
パッケージソフトウェアを簡単にSaaS化!?既存の資産を使ったSaaS化手法のご紹介
20210127 AWS Black Belt Online Seminar Amazon Redshift 運用管理

What's hot (20)

PDF
AWS Black Belt Online Seminar 2017 AWS WAF
PDF
20201118 AWS Black Belt Online Seminar 形で考えるサーバーレス設計 サーバーレスユースケースパターン解説
PDF
20210216 AWS Black Belt Online Seminar AWS Database Migration Service
PDF
20201028 AWS Black Belt Online Seminar Amazon CloudFront deep dive
PDF
20190821 AWS Black Belt Online Seminar AWS AppSync
PDF
AWS Summit Seoul 2023 | 삼성전자/쿠팡의 대규모 트래픽 처리를 위한 클라우드 네이티브 데이터베이스 활용
PDF
AWS 고객이 주로 겪는 운영 이슈에 대한 해법-AWS Summit Seoul 2017
PDF
AWS기반 서버리스 데이터레이크 구축하기 - 김진웅 (SK C&C) :: AWS Community Day 2020
PDF
AWS Black Belt Techシリーズ Amazon VPC
PDF
SaaS テナント毎のコストを把握するための「AWS Application Cost Profiler」のご紹介
PDF
AWS 클라우드 서비스 소개 및 사례 (방희란) - AWS 101 세미나
PDF
아마존웹서비스와 함께하는 클라우드 비용 최적화 전략 - 윤석찬 (AWS 코리아 테크에반젤리스트)
PDF
AWS Summit Seoul 2023 | 천만 사용자를 위한 카카오의 AWS Native 글로벌 채팅 서비스
PDF
AWS EC2 Eメール制限解除 - 逆引き(rDNS)設定 申請手順
PDF
AWS를 활용한 리테일,이커머스 워크로드와 온라인 서비스 이관 사례::이동열, 임혁용:: AWS Summit Seoul 2018
PDF
금융 X 하이브리드 클라우드 플랫폼 - 한화생명 디지털 트랜스포메이션 전략 - 김나영 AWS 금융부문 사업개발 담당 / 박인규 AWS 금융...
PDF
20200218 AWS Black Belt Online Seminar Next Generation Redshift
PDF
AWS Summit Seoul 2015 -CloudFront와 Route53 기반 콘텐츠 배포 전략 (GS네오텍-박정수)
PDF
20191127 AWS Black Belt Online Seminar Amazon CloudWatch Container Insights で...
PDF
AWS Summit Seoul 2023 | 서버리스, 이제는 데이터 분석에서 활용해요!
AWS Black Belt Online Seminar 2017 AWS WAF
20201118 AWS Black Belt Online Seminar 形で考えるサーバーレス設計 サーバーレスユースケースパターン解説
20210216 AWS Black Belt Online Seminar AWS Database Migration Service
20201028 AWS Black Belt Online Seminar Amazon CloudFront deep dive
20190821 AWS Black Belt Online Seminar AWS AppSync
AWS Summit Seoul 2023 | 삼성전자/쿠팡의 대규모 트래픽 처리를 위한 클라우드 네이티브 데이터베이스 활용
AWS 고객이 주로 겪는 운영 이슈에 대한 해법-AWS Summit Seoul 2017
AWS기반 서버리스 데이터레이크 구축하기 - 김진웅 (SK C&C) :: AWS Community Day 2020
AWS Black Belt Techシリーズ Amazon VPC
SaaS テナント毎のコストを把握するための「AWS Application Cost Profiler」のご紹介
AWS 클라우드 서비스 소개 및 사례 (방희란) - AWS 101 세미나
아마존웹서비스와 함께하는 클라우드 비용 최적화 전략 - 윤석찬 (AWS 코리아 테크에반젤리스트)
AWS Summit Seoul 2023 | 천만 사용자를 위한 카카오의 AWS Native 글로벌 채팅 서비스
AWS EC2 Eメール制限解除 - 逆引き(rDNS)設定 申請手順
AWS를 활용한 리테일,이커머스 워크로드와 온라인 서비스 이관 사례::이동열, 임혁용:: AWS Summit Seoul 2018
금융 X 하이브리드 클라우드 플랫폼 - 한화생명 디지털 트랜스포메이션 전략 - 김나영 AWS 금융부문 사업개발 담당 / 박인규 AWS 금융...
20200218 AWS Black Belt Online Seminar Next Generation Redshift
AWS Summit Seoul 2015 -CloudFront와 Route53 기반 콘텐츠 배포 전략 (GS네오텍-박정수)
20191127 AWS Black Belt Online Seminar Amazon CloudWatch Container Insights で...
AWS Summit Seoul 2023 | 서버리스, 이제는 데이터 분석에서 활용해요!
Ad

Similar to 클라우드 환경으로 데이터베이스 이전하기 - 강민석, AWS SR. Database SA (20)

PPTX
강의 4. 데이터베이스:: AWSome Day Online Conference
PDF
[2017 Windows on AWS] AWS 를 활용한 SQL Server 최적 활용 방안
PDF
빠르고 안전하게 간편한 AWS로 데이터 마이그레이션 하기::최유정 (AWS 솔루션즈아키텍트)
PDF
[Games on AWS 2019] AWS 입문자를 위한 초단기 레벨업 트랙 | AWS 레벨업 하기! : 데이터베이스 - 박주연 AWS 솔...
PDF
워크로드에 맞는 데이터베이스 찾기 - 박주연 솔루션즈 아키텍트, AWS :: AWS Summit Seoul 2019
PDF
나에게 맞는 AWS 데이터베이스 서비스 선택하기 :: 양승도 :: AWS Summit Seoul 2016
PPTX
10월 웨비나 - AWS 상에서 Microsoft SQL Server 운영의 모범 사례 살펴보기 (최정욱 솔루션즈 아키텍트)
PPTX
AWS 6월 웨비나 | AWS에서 MS SQL 서버 운영하기 (김민성 솔루션즈아키텍트)
PDF
Amazon RDS 서비스 활용하기 - 신규 기능 중심으로 (윤석찬) :: AWS 월간 웨비나
PDF
윈도우 서버가 아닌 곳에서 SQL Server를 만나다! - 박주연 :: AWS Database Modernization Day 온라인
PDF
클라우드 기반 AWS 데이터베이스 선택 옵션 - AWS Summit Seoul 2017
PDF
SK Telecom - 망관리 프로젝트 TANGO의 오픈소스 데이터베이스 전환 여정 - 발표자 : 박승전, Project Manager, ...
PDF
AWS DMS를 통한 오라클 DB 마이그레이션 방법 - AWS Summit Seoul 2017
PDF
넥슨 글로벌 플랫폼 구축 이야기 : DB Migration case study (임현수 플랫폼인프라실 Technical Manager, 넥...
PDF
Amazon RDS 살펴보기 (김용우) - AWS 웨비나 시리즈
PDF
여러분의 워크로드에 적합한 AWS 데이터베이스로 손쉽게 마이그레이션하기 - 최유정 (AWS 솔루션즈 아키텍트)
PDF
AWS Summit Seoul 2023 | 성공적인 AWS RDS 마이그레이션을 위한 여정과 필수 고려사항
PDF
2017 Ad-Tech on AWS 세미나ㅣAWS에서의 빅데이터와 분석
PDF
Oracle DB를 AWS로 이관하는 방법들 - 서호석 클라우드 사업부/컨설팅팀 이사, 영우디지탈 :: AWS Summit Seoul 2021
PDF
AWS 9월 웨비나 | AWS 데이터베이스 마이그레이션 서비스 활용하기
강의 4. 데이터베이스:: AWSome Day Online Conference
[2017 Windows on AWS] AWS 를 활용한 SQL Server 최적 활용 방안
빠르고 안전하게 간편한 AWS로 데이터 마이그레이션 하기::최유정 (AWS 솔루션즈아키텍트)
[Games on AWS 2019] AWS 입문자를 위한 초단기 레벨업 트랙 | AWS 레벨업 하기! : 데이터베이스 - 박주연 AWS 솔...
워크로드에 맞는 데이터베이스 찾기 - 박주연 솔루션즈 아키텍트, AWS :: AWS Summit Seoul 2019
나에게 맞는 AWS 데이터베이스 서비스 선택하기 :: 양승도 :: AWS Summit Seoul 2016
10월 웨비나 - AWS 상에서 Microsoft SQL Server 운영의 모범 사례 살펴보기 (최정욱 솔루션즈 아키텍트)
AWS 6월 웨비나 | AWS에서 MS SQL 서버 운영하기 (김민성 솔루션즈아키텍트)
Amazon RDS 서비스 활용하기 - 신규 기능 중심으로 (윤석찬) :: AWS 월간 웨비나
윈도우 서버가 아닌 곳에서 SQL Server를 만나다! - 박주연 :: AWS Database Modernization Day 온라인
클라우드 기반 AWS 데이터베이스 선택 옵션 - AWS Summit Seoul 2017
SK Telecom - 망관리 프로젝트 TANGO의 오픈소스 데이터베이스 전환 여정 - 발표자 : 박승전, Project Manager, ...
AWS DMS를 통한 오라클 DB 마이그레이션 방법 - AWS Summit Seoul 2017
넥슨 글로벌 플랫폼 구축 이야기 : DB Migration case study (임현수 플랫폼인프라실 Technical Manager, 넥...
Amazon RDS 살펴보기 (김용우) - AWS 웨비나 시리즈
여러분의 워크로드에 적합한 AWS 데이터베이스로 손쉽게 마이그레이션하기 - 최유정 (AWS 솔루션즈 아키텍트)
AWS Summit Seoul 2023 | 성공적인 AWS RDS 마이그레이션을 위한 여정과 필수 고려사항
2017 Ad-Tech on AWS 세미나ㅣAWS에서의 빅데이터와 분석
Oracle DB를 AWS로 이관하는 방법들 - 서호석 클라우드 사업부/컨설팅팀 이사, 영우디지탈 :: AWS Summit Seoul 2021
AWS 9월 웨비나 | AWS 데이터베이스 마이그레이션 서비스 활용하기
Ad

More from Amazon Web Services Korea (20)

PDF
[D3T1S01] Gen AI를 위한 Amazon Aurora 활용 사례 방법
PDF
[D3T1S06] Neptune Analytics with Vector Similarity Search
PDF
[D3T1S03] Amazon DynamoDB design puzzlers
PDF
[D3T1S04] Aurora PostgreSQL performance monitoring and troubleshooting by use...
PDF
[D3T1S07] AWS S3 - 클라우드 환경에서 데이터베이스 보호하기
PDF
[D3T1S05] Aurora 혼합 구성 아키텍처를 사용하여 예상치 못한 트래픽 급증 대응하기
PDF
[D3T1S02] Aurora Limitless Database Introduction
PDF
[D3T2S01] Amazon Aurora MySQL 메이저 버전 업그레이드 및 Amazon B/G Deployments 실습
PDF
[D3T2S03] Data&AI Roadshow 2024 - Amazon DocumentDB 실습
PDF
AWS Modern Infra with Storage Roadshow 2023 - Day 2
PDF
AWS Modern Infra with Storage Roadshow 2023 - Day 1
PDF
사례로 알아보는 Database Migration Service : 데이터베이스 및 데이터 이관, 통합, 분리, 분석의 도구 - 발표자: ...
PDF
Amazon DocumentDB - Architecture 및 Best Practice (Level 200) - 발표자: 장동훈, Sr. ...
PDF
Amazon Elasticache - Fully managed, Redis & Memcached Compatible Service (Lev...
PDF
Internal Architecture of Amazon Aurora (Level 400) - 발표자: 정달영, APAC RDS Speci...
PDF
[Keynote] 슬기로운 AWS 데이터베이스 선택하기 - 발표자: 강민석, Korea Database SA Manager, WWSO, A...
PDF
Demystify Streaming on AWS - 발표자: 이종혁, Sr Analytics Specialist, WWSO, AWS :::...
PDF
Amazon EMR - Enhancements on Cost/Performance, Serverless - 발표자: 김기영, Sr Anal...
PDF
Amazon OpenSearch - Use Cases, Security/Observability, Serverless and Enhance...
PDF
Enabling Agility with Data Governance - 발표자: 김성연, Analytics Specialist, WWSO,...
[D3T1S01] Gen AI를 위한 Amazon Aurora 활용 사례 방법
[D3T1S06] Neptune Analytics with Vector Similarity Search
[D3T1S03] Amazon DynamoDB design puzzlers
[D3T1S04] Aurora PostgreSQL performance monitoring and troubleshooting by use...
[D3T1S07] AWS S3 - 클라우드 환경에서 데이터베이스 보호하기
[D3T1S05] Aurora 혼합 구성 아키텍처를 사용하여 예상치 못한 트래픽 급증 대응하기
[D3T1S02] Aurora Limitless Database Introduction
[D3T2S01] Amazon Aurora MySQL 메이저 버전 업그레이드 및 Amazon B/G Deployments 실습
[D3T2S03] Data&AI Roadshow 2024 - Amazon DocumentDB 실습
AWS Modern Infra with Storage Roadshow 2023 - Day 2
AWS Modern Infra with Storage Roadshow 2023 - Day 1
사례로 알아보는 Database Migration Service : 데이터베이스 및 데이터 이관, 통합, 분리, 분석의 도구 - 발표자: ...
Amazon DocumentDB - Architecture 및 Best Practice (Level 200) - 발표자: 장동훈, Sr. ...
Amazon Elasticache - Fully managed, Redis & Memcached Compatible Service (Lev...
Internal Architecture of Amazon Aurora (Level 400) - 발표자: 정달영, APAC RDS Speci...
[Keynote] 슬기로운 AWS 데이터베이스 선택하기 - 발표자: 강민석, Korea Database SA Manager, WWSO, A...
Demystify Streaming on AWS - 발표자: 이종혁, Sr Analytics Specialist, WWSO, AWS :::...
Amazon EMR - Enhancements on Cost/Performance, Serverless - 발표자: 김기영, Sr Anal...
Amazon OpenSearch - Use Cases, Security/Observability, Serverless and Enhance...
Enabling Agility with Data Governance - 발표자: 김성연, Analytics Specialist, WWSO,...

클라우드 환경으로 데이터베이스 이전하기 - 강민석, AWS SR. Database SA

  • 2. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. AWS의 관리형 데이터베이스 서비스 강민석 Sr. Database Specialist SA
  • 3. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. 강연 중 질문하는 방법 Go to Webinar “Chat/채팅” 창에 자신이 질문한 내역이 표시됩니다. 기본적으로 모든 질문은 공개로 답변 됩니다만 본인만 답변을 받고 싶으면 (비공개)라고 하고 질문해 주시면 됩니다. 본 컨텐츠는 고객의 편의를 위해 AWS 서비스 설명을 위해 온라인 세미나용으로 별도로 제작, 제공된 것입니다. 만약 AWS 사이트와 컨텐츠 상에서 차이나 불일치가 있을 경우, AWS 사이트(aws.amazon.com)가 우선합니다. 또한 AWS 사이트 상에서 한글 번역문과 영어 원문에 차이나 불일치가 있을 경우(번역의 지체로 인한 경우 등 포함), 영어 원문이 우선합니다. AWS는 본 컨텐츠에 포함되거나 컨텐츠를 통하여 고객에게 제공된 일체의 정보, 콘텐츠, 자료, 제품(소프트웨어 포함) 또는 서비스를 이용함으로 인하여 발생하는 여하한 종류의 손해에 대하여 어떠한 책임도 지지 아니하며, 이는 직접 손해, 간접 손해, 부수적 손해, 징벌적 손해 및 결과적 손해를 포함하되 이에 한정되지 아니합니다. 고지 사항(Disclaimer)
  • 4. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Agenda • Database Migration • DB 운영의 차이(On-Premise vs Cloud) • Oracle migration 전략 • Microsoft SQL Server Migration 전략 • 클라우드 환경에서 DB 운영(DevOps와 AWS RDS)
  • 5. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 6. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. 클라우드 마이그레이션 - Modernization DatabaseApplication Infra system
  • 7. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Database migration 방법론의 이해 Migration 방법론, 고정 관념 탈피 필요 Lift & Shift (DB on EC2) Managed Service (RDS) Modernization (Database Freedom) 장점 • 짧은 이행 기간 • Application 변경 최소 • 직관적 이해 • 비교적 짧은 이행 기간 • Cloud 장점 활용 가능 • License 문제 단순화 • Agility 확보 • Cloud 장점 극대화 • 운영 리스크 분산 • License비용 절감 단점 • DB 유지 비용 비효율 • 관리 리스크 증가 • 운영 비용 증가 • Cloud 이행 효용 저하 • Application 일부 변경 • Monolithic 구조 유지 • Application 구조 변경 • 긴 이행 기간 • Project 비용 증가
  • 8. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Data Platform portfolio Redshift Data warehousing EMR Hadoop + Spark Athena Interactive analytics Kinesis Data Analytics Real time Elasticsearch Service Operational Analytics RDS MySQL, PostgreSQL, MariaDB, Oracle, SQL Server Aurora MySQL, PostgreSQL QuickSight SageMaker DynamoDB Key value ElastiCache Redis, Memcached Neptune Graph Timestream Time Series QLDB Ledger Database S3/Glacier Glue ETL & Data Catalog Lake Formation Data Lakes Database Migration Service | Snowball | Snowmobile | Kinesis Data Firehose | Kinesis Data Streams Data Movement Analytics Databases Database, Business Intelligence & Machine Learning Data Lake Managed Blockchain Blockchain Templates Blockchain RDS on VMware DocumentDB Document
  • 9. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. 데이터베이스 서비스 데이터베이스 유형 AWS 서비스 사용 사례 관계형DB Amazon Aurora, Amazon RDS(5), Amazon Redshift 기존 애플리케이션, ERP, CRM, 전자 상거래 Key-Value Amazon DynamoDB 높은 트래픽 처리를 위한 전자 상거래 시스템, 게임 In Memory Amazon ElastiCache for Memcached Amazon ElastiCache for Redis 캐싱, 세션 관리, 게임 순위표 애플리케이션 문서 Amazon DocumentDB (MongoDB 호환) 콘텐츠 관리, 카탈로그, 사용자 프로필 와이드 컬럼 Amazon Keyspace(for Cassandra) 장비 관리를 위한 대규모 산업용 앱 그래프 Amazon Neptune 부정 탐지, 소셜 네트워킹, 추천 엔진 시계열 Amazon Timestream IoT 애플리케이션, DevOps, 산업용 텔레메트리 원장 Amazon QLDB 레코드 시스템, 공급망, 등록, 은행 거래
  • 10. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Database Freedom 소개 Database Freedom 정의 • 상업용 데이터베이스로부터 Cloud Native Database로 변경 RDS MySQL, PostgreSQL, MariaDB, Oracle, SQL Server Aurora MySQL, PostgreSQL DynamoDB Key value ElastiCache Redis, Memcached Neptune Graph QLDB Ledger Database Cloud Native Databases DocumentDB Document Timestream Time Series AWS SCT AWS DMS Migration
  • 11. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Database Freedom 소개 Database 마이그레이션 절차 EC2 On premises AWS Native DB Migration Move to Managed Migrate Move to Managed Modernize 0% Modernize* Modernize* Move to Managed Modernize* AWS Managed DB (ex: RDS)
  • 12. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 13. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. On-premises에서 데이터베이스 운용 Power, HVAC, net Rack & stack Server maintenance OS patches DB s/w patches Database backups Scaling High availability DB s/w installs OS installation App optimization Customer
  • 14. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon EC2에서 데이터베이스 운영 Power, HVAC, net Rack & stack Server maintenance OS patches DB s/w patches Database backups Scaling High availability DB s/w installs OS installationApp optimization Customer
  • 15. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon RDS Power, HVAC, net Rack & stack Server maintenance OS patches DB s/w patches Database backups App optimization High availability DB s/w installs OS installation Scaling Customer • Schema design • Query construction • Query optimization
  • 16. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. 올바른 의사결정을 위한 추천  관리형 서비스인 Amazon RDS를 권장  고객의 Business에 집중  어플리케이션의 최적화에 집중  사내에 전문 데이터베이스 인력 부족 Amazon RDS DBMS on Amazon EC2  DB 인스턴스에 대한 Full control 권한을 가짐  backups, replication and clustering  Amazon RDS에서 제약되는 기능 및 옵션 사용  RDS의 범위를 넘어서는 용량 및 성능 필요 Expert DBA ?
  • 17. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 18. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Oracle Release and EOS 지원 RDS Oracle • Oracle 19c, 버전 19.0.0.0 • Oracle 18c, 버전 18.0.0.0 • Oracle 12c, 버전 12.2.0.1 • Oracle 12c, 버전 12.1.0.2 • Oracle 11g, 버전 11.2.0.4 운영 중단 예정 RDS Oracle • Oracle 12c, 버전 12.1.0.1 • Oracle 11g, 버전 11.2.0.3 • Oracle 11g, 버전 11.2.0.2
  • 19. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. RDS Oracle on AWS SE1 SE SE2 12.1.0.2 이상 사용 불가 12.1.0.2 이상 사용 불가 12g 이상 사용 가능 X O O 라이선스 PL 2 Sockets 4 Sockets 2 Sockets, 16 CPU Threads 제약조건 NUP 5 NUP 10 NUP 10 NUP - PL: Processor License, NUP: Named User Plus 구분 릴리스 버전 RAC Oracle License on AWS SE1 SE SE2 EE License Included O X O X BYOL O O O O License type RDS Oracle Support License Included AWS Enterprise Support 가 있는 경우 AWS Support 팀 Oracle Database 이슈 - Oracle 문의 AWS Enterprise Support 가 있는 경우 Oracle RDS 관련 이슈는 AWS Support 팀 BYOL EE
  • 20. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Oracle에서의 고가용성(HA) Stand alone Clustering High Availability(DR)
  • 21. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Oracle RAC(Real Application Cluster)란? • Oracle 9i 부터 지원(2001) • 클러스터링 • 고가용성 • 장점 • 엔터프라이즈 고객의 표준 • 안정성 및 확장성 제공 • 단점 • 비용 • 그래도 장애는 발생 Single Point Failure
  • 22. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. AWS로의 Migration – RDS Oracle • 장점 • Oracle과 같은 엔진을 사용하기 때문에 변경 작업 필요 없음 • AWS: HW, Setup, Patch, Backup • Customer: Application Optimization • 단점 : RAC 지원 하지 않음, DBA 권한 제한 • Oracle database engine에서의 DBA Role은 모든 관리 권한을 갖음 • Limited DBA role • Alter database • Alter system • Create any directory • Drop any directory • Grant any privilege • Grant any role
  • 23. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. AWS로의 Migration – Oracle RAC RAC on EC2 - FlashGrid Node for Oracle RAC Oracle RAC on VMware Cloud on AWS
  • 24. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Migration – Database Freedom • Oracle to Aurora • Aurora postgresql and Aurora mysql • DMS and SCT( C++, C#, Java 또는 다른 애플리케이션 코드에서 소스 데이터베이스 스키마와 SQL 변환) • DMGD(Database Migration Global Delivery) <-> Korea Partner • DynamoDB • RDS • NoSQL
  • 25. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 26. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. SQL Sever versions and EoS https://support.microsoft.com/ko-kr/lifecycle/search?alpha=sql%20server%202008
  • 27. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. SQL Server가 제공하는 고가용성 기능
  • 28. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. SQL Server 고가용성 구성 - Mirroring • 동기식(Synchronous) 데이터 복제 – 자동 Failover ( Witness 필요) • 동기식(Synchronous) 데이터 복제 – 수동 Failover • 비동기식(Asynchronous) 데이터 복제 – 수동 Failover, 성능 Primary Server Secondary Server Witness Instance Mirror DB Mirror DB
  • 29. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. SQL Server 고가용성 구성 - 클러스터링 • Windows Server Failover cluster • Windows Active Directory • SAN Storage • Networks( Public, Internal ) • Quorum • SQL Server(Active/Standby)
  • 30. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. SQL Server 고가용성 구성 - AlwaysOn • Shared Disk가 필요없음 • SQL Server가 클러스터 리소스로 등록 되지 않음 • 클러스터 리소스로 AlwaysOn listener 가 등록됨 • Primary Node – Write/Read • Secondary - Read
  • 31. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. SQL Sever AlwaysON on AWS(EC2) • AWS directory Service • Windows Failover Cluster • SQL Server on Multi AZ  Multi Subnet • Network(IP)  Multi Private IPs • Quorum : FileShare Quorum • Storage  NVMe - Game  EBS – Enterprise App
  • 32. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. RDS SQL Server - HA • Mirroring  SQL Server 2012, 2014, 2016 (Standard Edition, Enterprise Edition)  SQL Server 2017, 2019 ( Standard Edition ) • AlwaysON Availability Groups  SQL Server 2017 Enterprise edition, CU13_hotfix(14.00.3049.1) 이상 Default • Migrating from Database Mirroring to AlwaysOn Availability Groups  SQL Server 2016 EE - 13.00.5216.0 이상 Patch  SQL Server 2017 EE - 14.00.3049.1 이상 Patch
  • 33. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Migration 전략 – SQL Sever • RDS SQL Server  Support restore for SQL Server Full Backup, Differential Backup, Transaction Log Backup  DMS • SQL Server on EC2 • Aurora  DMS and SCT  Database Migration Playbook  Mysql : https://d1.awsstatic.com/asset- repository/RDS%20Data%20Migration/SQL%20Server%20to%20Aurora%20MySQL%20 Migration%20Playbook.pdf  Postgresql: https://d1.awsstatic.com/asset- repository/products/AWS%20Database%20Migration%20Service/SQL%20Server%20to %20Aurora%20PostgreSQL%20Migration%20Playbook%201.0%20Preliminary.pdf
  • 34. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 35. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Connection 관리 – Aurora • Cluster endpoint: Read/Write 가능한 Master • Reader endpoint: Read only connection • Custom endpoint • Instance endpoint AZ 1 AZ 2 AZ 3 SHARED CLUSTER STORAGE VOLUME Writer Transactions Caching SQL Reader Transactions Caching SQL Reader Transactions Caching SQL Cluster Endpoint Reader Endpoint
  • 36. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Failover 시 Application 영향 - Aurora • 이슈: Aurora 는 20초 이내에 Failover 되었지만 Application에서 2분동안 접속되지 않음 • 원인: 데이터베이스가 Failover 됐음에도 WAS에서 관리되고 있는 Connection Pool의 Timeout 또는 Client 의 DNS Cache로 인한 문제 • 해결 방법:  RDS Proxy  Application에서 Connection 모니터링 및 관리  Application DNS Cache 관리 ( ex, JVM: networkaddress.cache.ttl=5 )
  • 37. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Aurora Multi-Master – mysql 5.6 • Write 분산  Connection 관리는 Application에서 진행 • Write – 장애시  Application 에서 Connection 재 분배 • Application 역할  Connection 관리  동시에 같은 Page에 Write시 후순위 Transaction 실패  Write Operation에 대해서 Retry Logic 추가 필요
  • 38. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Aurora Global Database - Internal Architecture
  • 39. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Aurora Global Database • Faster disaster recovery and enhanced data locality High throughput: Low replica lag: Fast recovery: multiple in-place conversion Oregon M R R StorageR R Storage Ohio R R Storage R R Storage Northern Virginia Ireland (secondary region) (secondary region) (secondary region) (primary region) Inboundreplication InboundreplicationInboundreplication Outbound replication
  • 40. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Connection Pooling with RDS Proxy • Database에 대한 Connection을 줄임 • 여러 클라이언트들의 Request를 처리 • 세션 상태를 감지하고 클라이언트들은 Database 단으로 connection을 고정시킴 App DB ClusterRDSProxy App App
  • 41. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Minimize Failover Disruption with RDS Proxy • Idle application connections은 proxy에 의해 관리됨 • Failover 되는 동안 트랜잭션을 처리중인 Active connections은 오류가 발생하기 때문에 클라이언트 쪽에서 error handling이 필요 • Failover되는 동안 새로운 Request는 Proxy에 의해 Queue에 저장됨 • Faster failure recovery, bypassing DNS (up to 66% faster) Client RDSProxy Client Client
  • 42. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. AWS Migration Playbooks AWS Migration Playbook - Best Practices • Oracle to Aurora PostgreSQL – available • SQL Server to Aurora MySQL – available • SQL Server to Aurora PostgreSQL – available • Oracle to Aurora MySQL – Q2 SCT DMS Playbook Schema Data Best Practices
  • 43. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. 더 나은 세미나를 위해 여러분의 의견을 남겨주세요! ▶ 질문에 대한 답변 드립니다. ▶ 발표자료/녹화영상은 추후 별도로 전달 드릴 예정입니다.
  • 44. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.