![Page 1: 20141021 AWS Cloud Taekwon - Customer Session: The BeatPacking Company](https://reader034.vdocument.in/reader034/viewer/2022042614/558c723dd8b42a65098b4649/html5/thumbnails/1.jpg)
AWS Cloud Taekwon
![Page 2: 20141021 AWS Cloud Taekwon - Customer Session: The BeatPacking Company](https://reader034.vdocument.in/reader034/viewer/2022042614/558c723dd8b42a65098b4649/html5/thumbnails/2.jpg)
정민영
Software Engineer THE BEATPACKING COMPANY
![Page 3: 20141021 AWS Cloud Taekwon - Customer Session: The BeatPacking Company](https://reader034.vdocument.in/reader034/viewer/2022042614/558c723dd8b42a65098b4649/html5/thumbnails/3.jpg)
BEAT 소개
![Page 4: 20141021 AWS Cloud Taekwon - Customer Session: The BeatPacking Company](https://reader034.vdocument.in/reader034/viewer/2022042614/558c723dd8b42a65098b4649/html5/thumbnails/4.jpg)
국내 최초 무료 라디오 서비스
![Page 5: 20141021 AWS Cloud Taekwon - Customer Session: The BeatPacking Company](https://reader034.vdocument.in/reader034/viewer/2022042614/558c723dd8b42a65098b4649/html5/thumbnails/5.jpg)
숫자
![Page 6: 20141021 AWS Cloud Taekwon - Customer Session: The BeatPacking Company](https://reader034.vdocument.in/reader034/viewer/2022042614/558c723dd8b42a65098b4649/html5/thumbnails/6.jpg)
2014. 4월 비트 라디오 출시
![Page 7: 20141021 AWS Cloud Taekwon - Customer Session: The BeatPacking Company](https://reader034.vdocument.in/reader034/viewer/2022042614/558c723dd8b42a65098b4649/html5/thumbnails/7.jpg)
2014. 4월 비트 라디오 출시
3~400% 성장/월
![Page 8: 20141021 AWS Cloud Taekwon - Customer Session: The BeatPacking Company](https://reader034.vdocument.in/reader034/viewer/2022042614/558c723dd8b42a65098b4649/html5/thumbnails/8.jpg)
2014. 4월 비트 라디오 출시
2~300% 성장/월
360만곡 보유
![Page 9: 20141021 AWS Cloud Taekwon - Customer Session: The BeatPacking Company](https://reader034.vdocument.in/reader034/viewer/2022042614/558c723dd8b42a65098b4649/html5/thumbnails/9.jpg)
10만+명/일 5분 이상 청취
![Page 10: 20141021 AWS Cloud Taekwon - Customer Session: The BeatPacking Company](https://reader034.vdocument.in/reader034/viewer/2022042614/558c723dd8b42a65098b4649/html5/thumbnails/10.jpg)
10만+명/일 5분 이상 청취
15만+시간/일
![Page 11: 20141021 AWS Cloud Taekwon - Customer Session: The BeatPacking Company](https://reader034.vdocument.in/reader034/viewer/2022042614/558c723dd8b42a65098b4649/html5/thumbnails/11.jpg)
10만+명/일 5분 이상 청취
15만+시간/일
5백만+곡 재생/일
![Page 12: 20141021 AWS Cloud Taekwon - Customer Session: The BeatPacking Company](https://reader034.vdocument.in/reader034/viewer/2022042614/558c723dd8b42a65098b4649/html5/thumbnails/12.jpg)
10만+명/일 5분 이상 청취
15만+시간/일
5백만+곡 재생/일
3백만+곡 정산/일
![Page 13: 20141021 AWS Cloud Taekwon - Customer Session: The BeatPacking Company](https://reader034.vdocument.in/reader034/viewer/2022042614/558c723dd8b42a65098b4649/html5/thumbnails/13.jpg)
폭주 성장에 대처하는 스타트업의 자세
![Page 14: 20141021 AWS Cloud Taekwon - Customer Session: The BeatPacking Company](https://reader034.vdocument.in/reader034/viewer/2022042614/558c723dd8b42a65098b4649/html5/thumbnails/14.jpg)
부제: 최대한 사람이 필요 없는 인프라 만들기
![Page 15: 20141021 AWS Cloud Taekwon - Customer Session: The BeatPacking Company](https://reader034.vdocument.in/reader034/viewer/2022042614/558c723dd8b42a65098b4649/html5/thumbnails/15.jpg)
IOS, ANDROID, API…. 할일 많은 스타트업
![Page 16: 20141021 AWS Cloud Taekwon - Customer Session: The BeatPacking Company](https://reader034.vdocument.in/reader034/viewer/2022042614/558c723dd8b42a65098b4649/html5/thumbnails/16.jpg)
거기에… 인프라 운영까지!
![Page 17: 20141021 AWS Cloud Taekwon - Customer Session: The BeatPacking Company](https://reader034.vdocument.in/reader034/viewer/2022042614/558c723dd8b42a65098b4649/html5/thumbnails/17.jpg)
어떻게 하면 인프라를
![Page 18: 20141021 AWS Cloud Taekwon - Customer Session: The BeatPacking Company](https://reader034.vdocument.in/reader034/viewer/2022042614/558c723dd8b42a65098b4649/html5/thumbnails/18.jpg)
어떻게 하면 인프라를
안정적으로
![Page 19: 20141021 AWS Cloud Taekwon - Customer Session: The BeatPacking Company](https://reader034.vdocument.in/reader034/viewer/2022042614/558c723dd8b42a65098b4649/html5/thumbnails/19.jpg)
어떻게 하면 인프라를
안정적으로
유연하면서도
![Page 20: 20141021 AWS Cloud Taekwon - Customer Session: The BeatPacking Company](https://reader034.vdocument.in/reader034/viewer/2022042614/558c723dd8b42a65098b4649/html5/thumbnails/20.jpg)
어떻게 하면 인프라를
안정적으로
유연하면서도
개발자를 아껴가며(!)
![Page 21: 20141021 AWS Cloud Taekwon - Customer Session: The BeatPacking Company](https://reader034.vdocument.in/reader034/viewer/2022042614/558c723dd8b42a65098b4649/html5/thumbnails/21.jpg)
어떻게 하면 인프라를
안정적으로
유연하면서도
개발자를 아껴가며(!)
남이 알아서 해줄 수 있을까?
![Page 22: 20141021 AWS Cloud Taekwon - Customer Session: The BeatPacking Company](https://reader034.vdocument.in/reader034/viewer/2022042614/558c723dd8b42a65098b4649/html5/thumbnails/22.jpg)
자동화
자동화
자동화
![Page 23: 20141021 AWS Cloud Taekwon - Customer Session: The BeatPacking Company](https://reader034.vdocument.in/reader034/viewer/2022042614/558c723dd8b42a65098b4649/html5/thumbnails/23.jpg)
자동화에 친화적인 설계로 알아서 되게
![Page 24: 20141021 AWS Cloud Taekwon - Customer Session: The BeatPacking Company](https://reader034.vdocument.in/reader034/viewer/2022042614/558c723dd8b42a65098b4649/html5/thumbnails/24.jpg)
자동화에 친화적인 설계로 알아서 되게
남이(AWS) 해준다면, 최대한 써먹으면서
![Page 25: 20141021 AWS Cloud Taekwon - Customer Session: The BeatPacking Company](https://reader034.vdocument.in/reader034/viewer/2022042614/558c723dd8b42a65098b4649/html5/thumbnails/25.jpg)
이런 비트의 전략에 적극 협조중인 AWS 제품들
![Page 26: 20141021 AWS Cloud Taekwon - Customer Session: The BeatPacking Company](https://reader034.vdocument.in/reader034/viewer/2022042614/558c723dd8b42a65098b4649/html5/thumbnails/26.jpg)
Elastic Compute Cloud
![Page 27: 20141021 AWS Cloud Taekwon - Customer Session: The BeatPacking Company](https://reader034.vdocument.in/reader034/viewer/2022042614/558c723dd8b42a65098b4649/html5/thumbnails/27.jpg)
3번 강조해도 부족한 AutoScale
![Page 28: 20141021 AWS Cloud Taekwon - Customer Session: The BeatPacking Company](https://reader034.vdocument.in/reader034/viewer/2022042614/558c723dd8b42a65098b4649/html5/thumbnails/28.jpg)
원하는 조건에 맞춰서(Policy)
![Page 29: 20141021 AWS Cloud Taekwon - Customer Session: The BeatPacking Company](https://reader034.vdocument.in/reader034/viewer/2022042614/558c723dd8b42a65098b4649/html5/thumbnails/29.jpg)
원하는 조건에 맞춰서(Policy)
지정한 설정 값으로(Launch Configuration)
![Page 30: 20141021 AWS Cloud Taekwon - Customer Session: The BeatPacking Company](https://reader034.vdocument.in/reader034/viewer/2022042614/558c723dd8b42a65098b4649/html5/thumbnails/30.jpg)
원하는 조건에 맞춰서(Policy)
지정한 설정 값으로(Launch Configuration)
인스턴스를 자동으로 생성/삭제
![Page 31: 20141021 AWS Cloud Taekwon - Customer Session: The BeatPacking Company](https://reader034.vdocument.in/reader034/viewer/2022042614/558c723dd8b42a65098b4649/html5/thumbnails/31.jpg)
![Page 32: 20141021 AWS Cloud Taekwon - Customer Session: The BeatPacking Company](https://reader034.vdocument.in/reader034/viewer/2022042614/558c723dd8b42a65098b4649/html5/thumbnails/32.jpg)
UserData 인스턴스 부팅시에 지정한 스크립트를 실행
Cloud-Init, Chef, Puppet, Ansible, ….
![Page 33: 20141021 AWS Cloud Taekwon - Customer Session: The BeatPacking Company](https://reader034.vdocument.in/reader034/viewer/2022042614/558c723dd8b42a65098b4649/html5/thumbnails/33.jpg)
AMI
인스턴스 구성과 데이터를 이미징
언제든 원하는 만큼 생성(도장찍기!)
![Page 34: 20141021 AWS Cloud Taekwon - Customer Session: The BeatPacking Company](https://reader034.vdocument.in/reader034/viewer/2022042614/558c723dd8b42a65098b4649/html5/thumbnails/34.jpg)
SPOT
On-Demand(/RI)와 섞어서 안정적으로
저렴하게 SPOT 인스턴스를 활용
![Page 35: 20141021 AWS Cloud Taekwon - Customer Session: The BeatPacking Company](https://reader034.vdocument.in/reader034/viewer/2022042614/558c723dd8b42a65098b4649/html5/thumbnails/35.jpg)
Backend Storage 선택
![Page 36: 20141021 AWS Cloud Taekwon - Customer Session: The BeatPacking Company](https://reader034.vdocument.in/reader034/viewer/2022042614/558c723dd8b42a65098b4649/html5/thumbnails/36.jpg)
EBS
영속성과 신뢰성 있는 Network Storage
이미징 하기 간편
네트워크 대역폭 에 영향
![Page 37: 20141021 AWS Cloud Taekwon - Customer Session: The BeatPacking Company](https://reader034.vdocument.in/reader034/viewer/2022042614/558c723dd8b42a65098b4649/html5/thumbnails/37.jpg)
Instance-Storage
영속성 없이 호스트 장비에 연결
매우 빠른 성능
산출물을 S3에 저장하면서 웹서버에 이용
![Page 38: 20141021 AWS Cloud Taekwon - Customer Session: The BeatPacking Company](https://reader034.vdocument.in/reader034/viewer/2022042614/558c723dd8b42a65098b4649/html5/thumbnails/38.jpg)
Elastic Load Balancing
![Page 39: 20141021 AWS Cloud Taekwon - Customer Session: The BeatPacking Company](https://reader034.vdocument.in/reader034/viewer/2022042614/558c723dd8b42a65098b4649/html5/thumbnails/39.jpg)
신뢰성 가득한 L4
![Page 40: 20141021 AWS Cloud Taekwon - Customer Session: The BeatPacking Company](https://reader034.vdocument.in/reader034/viewer/2022042614/558c723dd8b42a65098b4649/html5/thumbnails/40.jpg)
트래픽에 따라 ELB자체도 AutoScale
IP로 특정하기 어려움
Route53 Alias 활용
![Page 41: 20141021 AWS Cloud Taekwon - Customer Session: The BeatPacking Company](https://reader034.vdocument.in/reader034/viewer/2022042614/558c723dd8b42a65098b4649/html5/thumbnails/41.jpg)
Availability Zone 마다 설정
Cross-Zone Load Balancing 설정
혹은 AZ에 인스턴스를 균등하게 유지
![Page 42: 20141021 AWS Cloud Taekwon - Customer Session: The BeatPacking Company](https://reader034.vdocument.in/reader034/viewer/2022042614/558c723dd8b42a65098b4649/html5/thumbnails/42.jpg)
Simple Storage Service
![Page 43: 20141021 AWS Cloud Taekwon - Customer Session: The BeatPacking Company](https://reader034.vdocument.in/reader034/viewer/2022042614/558c723dd8b42a65098b4649/html5/thumbnails/43.jpg)
쓰세요. 2번 쓰세요.
![Page 44: 20141021 AWS Cloud Taekwon - Customer Session: The BeatPacking Company](https://reader034.vdocument.in/reader034/viewer/2022042614/558c723dd8b42a65098b4649/html5/thumbnails/44.jpg)
저렴하고
![Page 45: 20141021 AWS Cloud Taekwon - Customer Session: The BeatPacking Company](https://reader034.vdocument.in/reader034/viewer/2022042614/558c723dd8b42a65098b4649/html5/thumbnails/45.jpg)
저렴하고
안정적이고
![Page 46: 20141021 AWS Cloud Taekwon - Customer Session: The BeatPacking Company](https://reader034.vdocument.in/reader034/viewer/2022042614/558c723dd8b42a65098b4649/html5/thumbnails/46.jpg)
저렴하고
안정적이고
빠르고
![Page 47: 20141021 AWS Cloud Taekwon - Customer Session: The BeatPacking Company](https://reader034.vdocument.in/reader034/viewer/2022042614/558c723dd8b42a65098b4649/html5/thumbnails/47.jpg)
저렴하고
안정적이고
빠르고
간편.
![Page 48: 20141021 AWS Cloud Taekwon - Customer Session: The BeatPacking Company](https://reader034.vdocument.in/reader034/viewer/2022042614/558c723dd8b42a65098b4649/html5/thumbnails/48.jpg)
다시 생성 가능한 데이터라면
RRS(Reduced Redundancy Storage)
![Page 49: 20141021 AWS Cloud Taekwon - Customer Session: The BeatPacking Company](https://reader034.vdocument.in/reader034/viewer/2022042614/558c723dd8b42a65098b4649/html5/thumbnails/49.jpg)
Prefix 분산
2134857/data/1
2134857/data/2
2134858/data/1
2134858/data/2
![Page 50: 20141021 AWS Cloud Taekwon - Customer Session: The BeatPacking Company](https://reader034.vdocument.in/reader034/viewer/2022042614/558c723dd8b42a65098b4649/html5/thumbnails/50.jpg)
Prefix 분산
2134857/data/1 7584312/data/1
2134857/data/2 7584312/data/2
2134858/data/1 8584312/data/1
2134858/data/2 8584312/data/2
![Page 51: 20141021 AWS Cloud Taekwon - Customer Session: The BeatPacking Company](https://reader034.vdocument.in/reader034/viewer/2022042614/558c723dd8b42a65098b4649/html5/thumbnails/51.jpg)
컨텐트 제공시엔 CloudFront를 활용하세요
![Page 52: 20141021 AWS Cloud Taekwon - Customer Session: The BeatPacking Company](https://reader034.vdocument.in/reader034/viewer/2022042614/558c723dd8b42a65098b4649/html5/thumbnails/52.jpg)
트래픽 비용이 부담스럽다면
AWS와 약정 계약(CFRC)을
![Page 53: 20141021 AWS Cloud Taekwon - Customer Session: The BeatPacking Company](https://reader034.vdocument.in/reader034/viewer/2022042614/558c723dd8b42a65098b4649/html5/thumbnails/53.jpg)
DynamoDB
![Page 54: 20141021 AWS Cloud Taekwon - Customer Session: The BeatPacking Company](https://reader034.vdocument.in/reader034/viewer/2022042614/558c723dd8b42a65098b4649/html5/thumbnails/54.jpg)
처리량만 결정하면 알아서 하는 NoSQL DB
![Page 55: 20141021 AWS Cloud Taekwon - Customer Session: The BeatPacking Company](https://reader034.vdocument.in/reader034/viewer/2022042614/558c723dd8b42a65098b4649/html5/thumbnails/55.jpg)
비트에서는…
로그 데이터 보전에 사용
서비스 성장에 따라 같이 성장하는 시스템
![Page 56: 20141021 AWS Cloud Taekwon - Customer Session: The BeatPacking Company](https://reader034.vdocument.in/reader034/viewer/2022042614/558c723dd8b42a65098b4649/html5/thumbnails/56.jpg)
처리량 안에서 성능 보장
![Page 57: 20141021 AWS Cloud Taekwon - Customer Session: The BeatPacking Company](https://reader034.vdocument.in/reader034/viewer/2022042614/558c723dd8b42a65098b4649/html5/thumbnails/57.jpg)
처리량 안에서 성능 보장
처리량은 용량과 요청 수/초에 따라 결정
![Page 58: 20141021 AWS Cloud Taekwon - Customer Session: The BeatPacking Company](https://reader034.vdocument.in/reader034/viewer/2022042614/558c723dd8b42a65098b4649/html5/thumbnails/58.jpg)
문제는 처리량을 결정하기가 난해
GSI, LSI, Range Key, ….
![Page 59: 20141021 AWS Cloud Taekwon - Customer Session: The BeatPacking Company](https://reader034.vdocument.in/reader034/viewer/2022042614/558c723dd8b42a65098b4649/html5/thumbnails/59.jpg)
![Page 60: 20141021 AWS Cloud Taekwon - Customer Session: The BeatPacking Company](https://reader034.vdocument.in/reader034/viewer/2022042614/558c723dd8b42a65098b4649/html5/thumbnails/60.jpg)
dynamo-autoscale
![Page 61: 20141021 AWS Cloud Taekwon - Customer Session: The BeatPacking Company](https://reader034.vdocument.in/reader034/viewer/2022042614/558c723dd8b42a65098b4649/html5/thumbnails/61.jpg)
![Page 62: 20141021 AWS Cloud Taekwon - Customer Session: The BeatPacking Company](https://reader034.vdocument.in/reader034/viewer/2022042614/558c723dd8b42a65098b4649/html5/thumbnails/62.jpg)
좋은 Hash key
적절히 분산되는 값
UUID O
timestamp X
![Page 63: 20141021 AWS Cloud Taekwon - Customer Session: The BeatPacking Company](https://reader034.vdocument.in/reader034/viewer/2022042614/558c723dd8b42a65098b4649/html5/thumbnails/63.jpg)
제약을 이해하고 쓰면 훌륭한 파트너
![Page 64: 20141021 AWS Cloud Taekwon - Customer Session: The BeatPacking Company](https://reader034.vdocument.in/reader034/viewer/2022042614/558c723dd8b42a65098b4649/html5/thumbnails/64.jpg)
RECAP
![Page 65: 20141021 AWS Cloud Taekwon - Customer Session: The BeatPacking Company](https://reader034.vdocument.in/reader034/viewer/2022042614/558c723dd8b42a65098b4649/html5/thumbnails/65.jpg)
자동화에 친화적으로
AWS가 대신 해준다면 최대한 이용하면서
제약을 이해하면
![Page 66: 20141021 AWS Cloud Taekwon - Customer Session: The BeatPacking Company](https://reader034.vdocument.in/reader034/viewer/2022042614/558c723dd8b42a65098b4649/html5/thumbnails/66.jpg)
![Page 67: 20141021 AWS Cloud Taekwon - Customer Session: The BeatPacking Company](https://reader034.vdocument.in/reader034/viewer/2022042614/558c723dd8b42a65098b4649/html5/thumbnails/67.jpg)
AWS 한국 사용자 모임
https://www.facebook.com
/groups/awskrug/
![Page 68: 20141021 AWS Cloud Taekwon - Customer Session: The BeatPacking Company](https://reader034.vdocument.in/reader034/viewer/2022042614/558c723dd8b42a65098b4649/html5/thumbnails/68.jpg)
감사합니다.