31
` Platform and Service 한한한 Software Maestro Mentor [email protected] 2013/08/08 1 Daehee Han, [email protected]

Cloud, AWS, GAE(google app engine)

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: Cloud, AWS, GAE(google app engine)

`

Daehee Han, [email protected] 1

Platform and Service

한대희Software Maestro Mentor

[email protected]

2013/08/08

Page 2: Cloud, AWS, GAE(google app engine)

Daehee Han, [email protected] 2

목차 ( 목적 )

• 아래 질문에 대한 답을 같이 찾기

– Platform 이란 ?

– 인터넷 /SW 기반 사업에서 Value 는 어디로 ?

– 서비스로 돈 버는 모델은 ?

– 서비스를 하려면 인프라 선택 ,

– 아키텍쳐는 어떻게 ?

Page 3: Cloud, AWS, GAE(google app engine)

Daehee Han, [email protected] 3

CLOUD COMPUTING

Page 4: Cloud, AWS, GAE(google app engine)

Daehee Han, [email protected] 4

누가 더 강한가 ?

Page 5: Cloud, AWS, GAE(google app engine)

Daehee Han, [email protected] 5

어느 쪽이 더 따라잡기 힘든 기술일까 ?

구글의 Cloud Computing 인프라와 데이터 처리 기술

삼성의 반도체설비 인프라와 반도체 설계 기술

Page 6: Cloud, AWS, GAE(google app engine)

Daehee Han, [email protected] 6

구글의 서비스와 인프라

Page 7: Cloud, AWS, GAE(google app engine)

Daehee Han, [email protected] 7

서버 아키텍쳐• 웹서버 , DB, 그리고 Cache

Page 8: Cloud, AWS, GAE(google app engine)

Daehee Han, [email protected] 8

일반 HW 기반 인프라

부하 증가에 따라 장비 증설: 초기 투자비 최소화

L4 스위치 2)

Web Tier

Cache & Etc. Tier

DB

DB4) Tier

DB

Ub

iqu

itou

s a

ccess

저가 장비 활용한 2,3 중화: 무중단 서비스 구현

Cache 기능 오픈소스를 활용한 구현: DB 부하 줄여 HW 절감

Page 9: Cloud, AWS, GAE(google app engine)

인프라 방식 비교

Daehee Han, [email protected] 9

WEB 2.0 , open market 등 SNS , 검색 , 클라우드 서비스 사업자가 자체 생산하는 서비스 플랫폼

기업의 기간 계 시스템 은행 , 증권 , 통신사 주요 업무 및 빌링등 CSBS, XCION 통신사 기간계시스템

저비용 , 확장성 ↑ , 자체 유지보수 방식 고비용 , 안정성 ↑ , 유지보수 외주 위탁 방식

[ 클라우드 infra] [ 전통적 infra]

활용산업

구성요소

관련솔루션

특성

SW

HW

Oracle 대용량 데이터베이스

SAN , NAS

Page 10: Cloud, AWS, GAE(google app engine)

Daehee Han, [email protected] 10

Scale-Up 의 한계• Scale-Out: 수평확장 (horizontal) – cloud 방식• Scale-Up: 수직확장 (vertical) – 기존 산업 방식

부하 ( 사용자 / 데이터 )

비용

Scale-up

Scale-out

임계 시점: 시스템 확장한계

< 비용과 부하의 상관관계 >

Page 11: Cloud, AWS, GAE(google app engine)

Daehee Han, [email protected] 11

인프라 관련 SW 기술

. . .

Page 12: Cloud, AWS, GAE(google app engine)

Daehee Han, [email protected] 12

서버기술 (Cloud Computing)

• http://highscalability.com/

Page 13: Cloud, AWS, GAE(google app engine)

Daehee Han, [email protected] 13

서비스의 품질

ReliabilityFast

(Response Time)

Page 14: Cloud, AWS, GAE(google app engine)

Daehee Han, [email protected] 14

서비스 제공을 위해 인프라가 달성해야 할 것

Scalability

Page 15: Cloud, AWS, GAE(google app engine)

Daehee Han, [email protected] 15

인프라 아키텍쳐를 어렵게 하는 것은 ?

Data 공유

Page 16: Cloud, AWS, GAE(google app engine)

Daehee Han, [email protected] 16

CAP theorem

Page 17: Cloud, AWS, GAE(google app engine)

Daehee Han, [email protected] 17

데이터 수집 , 분석

Page 18: Cloud, AWS, GAE(google app engine)

Daehee Han, [email protected] 18

Hadoop 관련 기술군

Page 19: Cloud, AWS, GAE(google app engine)

Daehee Han, [email protected] 19

HOW TO BUILD SER-VICE

Page 20: Cloud, AWS, GAE(google app engine)

Service 개발 흐름

Daehee Han, [email protected] 20

• 전체를 총괄하는 product manager 가 필요 .• 모든 것을 지휘하는 영화감독과 같은 역할 수행

기획

ProductManage

r

운영

개선사항

고객

VOC

기획서 개발

창의작성

기술검토이해확인

리뷰

테스터SW 산출물

창의구현

검증

가치

검증

기획 일치 확인

2

1 3

4

5

6

기획설계

구현

품질검수

운영 ,제휴 ,마케팅

Page 21: Cloud, AWS, GAE(google app engine)

Daehee Han, [email protected] 21

USING AWS (AMA-ZON)

Page 22: Cloud, AWS, GAE(google app engine)

Daehee Han, [email protected] 22

AWS

• Region – 대륙단위– 미주 , 유럽 , 일본 , 싱가폴 , ( 중국 )

• Zone – 물리적 위치가 다름

Page 23: Cloud, AWS, GAE(google app engine)

Daehee Han, [email protected] 23

AWS Architeture

• 다양한 케이스별 최적 아키텍쳐 샘플을 제공함

• Book: Resilience and Reliability on AWS

http://aws.amazon.com/ko/architecture/

Page 24: Cloud, AWS, GAE(google app engine)

Daehee Han, [email protected] 24

EC2, S3

Page 25: Cloud, AWS, GAE(google app engine)

Daehee Han, [email protected] 25

ELB, EBS

Page 26: Cloud, AWS, GAE(google app engine)

Daehee Han, [email protected] 26

Auto-Scale, RDS, CloudFront

Page 27: Cloud, AWS, GAE(google app engine)

Daehee Han, [email protected] 27

3-Tier Architecture: Web,Cache,DB

Page 28: Cloud, AWS, GAE(google app engine)

Daehee Han, [email protected] 28

Disaster Recovery

Page 29: Cloud, AWS, GAE(google app engine)

Daehee Han, [email protected] 29

USING GAE (GOOGLE APP ENGINE)

Page 30: Cloud, AWS, GAE(google app engine)

Daehee Han, [email protected] 30

GAE 기능Web: python, java,

php

cache

File Storage:Google Cloud Stor-

age

SQL DB:Google Cloud SQL

NOSQL DB:DB Datastore, NDB Datas-

tore

Data Processing:Map/Reduce, Pipeline

Search(Lucene)

Page 31: Cloud, AWS, GAE(google app engine)

Daehee Han, [email protected] 31

• 샘플코드– https://code.google.com/p/google-app-engine-samples/