기초 웨비나 시리즈 | 첫 번째 강연 2015년 7월 6일 월요일 | 오후 2시
http://aws.amazon.com/ko
AWS와 함께하는 클라우드 컴퓨팅
노경훈 매니저
이번 웨비나 에서 들으실 내용..
이번 강의에서는 AWS를 처음 접하시는 사용자 여러분들이 보다 쉽게 AWS의 기본 구성을 이해하고, 다양한 서비스들을 사용하실 수 있도록 도와드릴 예정입니다.
Amazon Web Services
What is AWS?
Deep experience in building and operating global web
scale systems
About Amazon Web Services
? …클라우드 컴퓨팅을?
어떻게 Amazon이…
소비자용 리테일 사업
수억명의 온라인 쇼핑 서비스 운영
8개 국가 US, UK, Germany,
Japan, France, Canada, China, Italy
판매자 지원 사업
아마존닷컴 판매 사업자 및 이를 위한 판
매 지원 서비스
아마존의 서비스 자원 및 물류 네트워크
를 지원
IT 서비스 사업
웹/모바일/엔터프라이즈 기반의 IT 서비스를 클라우드 기반으로 제
공
총 40여개의 서비스 및 190여개국의 백만 활
성 고객
November traffic
November
November traffic 76%
24%
Provisioned capacity
November
AWS 서비스 혁신 속도 • AWS 서비스가 시작한 이후:
ü 1,407회의 신규 서비스 및 기능 추가 ü 매년 80% 이상 성장
2010
Amazon SNS
AWS Identity & Access Management Amazon Route 53
61
2011
Amazon ElastiCache
Amazon SES
AWS CloudFormation
AWS Direct Connect
AWS Elastic Beanstalk
GovCloud
82 Amazon CloudTrail
Amazon CloudHSM
Amazon WorkSpaces
Amazon Kinesis
Amazon Elastic Transcoder
Amazon AppStream
AWS OpsWorks
280
2013
Amazon SWF
Amazon Redshift
Amazon Glacier
Amazon Dynamo DB Amazon CloudSearch
AWS Storage Gateway
AWS Data Pipeline
159
2012
516
*as of April 30, 2015 2014
Amazon Cognito
Amazon WorkDoc
Amazon Mobile Analytics
AWS Directory Service
Amazon RDS for Aurora
AWS CodeDeploy
AWS Lambda
AWS Config
AWS Key Management Service
AWS Service Catalog
Amazon EC2 Container Service
AWS CodePipeline
AWS CodeCommit
2015
+234
Amazon WorkMail
Amazon Elastic File System
Amazon Machine Learning
Amazon Web Services
AWS 글로벌 인프라
AWS Worldwide Network Backbone
11 Regions(지역) 30 Availability Zones(가용영역) 53 Edge Locations(엣지로케이션)
AWS Region & AZ(Virgina)
AZ
AZ
AZ AZ AZ
Transit
Transit
• 모든 Region은 2개 이상의 AZ로 구성 • AZ는 전력, 인터넷, 물리적 으로 독립 • AZ간의 연결은 중복 구성 • 각 AZ는 1개 이상의 데이터센터로 구성 • AZ간 latency 2ms이하 보통 1ms • 고가용성 구조이지만 마치 하나의 DC처럼 사용
Perspective on Scaling
Every day, AWS adds enough new server capacity to support all of Amazon’s global infrastructure when it was a $7B annual
revenue enterprise
Gartner Magic Quadrant for Cloud Infrastructure as a Service, Worldwide
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 enTre report. The Gartner report is available at hUp://aws.amazon.com/resources/analyst-‐reports/. Gartner does not endorse any vendor, product or service depicted in its research publicaTons, and does not advise technology users to select only those vendors with the highest raTngs or other designaTon. Gartner research publicaTons consist of the opinions of Gartner's research organizaTon and should not be construed as statements of fact. Gartner disclaims all warranTes, expressed or implied, with respect to this research, including any warranTes of merchantability or fitness for a parTcular purpose.
Amazon Web Services
Cloud Computing이란?
v
Utility computing
On demand Pay as you go
Uniform Available
On demand Pay as you go
Uniform Available
Utility computing
Utility computing
Compute
Storage
Security Scaling
Database
Networking Monitoring
Messaging
Workflow
DNS
Load Balancing
Backup CDN
On demand Pay as you go
Uniform Available
Utility computing
Amazon Web Services
클라우드 컴퓨팅의 이점
On-Premises
$0 to get started
Pay as you go
1. Pay For Infrastructure as you Need it, Not Up Front 선납금 없이 필요한 만큼만 지불하시면 됩니다.
2. Lower Total Cost of IT TCO 비용이 절감됩니다.
Scale allows us to constantly reduce our costs (꾸준한 비용 절감)
We are comfortable running a high volume, low margin business (높은 볼륨, 낮은 마진 비즈니스)
We pass the savings along to our customers in the form of low prices (2006년 이래 49번의 가격 인하)
49 Price reducCon
Self Hosting
Waste
Customer Dissatisfaction
Actual demand
Predicted Demand
Rigid Elastic
Actual demand
AWS
3. You Don’t Need to Guess Capacity 서버 용량을 예측하실 필요 없습니다.
Increased agility has become the #1 reason businesses use the AWS cloud
On-‐Premises • Experiment Infrequently • Failure is expensive • Less InnovaTon
• Experiment Ogen
• Fail quickly at a low cost
• More InnovaTon
$ Millions Nearly $0
4. Increase InnovaTon: Experiment Fast with Low Cost and Low Risk 높아지는 혁신 가능성: 저비용과 저위험으로 실험 가능합니다.
Data Centers Power Cooling Cabling Networking
Racks Servers Storage Labor
Buy and install new hardware Setup and configure new sogware build or upgrade data centers 신경쓰실 필요가 없습니다. 새 하드웨어 구매 및 설치 새 소프트웨어 설치 및 구성 새로운 데이터센터 구축 및 업그레이드
We take care of it… So you don’t have to …
5. Get Rid of UndifferenTated Heavy Liging 차별되지 않는 IT 인프라 관리에 신경쓸 필요 없습니다.
6. Go Global in Minutes 단 몇 분 안에 해외 시장 진출이 가능합니다.
Mobile
Push NoCficaCons
Mobile AnalyCcs Cognito Cognito
Sync
AnalyCcs
Kinesis Data Pipeline RedShiR EMR
AWS Global Infrastructure
Your ApplicaCons
AWS Global Infrastructure 11 Regions 29 Availability Zones 53 Edge Locations
Network
VPC Direct Connect Route 53
API
Human Interaction
Support
Web Console
Interaction
Command Line
Libraries, SDK’s
Storage
EBS S3 Glacier CloudFront
Database
DynamoDB RDS ElasCCache
Deployment & Management
ElasCc Beanstalk OpsWorks Cloud
FormaCon Code Deploy
Code Pipeline
Code Commit
Security & AdministraCon
CloudWatch Config Cloud Trail IAM Directory KMS
ApplicaCon
SQS SWF App Stream
ElasCc Transcoder SES Cloud
Search SNS
Enterprise ApplicaCons
WorkSpaces WorkMail WorkDocs
Compute
EC2 ELB Auto Scaling Lambda ECS
Amazon Web Services
Compute Services
Compute Services
Amazon EC2 Auto Scaling Elastic Load Balancing
Actual
EC2
Elastic Virtual servers in the cloud
Dynamic traffic distribution
Automated scaling of EC2 capacity
Virtual Machine 재구성이 가능한 컴퓨팅 파워 쉽게 확장/축소되는 컴퓨팅 용량
Amazon EC2
ElasTc Compute Cloud
EC2 instances General-‐purpose: M1, M3 , T2, M4
Compute-‐opTmized: C1, CC2, C3, C4
Memory-‐opTmized: M2, CR1, R3
Dense-‐storage: HS1, D2
I/O-‐opTmized: HI1, I2
GPU: CG1, G2
Micro: T1, T2
EC2 instances: Sizes
2 vCPU 7.5 GiB Memory $0.203/hour
m3.large
m3.xlarge
4 vCPU 15 GiB Memory $0.405/hour
m3.2xlarge
8 vCPU 30 GiB Memory $0.810/hour
m3.large m3.large
m3.large m3.large
m3.large m3.large
c4.large Instance family
Instance generation
Instance size
Load Balancer 트래픽을 자동으로 분산 자동으로 용량 확장/축소 Amazon
ELB ElasTc Load Balancing
Elastic Load Balancer(ELB)
EC2 Instance
ELB
EC2 Instance
us-‐w
est-‐1a
us-‐w
est-‐1b
…..
…..
Application의 고가용성 유지 자동으로 EC2 Scale in & Out 사용자의 지정에 따른 작동
Auto Scaling
AutoScaling
On-Demand 약정없이 쓴 만큼만 지불 갑작스런 트래픽이나 예측하기 어려운 경우 신규 서비스
Reserved 1년 혹은 3년 약정 40~70% 할인 항상 쓰는 서버들 을 위한 요금제
Spot 남은 자원에 대한 경매 방식 더 높은 가격으로 입찰할 경우 바로 양도 될 수 있으나 80~90% 저렴 BigData, 3D Rendering, Queing
Dedicated VPC내에 한 고객만을 위한 물리적 서버에 런칭 굉장히 민감하거나 회사내규, 법적인 문제 가 있을경우
여러분에게 맞는 구매 옵션(Purchase options)
Mobile
Push NoCficaCons
Mobile AnalyCcs Cognito Cognito
Sync
AnalyCcs
Kinesis Data Pipeline RedShiR EMR
AWS Global Infrastructure
Your ApplicaCons
AWS Global Infrastructure 11 Regions 29 Availability Zones 53 Edge Locations
Network
VPC Direct Connect Route 53
API
Human Interaction
Support
Web Console
Interaction
Command Line
Libraries, SDK’s
Storage
EBS S3 Glacier CloudFront
Database
DynamoDB RDS ElasCCache
Deployment & Management
ElasCc Beanstalk OpsWorks Cloud
FormaCon Code Deploy
Code Pipeline
Code Commit
Security & AdministraCon
CloudWatch Config Cloud Trail IAM Directory KMS
ApplicaCon
SQS SWF App Stream
ElasCc Transcoder SES Cloud
Search SNS
Enterprise ApplicaCons
WorkSpaces WorkMail WorkDocs
Compute
EC2 ELB Auto Scaling Lambda ECS
Amazon Web Services
Storage Services
Storage Services
Amazon EBS
EBS
Block storage for use with Amazon EC2
Amazon S3
Images Videos Files Binaries Snapshots
Internet scale storage via API
Amazon Glacier
Images Videos Files Binaries Snapshots
Storage for archiving and backup
Secure, durable, highly-scalable 99.999999999% 사용한만큼만 지불 Static 웹서버로 사용 Amazon
S3 Simple Storage Service
1GB 1개월 $0.033
Simple Storage Service(S3)
1TB 1개월 $33.8
1TB 1년 $405.8 * Tokyo Region 기준
v
1 TB raw storage
800 GB usable storage
600 GB allocated storage
400 GB applicaTon data
S3 용량 가격 – 쓰신만큼만 내세요! Amazon S3
$158.4/year
Amazon S3 website: static content
Amazon S3
Streaming & image distribuTons Download distribuTons web access
Secure, durable, highly-scalable 99.999999999% 백업용도의 Cold 데이터 사용한 만큼 매우 낮은 비용으로 Amazon
Glacier
1GB 1달 $0.011
Glacier
* Tokyo Region 기준
1TB 1달 $11.68 1TB 1년 $140
3-5 Hours data retrieval
Glacier
Storage costs(저장) vs.
Retrieval costs(불러냄)
Amazon S3 lifecycle policies →
S3에서 30일 이후 Cold Data Glacier이동
Glacier에서 1년 후 삭제 자동으로 지정하여 관리 포인트를 줄임
EC2 와 함께 사용/하드디스크 언제든지 늘이거나 줄일 수 있음 Secure and durable Amazon
EBS ElasTc Block Store
Elastic Block Store(EBS)
EC2에 attach해서 쓸 수 있는 블록스토리지
가용영역 내에 복제되어 EC2의 상태와 상관없음
하나의 EC2에 여러개의 EBS구성
1 GB 16 TB Ú
가격 성능 EBS
MagneCc General Purpose Provisioned IOPS
용도 Infrequent data access Boot volumes
Small to med DBs Dev and Test
I/O intensive RelaTonal DBs NoSQL DBs
디스크 MagneTc disk-‐backed SSD-‐backed SSD-‐backed
최대 IOPS 40–200 IOPS 10,000 IOPS 20,000 IOPS Latency (random read) 20–40 ms 1–2 ms 1–2 ms
가용성 Designed for 99.999% Designed for 99.999% Designed for 99.999%
가격 $.05/GB-‐month $.05/million I/O $.10/GB-‐month $.125/GB-‐month
$.065/provisioned IOPS
v
새로운 EBS General Purpose (SSD)
Up to 16 TB
10,000 IOPS
Up to 160 Mbps
v
새로운 서비스: Elastic File Service • Fully managed file system for EC2 instances • Provides standard file system semantics • Elastically grows to petabyte scale • Delivers performance for a wide variety of workloads • Highly available and durable
simple elasCc scalable
1 2 3
Mobile
Push NoCficaCons
Mobile AnalyCcs Cognito Cognito
Sync
AnalyCcs
Kinesis Data Pipeline RedShiR EMR
AWS Global Infrastructure
Your ApplicaCons
AWS Global Infrastructure 11 Regions 29 Availability Zones 53 Edge Locations
Network
VPC Direct Connect Route 53
API
Human Interaction
Support
Web Console
Interaction
Command Line
Libraries, SDK’s
Storage
EBS S3 Glacier CloudFront
Database
DynamoDB RDS ElasCCache
Deployment & Management
ElasCc Beanstalk OpsWorks Cloud
FormaCon Code Deploy
Code Pipeline
Code Commit
Security & AdministraCon
CloudWatch Config Cloud Trail IAM Directory KMS
ApplicaCon
SQS SWF App Stream
ElasCc Transcoder SES Cloud
Search SNS
Enterprise ApplicaCons
WorkSpaces WorkMail WorkDocs
Compute
EC2 ELB Auto Scaling Lambda ECS
Amazon Web Services
Storage Services
Database Services
Amazon RDS Amazon DynamoDB
Managed relational database service
Managed NoSQL database service
DBA
Amazon ElastiCache
In-Memory Caching Service
v
당신의 서버에 DB를 둔다면
Power, HVAC, net Rack & stack
Server maintenance
OS patches
DB s/w patches Database backups
Scaling High availability
DB s/w installs
OS installaTon
you
App opTmizaTon
v
당신의 서버에 DB를 둔다면
Power, HVAC, net Rack & stack
Server maintenance
OS patches
DB s/w patches Database backups
Scaling High availability
DB s/w installs
OS installaTon
you
App opTmizaTon
v
Amazon EC2에 DB를 설치하면?
Power, HVAC, net Rack & stack
Server maintenance
OS patches
DB s/w patches Database backups
Scaling High availability
DB s/w installs
OS installaTon
you
App opTmizaTon
v
Amazon EC2에 DB를 설치하면?
OS patches
DB s/w patches Database backups
Scaling High availability
DB s/w installs
you
App opTmizaTon
Power, HVAC, net Rack & stack
Server maintenance
OS installaTon
v
Managed DB service를 선택한다면?
Power, HVAC, net Rack & stack
Server maintenance
OS patches
DB s/w patches Database backups
App opTmizaTon
High availability
DB s/w installs
OS installaTon
you
Scaling
Relational Databases Fully managed = low admin MySQL, Oracle, MS SQL, PostgreSQL
Amazon RDS
v 가용성 처리량 증가 대기시간
Scale up
Multi AZ
읽기 복제
Provisioned IOPS
읽기 복제 (read replica) Scale up
Region
Multi-AZ
Availability zone
Availability zone
손쉽게 고성능 / 고가용성을 구현
* My SQL 기준
v
Backup & Restore
• RDS 표준 기능 • 자동 스냅샷 + 트랜젝션 로그를 S3에 저장
• 자동 스냅샷 • 1일 1회 자동 생성 (백업 윈도우에 지정된 시간에 수행) • 보존 기간은 최대 35일 (0일~35일 사이에 지정 가능) • (필요할때 검색 가능)
• 2가지 복원 방법 • 복원:스냅샷을 바탕으로 DB 인스턴스 생성 • Point-In-Time-Recovery:
• 지정된 시간(최근5분)전의 데이터를 가진 DB 인스턴스를 생성
v
Cross-Region Snapshot 복제
• 스냅샷을 다른 지역(region)으로 복제 가능 • 다른 지역으로 스냅샷을 복사 • 복제된 스냅샷을 기반으로 데이터베이스를 생성
v
다른 Region으로 Read-replica 복제
• 더욱 빠른 복구 • 고객에게 더 가까운 위치로 데이터 이동
• Master로 손쉽게 Promote할 수 있음
v
New DB Service: Aurora • Amazon Aurora: 클라우드에서 재탄생 된 관계형 DB
MySQL의 5배 성능 타상용 DB의 1/10 MySQL 5.6과 호환
• 쓰신 만큼만 비용 지불
• VPC, 암호화 기본 제공
• RDS와 같이 운영상의 관리대행
NoSQL Database 높은 내구성과 낮은 latency Fully managed = no admin Massive and seamless scalability Amazon
DynamoDB
Making life easier for developers… • 관리자를 자유롭게:
§ SSD기반 § 3개 이상의 AZ 복제 § 원하는 IO와 성능 조절 가능 § 보안, 패치 등 관리 § 소프트웨어 업그레이드 패치 관리 § API콜 제어
In-Memory Cache 탄력적이고 안정적 Memcached or Redis Cache층의 관리포인트 줄임
Amazon ElasTCache
Application Server
작은용량, 잦은 접근을 유발하는 데이터에 적합
• 빠른 응답 속도 <1ms • 성능저하를 일으키는 장벽 제거 • 자연스럽게 DB부하 분산
Amazon Web Services
요약 및 접근 방법
v
꼭 기억해 두세요 • EC2 VM, Autoscaling • S3 무제한 스토리지, StaticWeb • RDS 백업, 패치, 고가용성 • Elasticache Memcached, Redis, • CloudFront CDN
• ELB 로드밸런서
• EBS 하드디스크
• Glacier 아카이빙, 백업 • DynamoDB NoSQL
v
FreeTier - 가입 시 1년간 무료! • EC2 t2.micro 750시간
• S3 5GB 저장용량, Get 요청 20,000건 PUT 요청
• RDS micro 750시간
• Elasticache micro 750시간
• CloudFront 50GB전송량, 2백만건
hUp://aws.amazon.com/free/
v
어떻게 시작할까요?
고객 지원 서비스
프로페셔널 컨설팅 서비스
담당 전문영업
파트너를 통한 솔루션 및 기술지원
솔루션 아키텍트
교육 및 인증 프로그램
온라인 자습 및 실습
다양한 온라인 강의 자료 및 실습을 통해 AWS에 대한 기초적인 사용법 및 활용 방법을 익히
실 수 있습니다.
강의식 교육
AWS 전문 강사가 진행하는 강의를 통해 AWS 클라우드로 고가용성,
비용 효율성을 갖춘 안전한 애플리케이션을 만드는 방법을 알아보세요. 아키텍쳐 설계 및 구현에 대한 다양한 오프라인 강의가 개설되어
있습니다.
인증 시험을 통해 클라우드에 대한 자신의 전문 지식 및 경험을 공인받고 개발 경력을 제시할 수 있습
니다.
AWS 공인 자격증
http://aws.amazon.com/ko/training
다양한 교육 프로그램
AWS 웨비나 시리즈에 참여해 주셔서 감사합니다! 이번 웨비나가 여러분의 궁금증 해소에 도움이 되었길 바랍니다. 이후 이어질 설문 조사를 통해 오늘 웨비나에 대한 의견을 알려주세요. [email protected] http://twitter.com/AWSKorea http://facebook.com/AmazonWebServices.ko http://youtube.com/user/AWSKorea http://slideshare.net/AWSKorea
Top Related