메가존 Hype Up with Megazone 세미나#1 클라우드로 전환하는 길이 보인다!

Preview:

Citation preview

June – 18 – 2015

Amazon Web Services

클라우드 컴퓨팅 서비스 소개- Cloud the New Normal -

메가존㈜최인영 부장

정보관리 기술사

2012년 8월

• Software eats the World !

• Cloud would be like Oxygen

in three years later !

• The winner will take all !

마크 콜리어(Mark Collier) 오픈스택 재단 최고운영책임자(COO)제1회 오픈스택 데이 인 코리아(Openstack Day in Korea)

독보적 선도 사업자, 42번의 가격 인하 혁신, 규모의 경제 실현

2013년 Softlayer 인수, Public Cloud 전략

OpenStack 기반 Helion 출시, Hybrid Cloud 전략

“Mobile First, Cloud First”, 신임 CEO Satya nadella

2014년 브라질 월드컵 경기 승리 국가 예측, 정교한 기술력

Gartner 10대 전략 기술

2011 2012 2013 2014 2015

클라우드 컴퓨팅 미디어 태블릿 그 이후 모바일 대전 다양한 모바일 기기 관리 컴퓨팅 에브리웨어

모바일 앱과 미디어 태블릿

모바일 중심 애플리케이션과 인터페이스

모바일 앱 & HTML5 모바일 앱과 애플리케이션 사물인터넷

소셜 커뮤니케이션 및 협업

상황인식과 소셜 사용자경험

퍼스널 클라우드 만물 인터넷 3D 프린팅

비디오 사물인터넷 사물인터넷하이브리드 클라우드와 서

비스 브로커로서의 IT보편화된 첨단 분석

차세대 분석 앱스토어와 마켓플레이스하이브리드IT & 클라우드

컴퓨팅클라우드/클라이언트 아키

텍처콘텍스터 리치 시스템

소셜 분석 차세대 분석 전략적 빅데이터 퍼스널 클라우드의 시대 스마트 머신

상황인식 컴퓨팅 빅데이터 실용분석 소프트웨어 정의클라우드/클라이언트 컴퓨

스토리지급 메모리 인메모리 컴퓨팅 인메모리 컴퓨팅 웹스케일 ITS/W 정의 애플리케이션과

인프라

유비쿼터스 컴퓨팅 저전력 서버 통합 생태계 스마트 머신 웹스케일 IT

패브릭기반 컴퓨팅 및 인프라스트럭처

클라우드 컴퓨팅 엔터프라이즈 앱스토어 3D 프린팅위험기반 보안과 자기 방

Gartner 10대 전략 기술

2011 2012 2013 2014 2015

클라우드 컴퓨팅 미디어 태블릿 그 이후 모바일 대전 다양한 모바일 기기 관리 컴퓨팅 에브리웨어

모바일 앱과 미디어 태블릿

모바일 중심 애플리케이션과 인터페이스

모바일 앱 & HTML5 모바일 앱과 애플리케이션 사물인터넷

소셜 커뮤니케이션 및 협업

상황인식과 소셜 사용자경험

퍼스널 클라우드 만물 인터넷 3D 프린팅

비디오 사물인터넷 사물인터넷하이브리드 클라우드와 서

비스 브로커로서의 IT보편화된 첨단 분석

차세대 분석 앱스토어와 마켓플레이스하이브리드IT & 클라우드

컴퓨팅클라우드/클라이언트 아키

텍처콘텍스터 리치 시스템

소셜 분석 차세대 분석 전략적 빅데이터 퍼스널 클라우드의 시대 스마트 머신

상황인식 컴퓨팅 빅데이터 실용분석 소프트웨어 정의클라우드/클라이언트 컴퓨

스토리지급 메모리 인메모리 컴퓨팅 인메모리 컴퓨팅 웹스케일 ITS/W 정의 애플리케이션과

인프라

유비쿼터스 컴퓨팅 저전력 서버 통합 생태계 스마트 머신 웹스케일 IT

패브릭기반 컴퓨팅 및 인프라스트럭처

클라우드 컴퓨팅 엔터프라이즈 앱스토어 3D 프린팅위험기반 보안과 자기 방

Gartner 10대 전략 기술

2011 2012 2013 2014 2015

클라우드 컴퓨팅 미디어 태블릿 그 이후 모바일 대전 다양한 모바일 기기 관리 컴퓨팅 에브리웨어

모바일 앱과 미디어 태블릿

모바일 중심 애플리케이션과 인터페이스

모바일 앱 & HTML5 모바일 앱과 애플리케이션 사물인터넷

소셜 커뮤니케이션 및 협업

상황인식과 소셜 사용자경험

퍼스널 클라우드 만물 인터넷 3D 프린팅

비디오 사물인터넷 사물인터넷하이브리드 클라우드와 서

비스 브로커로서의 IT보편화된 첨단 분석

차세대 분석 앱스토어와 마켓플레이스하이브리드IT & 클라우드

컴퓨팅클라우드/클라이언트 아키

텍처콘텍스터 리치 시스템

소셜 분석 차세대 분석 전략적 빅데이터 퍼스널 클라우드의 시대 스마트 머신

상황인식 컴퓨팅 빅데이터 실용분석 소프트웨어 정의클라우드/클라이언트 컴퓨

스토리지급 메모리 인메모리 컴퓨팅 인메모리 컴퓨팅 웹스케일 ITS/W 정의 애플리케이션과

인프라

유비쿼터스 컴퓨팅 저전력 서버 통합 생태계 스마트 머신 웹스케일 IT

패브릭기반 컴퓨팅 및 인프라스트럭처

클라우드 컴퓨팅 엔터프라이즈 앱스토어 3D 프린팅위험기반 보안과 자기 방

AWS IntroductionWhy Are Enterprises Choosing AWS?What Are Enterprises Using AWS For?What’s New at AWS?

Cloud has become

the New Normal

Customers Want to Use The Leading Platform

Most functionality Largest customer & partner community

Longest experience

9

Amazon S3

Amazon SQS

Amazon EC2

Amazon Simple DB

Amazon EBS

Amazon CloudFront

Elastic Load Balancing

Auto Scaling

Amazon VPC

Amazon RDS

Amazon SNS

Amazon IAM

Amazon Route 53

Amazon SES

AWS Elastic Beanstalk

AWS CloudFormation

Amazon Elasticache

AWS Direct Connect

AWS GovCloud

AWS Storage Gateway

Amazon DynamoDB

Amazon CloudSearch

Amazon SWF

Amazon Glacier

Amazon Redshift

AWS Data Pipeline

Amazon Elastic Transcoder

AWS OpsWorks

Amazon CloudHSM

Amazon AppStream

Amazon CloudTrail

Amazon WorkSpaces

Amazon Kinesis

Amazon ECS

Amazon Lambda

Amazon Config

AWS CodeDeploy

Amazon RDS for Aurora

AWS KMS

Amazon Cognito

Amazon WorkDocs

AWS Directory Service

Amazon Mobile Analytics

2006 2007 2008 2009 2010 2011 2012 2013 2014 2015

Amazon WorkMail

AWS’ History of Innovation

AWS has been continually expanding its services to support virtually any cloud workload, and it now has more than 40 services.

April 9, 2015

Amazon EFS

Amazon Machine Learning

2011

82

159

2012

280

2013

516

2014

AWS has launched a total of 1,448 new features and/or services since inception in 2006.

2015

+275*

April 9, 2015

AWS’ Rapid Pace of Innovation

AWS Services in Management Console

2015년 6월

41개의 서비스

AWS Services

More Functionality Than Any Other Infrastructure Provider

AWS Marketplace

Enterprise Applications

Platform as

A Service

Administration & Security

Core Services

Infrastructure

Not Just the Expansive Services…Much Deeper Features

General Purpose (M3)

Compute Optimized (C3)

Memory Optimized (R3)

GPU Optimized (G2)

Storage Optimized (HS1)

IO Optimized (I2)

Low cost, burst-able

performance (T2)

Customer-provided keys

Snapshot sharing

PCI and FedRAMP compliance

Cross-region backup

DataWarehouse

RDS for MySQL

RDS for SQL Server

RDS for Oracle

RDS for PostgreSQL

Relational Databases

Glacier

EBS

Magnetic

General Purpose SSD

PIOPS SSD

StorageCompute

AWS Global Infrastructure

Region

Edge Location

11 Regions

29 Availability Zones

53 Edge Locations

AWS Regions

11 Regions

29 Availability Zones

• 미국 서부(오레곤, 캘리포니아)

• AWS GovCloud

• 미국 동부(버지니아)

• 남아메리카(상파울루)

• EU(더블린, 프랑크푸르트)

• 아시아 태평양(싱가포르, 시드니, 도쿄)

• 중국(베이징)

53 Edge Locations

AWS Edge Locations

Gartner “Magic Quadrant for Cloud Infrastructure as a Service, Worldwide,” Lydia Leong, Douglas Toombs, Bob Gill, May 18, 2015. This Magic Quadrant graphic was published by Gartner, Inc. as part of a larger research note and should be evaluated in the context of the entire report. The Gartner report is available at http://aws.amazon.com/resources/analyst-reports/. Gartner does not endorse any vendor, product or service depicted in its research publications, and does not advise technology users to select only those vendors with the highest ratings or other designation. Gartner research publications consist of the opinions of Gartner's research organization and should not be construed as statements of fact. Gartner disclaims all warranties, expressed or implied, with respect to this research, including any warranties of merchantability or fitness for a particular purpose.

2014 2015

AWS named as a leader in the IaaS Magic Quadrant for the 5th consecutive year

• NASA 2012년 8월

• 큐리오시티 착륙

• 인터넷 생중계

• 단 7분

공공기관. 단기간에 많은 서버가 필요하고, 이벤트 이후에는 필요가 없을 때

사례 1. 화성탐사로버 큐리오시티

사례 2. 아모레퍼시픽

• 프랑스, 미국, 중국, 일본 등해외에서 화장품 제조와 판매

• 국내 IDC와 호스팅 서비스로 인프라 운영• 제품 판매 증가에 따른 리소스 사용량 증가

대기업. 급격히 증가하는 글로벌 사용자에 대응하기 위해 AWS를 사용하는 경우

사례 3. 쿠키런

• 4,000만 사용자(전세계)

• 모바일 게임사

• 최소 2개 인스턴스

• 최대 60개 인스턴스

스타트업. 사용자 수를 예측하기 어렵고, 하루 동안 사용량의 변화가 급격할 때

사례 4. 애니모토스타트업. 며칠 만에 사용자 수가 폭증하는 경우

• Animoto.com

• 사진을 동영상으로

만들어주는 서비스

• 평소 40개 인스턴스

• 테크크런치 소개 후 사용자

급격히 증가

• 3일 만에 5,000개 인스턴스

사례 5. NETFLIXIT 대기업. 비즈니스 모델과 제품에 집중하기 위해 AWS를 사용 – All In

• DVD 대여와 스트리밍을 제공

• 미국은 4가구 중 1가구(2012년 기준)

• 미국 인터넷 트래픽의 25%를 차지

• 자체 IDC와 직접 서버 운영 중 AWS로 전환

• Amazon보다 AWS Cloud를 더 잘 사용하는 업체

Trusted by Enterprises Around the World

Used by Government Agencies & Educational Institutions Worldwide

AWS Introduction

Why Are Enterprises Choosing AWS?What Are Enterprises Using AWS For?What’s New at AWS?

Lower Costs with AWS Upfront and Increase Savings as Your Usage Grows

1

No minimum commitments or long-term contracts

required

Replace upfront capital expense with low

variable cost

2

Numerous Price Reductions

Economies of scale have allowed us to consistently

lower costs

3

Pricing model choice to support variable & stable workloads

4

Save more money as you grow bigger

On-demand

Reserved

Spot

Tiered Pricing

Volume Discounts

The AWS Pricing Philosophy

Driven by a virtuous cycle

More AWS customers drive more AWS usage

More AWS usage drives greater infrastructure spend

AWS experiences significant economies of scale

This lowers infrastructure cost

The resulting cost savings is passed on to our customers

Security and Compliance are Becoming Reasons to Move to the Cloud

Architected for Enterprise Security Requirements

Certifications and accreditations for workloads that matter

AWS CloudTrail - AWS API call logging for governance & compliance

Stores data in Amazon S3, or archive to Amazon Glacier

Log and review user activity

AWS Key Management

Service

AWS ConfigAWS Service

Catalog

New Enterprise Security and Compliance Services

AWS Key Management Service

One-click Encryption

Centralized key management (create, delete, view, set policies)

Enforced, automatic key rotation

Visibility into any changes via CloudTrail

Encryption key management and compliance made easy

AWS Config

A new resource dependency and auditing service

The AWS Service Catalog

A service for discovery and provisioning applications in the cloud

Admins can create and share product

portfolios

End-users can launch a product as a stack of AWS

resources

Meet compliance needs by

department, cost code, or globally

Report and auditing via CloudTrail

Speed is not just for Start-upscompanies of all sizes will move faster than ever before

It’s hard to stay competitive

today without the Cloud

In the Old Days…

Spend millions for expensive, inflexible, slow-moving infrastructure that is #FrozenInTime

Old World

• Large upfront capital investment

• Basic compute and storage only

• Responsible for feature upgrades

• Slow to get new capabilities

AWS

• Low, variable cost

• Broad and deep platform

• New features arrive almost every day

• Ready to use

AWS IntroductionWhy Are Enterprises Choosing AWS?

What Are Enterprises Using AWS For?What’s New at AWS?

So, How Are Enterprises Working with the Cloud Today?

Enterprise Adoption Patterns

Development & Testing

Oracle Applications

SAP dev/test

Development & testing of new software products

SAP dev/test

SAP dev/test

Altogether New Applications

Global Deals Engine Online Software Distribution

Creative Cloud

SIM Card Credit

Health Care Diagnostics

Smart HubApplication

Websites & Digital Transformation

Marketing Microsites New Products Sites 1,700 Marketing Websites University Website

Corporate Websites Media & Entertainment Sites WSJ.com Online Magazines

Analytics

Analytics on 450k subscribers using Amazon Redshift

Ad campaign effectiveness analysis platform

Financial Simulations Platform

Large scale clinical data analytic platform

Trading history analyticsImproved drug quality through big data

Financial market analytics

Mobile

Enterprise video creation and sharing app

Mobile services and analytics

Mobile services & streaming

Cloud-connected trucks

Apps for cabin crew staff App store Web and mobile siteStreaming video

Business Critical Production Applications

SAP HANA HR and legal apps National retail bank

Solvency simulations SAP business intelligence SAP business suite

Migrating Datacenters

Migrated 1 Data Center

Migrated 6 of 13 Data Centers

Migrated 1 Data CenterMigrated 1 Data Center

Migrating 34 Data Centers

over the next 3 years

All-in Migrations

Enterprises ISVs

All-In – Netflix

100s of applications

supporting 33M+ global members

10,000s of EC2 instances in multiple

regions & zones

At peak consumes 1/3 of US Internet

bandwidth

Services For Hybrid IT

On premise AWS

Integrated Networking

Integrated Identity

Integrated Management Deployment Backups

Virtual Private Cloud

Direct Connect

Directory Service

Identity Federation

vCenter & System Center

Plugins

AWS Config

AWS CloudTrail

OpsWorks

CodeDeploy

Storage Gateway

Hybrid IT is Part of the Journey,Not the Destination

AWS IntroductionWhy Are Enterprises Choosing AWS?What Are Enterprises Using AWS For?

What’s New at AWS?

Amazon AuroraCommercial-grade Database Engine at Open-source Cost

Amazon Aurora

MySQL compatible

5X better performance than standard MySQL

Available, durable and fault tolerant

Highly scalable and secure

Available through Amazon RDS

Amazon Elastic File SystemA managed service to easily set up and scale shared file storage

The Amazon Elastic File System

A fully managed file system for EC2

Grows to petabyte scale, elastically

SSD-based

Very high throughput and low latency

Highly available and durable

Automatic data replication across AZs (like S3)

Amazon Machine LearningA fully managed machine learning service for developers

Amazon Machine Learning

Easily create machine learning models

Put models into production in seconds

Tried-and-True Technology

The Amazon EC2 Container ServiceA highly scalable, high performance container management service

The Amazon EC2 Container Service

Manage containers at any scale

Launch and terminate containers to clusters of instances on EC2

The Amazon EC2 Container Service

Launch and terminate Docker containers

Across a cluster of EC2 instance

Mount persistent volumes at launch

Private Dockerrepositories

Amazon LambdaAn event-driven computing service for dynamic applications

A Focus on Functions, Data and Events

Events from AWS services Cloud functions Automatic

How Are Customers Using AWS Lambda?

Data triggers IoT Stream processing

Indexing & Synchronization

Server-free

back-end

AWS CodeDeployAWS CodePipelineAWS CodeCommit

AWS CodeDeploy

Push code to any environment on EC2

Automatic, repeatable and fully managed

Reduce risk of downtime due to deployment failures or application errors

A fully managed, high-scale code deployment service

Minimize Downtime with AWS CodeDeploy

Rolling Updates

Deployment Health

Tracking

Stop and Rollback Support

V2

Continuous Integration and Deployment with AWS CodePipeline

Repeatable, automated integration and deployment pipelines

Workflow modeling and visualization

80% of the development teams integrate and deploy this way

Source Code Management with AWS CodeCommit

Manage code repository in the Cloud

Closely located to staging, test, & production environments

No size limits on repositories or files

Try, start with Trusted partner…

Try…

• AWS Free-tier와 No-upfront cost, PoC/Pilot 시작하기

Start small

• Risk가 적고, 규모가 작은 서비스를 대상으로 시작하기

With Trusted Partner

• 신뢰할 수 있는 AWS 파트너와 함께하기

Thank You

A사의 빠른 성공의 숨겨진 비결은?

메가존㈜진건 과장

세일즈kjin@mz.co.kr

Since 2006 ~

OVER 1 MILLION

ACTIVE CUSTOMERS, ACROSS 190 COUNTRIES.

기업들은 어떻게 AWS를

사용하고 있을까요?7 가지 고객 사례

나 혼자 서버 개발 구축 관리 운영이 가능할까?

출시 전 어느 정도 수준으로 서버를 개발 해야 할까?

글로벌 서비스를 빠르게 구축하고 배포할 수 없을까?

새로 나온 기술 OO가 좋아 보이는데 써도 될까?

업데이트를 손쉽게 올릴 수 있는

어떠한 부하에도 견딜 수 있는

어떠한 재해에도 복구가 가능한

휴일에 서버 개발자가 쉴 수 있는

서버

“2014년 브라질 월드컵 공식 후원사로서 월드컵 기간 동안 전 세계의 사용자 기반응원 메시지 컨텐츠를 수집/제공하여 성공적으로 프로모션을 수행”

현대자동차 2014 브라질 월드컵 (온라인 프로모션)

새로운 서비스를 개발할 때는 사용량 예측 어려움

특히, 짧은 기간의 이벤트, 글로벌 시장을 겨냥한 모바일 서비스라면 더욱

어려움

사진 및 동영상 등 미디어 컨텐츠가 많이 저장될 것으로 예상되었기에

스토리지를 지속적으로 늘릴 것에 대비

AWS가 가장 다양한 기능을 가지고 있었을 뿐 아니라 Pinterest나 Dropbox 등

이미 성공한 스타트업들이 AWS를 통해 글로벌하게 성장한 사례가 알려져

있어 업계에서의 신뢰도도 높았기 때문

피크 타임에 생기는 서버 과부하로 인해 문제가 많았기에 확장성, 성능,

그리고 안정성 측면을 크게 고려하였는데, 이 세 가지 기준을 모두 만족시킨

것이 AWS

“월드컵이라는 특수 기간에 사진 및 동영상 업로드 양이

폭증하는 경우가 많았으나, 트래픽이 급증하는 순간 이를 EC2

확장으로 커버하고, 사용자들이 업로드한 수십TB에 이르는

사진들과 수억 건 이상의 컨텐츠들도 용량 제한이 없는 S3의

저장공간에 모두 쌓아놓을 수 있었습니다.”

“AutoScale기능은 서버 사용량이 급증했을 때 자동으로

인스턴스 숫자를 높여 원활히 대처할 수 있는 환경을 제공하여

주었습니다. 반대로 사용량이 낮아지는 시간대에는 자동으로

인스턴스 숫자를 줄여 비용 낭비를 줄일 수 있었습니다.”

글로벌 웹애플리케이션

의성능 저하

호스팅? 현지

데이터센터?

자체인프라의리눅스시도?

전통적방식이과연

적합한가?

“글로벌 서비스를 위해 미국, 유럽, 아시아 등 전 세계에 구축된 리전의 가용성과 안전성을고려하여 AWS 클라우드를 도입하기로 결정했습니다.

사용한 자원에 대해서만 비용을 지불하는 과금 구조가 TCO 및 운영 비용 절감이라는아모레퍼시픽의 계획과 부합했기 때문입니다.

AWS 도입 당시에 기대했던 것보다 더 만족스럽습니다. 자체 데이터센터에만 의존했다면아모레퍼시픽의 글로벌 임직원과 고객들을 만족시키키는 어려웠으리라 생각합니다.

또한 정해진 인력으로 서비스를 운영해야 하는 입장에서 인프라 관리보다 고객의 서비스 경험개선에 주력할 수 있게 되어 더욱 기쁩니다.”

Brand Global Site IBM Domino

Brand Global Site IBM Domino

1. 신규 글로벌 서비스 개발 및 배포 속도 2x 이상 향상2. TCO 80% 이상 절감 (ex. 소프트웨어 라이센싱 등)3. 핵심 업무인 ‘고객 서비스 품질 향상’에 투자

IGW : AWS VPC에서 인터넷 망 사용 가능

NAT : 외부 API 통신을 위해 사용, 이중화 구성

APP-WAS Server : Multi instance 운영 / AutoScaling 적용

Database: Active-Standby 구성

IPSec VPN : 온프레미스 인프라와 하이브리드 구성

ap-northeast-1cap-northeast-1a

NATServer

VPN Gateway

Private Subnet

Admin / DevRoute 53

Internet Gateway

Users

CloudWatch

Auto Scaling

Customer Gateway Customer Network

Customer Network

VPN (IPsec)

Public Subnet

DEV-WASServer

DEV-APPServer

L4 서비스

NATServer

Database

Sync

APP-WASServer

APP-WASServer

APP-WASServer

APP-WASServer

ALLOC-SVR

Database

Server

Private Subnet Private Subnet

1. 모바일T머니 3.0, T캘린더, T머니 택시 어플

2. On-prem. D/C와 AWS의 Hybrid 환경

3. Time to Market 단축(프로젝트 기간 평균 4개월)

4. 신규 사업에 대한 인프라유연성 확보 및 비용 절감

클라우드는 ‘All or Nothing’ 선택이결코 아닙니다.

• 출시 후 12만에 누적 1,200만 다운로드, 20억 회 플레이 (2013년 9월 기준)

• 5,000만 누적 다운로드

• 1,000만에 가까운 DAU

• 한국, 일본, 태국 등 10여개국 다운로드 1위• Top10 다운로드 국가수 38개국

EC2 AutoScale

부하에 따라 서버 대수를 자동으로 조절해주는 서비스

평일 기준 새벽 시간대 4대에서 피크 시간대 30대까지

출시 년도 크리스마스 연휴 때 서버 120대

장애가 일어난 불량 노드를 알아서 대체

새로운 서버를 만들어야 할 경우 문제

매뉴얼 부족, 있는 자료는 오래된 내용

관리자가 교체되면서 회사에 남아있는 서버지식이 점점 사라짐

사용자 증가에 따른 관리 피로도 증가

급격한 확장에 대응이 불가능하기 때문에 오버스팩 서버 도입

MySQL 기반으로 수평 확장성 부족

돈을 쏟아 부어도 과부하에 대응할 수 없다

기존 서버의 한계

출시 직후의 서버 상황

미미했던 시작, 얼마나 성장할까?

마케팅비 0원 - 카카오톡 테마가 유일한 마케팅

첫날(4/2) 가입자 9만명! - 서버 부하는 버틸만

내일도 오늘만큼만 가입해다오!

출시 후 일주일

산술적 증가가 아닌 기하급수적 증가

DAU(Daily Active Users)도 마찬가지로 증가

4일째부터 주기적 서버 장애 - 정말 다양한 원인

6일만에 120만명 돌파

Auto Scaling 최대 100대 까지

everysing 개발 이력 & 현황

• 2013년 6월 – 한국, 태국 출시 (개발기간 4개월)

• 2013년 12월 – 2013 GooglePlay 앱 어워즈 Top 16

선정.

• 2015년 2월 – 일본, 중국 출시.

• 2015년 4월 – TV-out을 위한 크롬캐스트 연동 완료.

Google과 Cross promotion 진행 중.

• 스마트폰 노래방 앱 관련 국내 1위.

• 다운로드 300만, 회원 수 70만.

• 연내 Global 서비스 예정. 유료화 작업 진행 중.

• 월별 10만 개 이상 사용자 녹음/녹화곡 town으로 업로드.

초기 구조도

Amazon EC2(서버)

Amazon S3(music, lyric, image 저장소)

Amazon RDS(관계형 데이터 베이스)

everysing 관리자페이지

관리자 사용자

everysing application(Android, iOS)

파일 업로드(music, lyric, image)

메타 정보 관리(artist, album, song) 메시지 교환

파일 다운로드(music, lyric, image)

내부 통신

Amazon CloudFront(music, lyric, image caching server)

Tokyo Region

Global Service를 위한 구조 변경.

Singapore

Sydney

Frankfurt

California Virginia

Sao Paulo

Route53Multi-Region Latency Based

Routing

Users

Tokyo

ec2 server

music, lyric, images download

CloudFrontEdge Servers

ec2 server

Where’s the closest server?

ec2 server

ec2 server

ec2 server ec2 server

ec2 server

This is your boy.

We do not want too much round-trip time!

Messageexchange

Elastic Load Balancing

S3 for music, lyric, images (15TB)

EC2 Encoders with Scale in/out

(2 -> 16)

2년 후….

everysing의 현재 MAU & 월 AWS 비용.

MAU: XX만명

월 AWS 비용: XXX만원

고객 1명당 월 AWS 비용: 12~13원

“AWS는 BEAT의빠른 성장의 동반자가 되어주었습니다.

저희는 AWS를 통해 끊임없이 비용을 최적화하고 있으며, 청취자 한 명 당 소요되는 AWS 비용은

근 1년 전 보다 97% 가까이 줄었습니다.”

-비트패킹컴퍼니박수만 대표-

1. 어떻게 하면 개발 인력이 제품 자체에 집중할 수 있을까?

2. 모바일 서비스에서 트래픽과 성장 시점을 예측할 수 있을까? 과연?

3. 대용량의 안정적 & 확장 가능한 스토리지를 미리 확보할 수 있을까?

서비스를 기획하며 고민했습니다.

서비스를 기획하며 고민했습니다.

1. 어떻게 하면 개발 인력이 제품 자체에 집중할 수 있을까?

자동화

2. 모바일 서비스에서 트래픽과 성장 시점을 예측할 수 있을까? 과연?

AWS의 확장성, 탄력성, 유연성

3. 대용량의 안정적 & 확장 가능한 스토리지를 미리 확보할 수 있을까?

Amazon S3 (99.999999999%의 내구성)비용 또한 GB 당 약 30원

Mobile Client Route 53

CloudFront

Amazon S3Static Contents & Logs

CloudWatch

Elastic LoadBalancing

RDS DB Instance standby

(Multi-AZ)

ElastiCache(Redis)

ElastiCache(Redis)

API ServersOn-demand

& Spot Instances

API ServersOn-demand

& Spot Instances

Workers& MQ servers

Workers& MQ servers

AWS Tokyo region(ap-northeast-1)

Availability Zone #1

Availability Zone #2

Ansible + cloud-init

Origin-AccessIdentity

Signed-URL

DynamoDB

RDS DB Instance(PostgreSQL)

AutoScaling

Mobile Client Route 53

CloudFront

Amazon S3Static Contents & Logs

CloudWatch

Elastic LoadBalancing

RDS DB Instance standby

(Multi-AZ)

ElastiCache(Redis)

ElastiCache(Redis)

API ServersOn-demand

& Spot Instances

API ServersOn-demand

& Spot Instances

Workers& MQ servers

Workers& MQ servers

AWS Tokyo region(ap-northeast-1)

Availability Zone #1

Availability Zone #2

Ansible + cloud-init

Origin-AccessIdentity

Signed-URL

DynamoDB

RDS DB Instance(PostgreSQL)

AutoScaling

1. Amazon EC2 의 3가지 요금제 활용(On-demand, Reserved, Spot)

Mobile Client Route 53

CloudFront

Amazon S3Static Contents & Logs

CloudWatch

Elastic LoadBalancing

RDS DB Instance standby

(Multi-AZ)

ElastiCache(Redis)

ElastiCache(Redis)

API ServersOn-demand

& Spot Instances

API ServersOn-demand

& Spot Instances

Workers& MQ servers

Workers& MQ servers

AWS Tokyo region(ap-northeast-1)

Availability Zone #1

Availability Zone #2

Ansible + cloud-init

Origin-AccessIdentity

Signed-URL

DynamoDB

RDS DB Instance(PostgreSQL)

AutoScaling

2. 다양한 데이터베이스 활용(RDS, ElastiCache, DynamoDB)

Mobile Client Route 53

CloudFront

Amazon S3Static Contents & Logs

CloudWatch

Elastic LoadBalancing

RDS DB Instance standby

(Multi-AZ)

ElastiCache(Redis)

ElastiCache(Redis)

API ServersOn-demand

& Spot Instances

API ServersOn-demand

& Spot Instances

Workers& MQ servers

Workers& MQ servers

AWS Tokyo region(ap-northeast-1)

Availability Zone #1

Availability Zone #2

Ansible + cloud-init

Origin-AccessIdentity

Signed-URL

DynamoDB

RDS DB Instance(PostgreSQL)

AutoScaling

3. S3+CloudFront

커플을 위한 모바일 애플리케이션 Between을 제작해런칭 3년만에 글로벌 다운로드 450만회에 이르는 성공을거두며 빠르게 성장!

“단 두 사람만을 위한 공간”을 표방하는 서비스로 채팅기능과 사진 공유, 서로에게 편지 쓰기, 기념일 챙기기등의 다양한 기능과 연인들의 추억을 다른 사람들에게알리지 않고 단 둘이서만 공유하는 SNS!

VCNC – 비트윈 영상

지금까지,

7 가지 고객 사례를살펴보았습니다.

마지막으로 기억하세요.

폭넓은 경험가장 쉬운

워크로드부터

다양한 기능및 혁신의 속도

Thank You

빠른 인프라 구축과 글로벌 확장

메가존㈜장문기 차장

Solutions Architect

Mobile

Push

NotificationsMobile

AnalyticsCognito Cognito Sync

Analytics

KinesisData

PipelineRedShift EMR

AWS Global Infrastructure

Your Applications

11Regions 29Availability Zones 53EdgeLocations

Network

VPCDirect

ConnectRoute 53

AP

I

Human Interaction

Support

WebConsole

Interaction

CommandLine

Libraries,SDK’s

Storage

EBS S3 Glacier CloudFront

Database

DynamoDBRDS ElastiCache

Deployment & Management

Elastic

BeanstalkOpsWorks Cloud

Formation

Code

Pipeline

Code

Commit

Security & Administration

CloudWatch Config Cloud Trail IAM Directory KMS

Application

SQS SWFApp

Stream

Elastic

TranscoderSES Cloud

Search

SNS

Enterprise Applications

WorkSpaces WorkMail WorkDocs

Compute

EC2 ELBAuto

ScalingLambdaECS

Code

Deploy

https://console.aws.amazon.com/

Amazon EC2

클라우드의 가상 서버

Elastic Load Balancing

EC2 로드 분산 서비스 (L4)

Amazon RDS

관계형 데이터베이스 서비스

우리에 필요한 건… 빠른 인프라 구축

Template를 이용한 자동화

Amazon Elastic Compute Cloud (EC2)

• EC2 인스턴스 = 가상 서버

• 새로운 서버를 띄우는데 시간을 절약

수분 혹은 수십초 내에 부팅

• 다양 스펙의 인스턴스를 제공(1~40vCPU, 0.6~244GB RAM)

• 실제 사용한 용량에 대해서만 지불

• 가용 영역과 지역에 걸쳐 배치

• 윈도우, 리눅스 : 레드햇 엔터프라이즈 리눅스(RHEL),

수세 리눅스 엔터프라이즈 서버 (SLES), 아마존 리눅스, 등

Amazon EC2

EC2 개요 - 핵심 개념

EC2 개요 – Virtual Machine

Amazon Elastic Block Store (EBS) 볼륨– EC2에 의해 사용되는, 지속성있고 네트워크 장착되는 블록 수준 스토리지 볼륨– 필요한 초당 I/O를 지정해 프로비저닝 가능

Amazon EBS 스냅샷– S3 내에 저장되는 EBS 볼륨의 특정 시점의 복사본

인스턴스 스토리지– 휘발성 로컬 스토리지

EC2 스토리지 옵션

Amazon EBS

EBS (Elastic Block Store)

EBS는 EC2의 가상 외장 하드 디스크

1GB ~ 16TB 의 크기로 생성 가능

크기/사용 시간/IO 발생량으로 과금

하나의 인스턴스에서 여러개의 EBS 연결이 가능

세부 사항

EC2 와는 독립적인 수명 (데이터는 영구적으로 보존 가능)

동일한 가용영역에 있는 다른 인스턴스에 연결 하는것이 가능

EBS 스냅샷은 S3에 백업

EBS 스냅샷으로 새로운 EBS 를 생성 가능(다른 가용영역에 EBS 생성

가능)

하나의 EBS는 여러 인스턴스에 연결 될 수 없음

Elastic LoadBalancing

Amazon Elastic Load Balancing (ELB)

• 멀티 AZ 기반 EC2인스턴스 사이의 로드 분산

• 고 확장성 애플리케이션 제공 가능

주요 기능 상세 정보

Available 멀티 Availability Zone 기반의인스턴스 로드 분산 서비스

Health checks

자동으로 인스턴스가 서비스 중인지 아닌지 체크 가능

Session stickiness

사용자는 동일 인스턴스로만접속 가능하게 함.

Secure sockets layer

SSL 별도 처리로 부하 감소,SSL 가속 효과

Monitoring CloudWatch를 통해 로그 제공및 모니터링 가능

Elastic Load

Balancer

Amazon Auto Scaling

– 필요에 맞게 스케일 인 & 아웃

– 자동으로 장애 인스턴스 교체

– 타 AWS 서비스들과 문제없이 연동

– 비용 최적화를 위해 스팟 인스턴스 활용 가능

– 추가 요금 없음

Auto Scaling

탄력적 환경 시나리오

Auto Scaling

RDS – Relational Database Service

확장 가능한 관리형 RDBMS

• 관리형 RDBMS 서비스

DB 전문인력(이중화, 튜닝, 성능 개선 등)

시간 소모적 관리 작업(백업, 패치, 증설 등)

Fully Managed; Zero Admin

• MySQL, SQL Server, Oracle, PostreSQL 그리고 Aurora

• BYOL & License Included RDS

CloudFront

Route 53

Contents Delivery Network (CDN)

사용자는 지리적으로 가장 가까운

Edge 서버로부터

컨텐츠를 전송받습니다.

Domain Service Global Service Load Balancer

글로벌 확장우리에게 필요한 건…

US-WEST (Oregon)

EU-WEST (Ireland)

ASIA PAC (Tokyo)

SOUTH AMERICA

(Sao Paulo)

US-EAST (Virginia)

AWS GovCloud (US)

ASIA PAC (Sydney)US-WEST (N. California)

ASIA PAC(Singapore)

CHINA (Beijing)

EU-CENTRAL (Frankfurt)

• 모든 Region은 2개 이상의 AZ로 구성

US-WEST (Oregon)

EU-WEST (Ireland)

ASIA PAC (Tokyo)

SOUTH AMERICA(Sao Paulo)

US-EAST (Virginia)

AWS GovCloud (US)

ASIA PAC (Sydney)US-WEST (N. California)

ASIA PAC(Singapore)

CHINA (Beijing)

EU-CENTRAL (Frankfurt)

• AZ는 전력, 인터넷, 물리적 으로 독립

• AZ는 1개 이상의 데이터센터로 구성 (AZ간 latency 2ms이하)

• 콘텐츠 배포 네트워크 및 도메인 네임 서비스 제공

• 한국에 2개의 엣지가 있음

CloudFront – CND 서비스

글로벌 콘텐츠 전송을 위한 웹서비스

• 약정 없이 콘텐츠 배포 가능

• 동적 콘텐츠 전송(Dynamic Content Delivery)

( HTTP의 GET, HEAD 및

POST, PUT, DELETE, OPTIONS, PATCH 메서드 지원)

• 스트리밍 지원 : HLS, Adobe RTMP(FMS 기반),

MS Smooth Streaming 지원

• 전 세계 53개의 Edge LocationCloudFront

AZ-a

WEB/WAS

Route53

ELB

S3EC2 EC2

WEB/WAS

AZ-b

Static Contents

CloudFront

Dynamic Contents

CloudFront : Dynamic & Static

Route53

ELB ELB

Tokyo Singapore

Global Users

CloudFront

CloudFront : Multi Origin

Amazon Route 53

가용성과 확장성이 우수한 클라우드 DNS 웹 서비스입니다.직관적 사용법 및 저렴한 비용

글로벌 DNS

Global Server Load Balancer(GSLB)

서버 상태를 체크하여 동적으로 사용자에게 노출될 DNS 레코드 타입과 값을 조정합니다.

Route53

Route53 : 서버 상태 체크기반

Amazon Route 53

Amazon EC2 Amazon EC2

OK FAIL

Route53 : 레이턴시 기반

Amazon Route 53

Amazon EC2 Amazon EC2

100ms 10ms

Route53 : 가중치 기반

Amazon Route 53

Amazon EC2 Amazon EC2

99% 1%

Route53 : 지역 기반

Amazon Route 53

Amazon EC2 Amazon EC2

미국 한국

Route53 : Region, ELB

Amazon Route 53

Elastic LoadBalancing

Elastic LoadBalancing

Tokyo Singapore

CloudFormation 확인 &

Q&A

AZ-a

WEB/WAS

Route53

ELB

EC2 EC2WEB/WAS

AZ-b

EC2WEB/WAS

AZ-b

Thank You

실습 Session

Thank You

June – 18 – 2015

Recommended