SlideShare a Scribd company logo
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
官順暉 (Drake), KKStream / KKBOX
May 20th, 2016
Seamless service migration with 

AWS Enterprise Support
Who am I? Who are We?
• Technical Director, KKStream.
• Committee member, PyCon TW
• Spin off from KKBOX on March.
• Media streaming solutions.
Proclaim #1
“I would like to talk about our journey, starting from
migration of video streaming services from on-premises to
cloud. What we experienced and learnt with AWS
Enterprise Support team would be shared, and then our
future strategy with AWS.
No any deep-dives, or even codes gets mentioned on this
stage.”
Proclaim #2
“What I’m going to share is our stories in some context.
They might not fit to your business challenges, and there
might be even something subtly wrong.
Listen carefully with doubt is necessary; adapt them to your
challenges with twist is suggested.”
Let’s start from the result
Seamless service migration with AWS Enterprise Support
Videopass spec
• Video-on-demand streaming service in Japan.
• Modern adaptive streaming: HLS, DASH, MSS.
• Multi-platform: Android, iOS, Web, STB and TV.
• Seamless migration w/o down time from the previous not-
that-ok platform.
Videopass status
• More than 1M paid subscriptions (Japan only)
• 60,000 videos encoded
• 3,000 films encoded in one day (peak)
• Couple of million video-hours are watched
• EC2 instances: 4,000 cores (peak)
• Request per month: 3 billion (peak)
Seamless service migration with AWS Enterprise Support
Embraced AWS services
• EC2
• S3
• RDS
• VPC
• ELB
• Route 53
• CloudWatch
• AWS Config
• Elasticsearch
• ElastiCache
• SQS
• SNS
• SES
• SWF
• Lambda
• API Gateway
• DynamoDB
• EMR
• Redshift
All on cloud from day one
April 2014
Content Pipeline
• meta, images, videos, and
others, a variety of contents
we are dealing with.
• Different and even evolving
workflows, as DAGs,
comprise the core backbone.
• It should be robust and
accountable as we just like
put 1.5 (video) engineer.
Encoding System
• Amazon Simple Workflow (SWF)
• It is accountable, extendable, error-proofing
• We proposed priority queuing feature with others
• Raising soft limits is easy
• Orchestrating the execution of workflows for media
streaming service and even more
• PyCon APAC 2015
• 轉轉轉好運旺來⼀一起來之雲端轉檔⼤大作戰!
• PyCon Taiwan 2016
Counting our core pipeline technology on AWS can
be robust and secured, even though it (ex, SWF) is
not that mentioned here.
Lesson #1:
D-Day, Videopass migration
July 2015
Todo list
• Seamless migration to 1M users.
• Migration is split into 2 or 3 phases.
• Service status is watched and reported in minutes.
• 4+2 vendors to cooperate through API, data exchange
and discussion. (Taipei, Tokyo, London)
• Both on-site and remote engineers, operators and even
SQA are standby. (Taipei, Tokyo)
Live status
Everyone was caring about the live status, which means

no one was thinking about others!
AWS IEM
• One AWS SA noticed
something risky about RDS!
• He continuously and clearly
reported his discovery and
discussed with us.
• Obviously, it turns out he is
much familiar with underneath
services than us!
On d-day, all people is easier concentrating on instant
status, while AWS IEM team, as a team player with us,
help predict the future and prevent disasters.
Lesson #2:
AWS re:Invent 2015
October 2015
Seamless service migration with AWS Enterprise Support
After AWS re:Invent, We Thought
• Cost optimization:

- development faster, then deployment

- quit/change even faster if necessary
• Brainless scalability (PaaS):

- serverless microservices

- Lambda + API Gateway
• Deeper support:

- continuous mutual cooperation

- more KKBOX staffs to AWS re:Invent!
Seamless service migration with AWS Enterprise Support
https://aws.amazon.com/solutions/case-studies/kkbox/
We could leverage AWS resources to not just
evangelize technology and mindset, but also cultivate
our next-gen platform and even broaden our exposure.
Lesson #3:
Moving on to the next
January 2016
What is the next-gen streaming big thing?
• Much complicated business logics
• FVOD, SVOD, TVOD, AVOD, bundle sale, …
• Higher demand of streaming experience
• Viewing quality, picking w/o searching, personalization, …
• Different but rich content
• Live music, linear TV, enterprise education, …
• Insane operation situation
• Massive ingestion, dynamic layout, auto-subtitle, auto-
screenshot, …
Our strategy for the next
• We just like to have 1.5 AWS expert if possible, or 1
expert with some intermediates.
• We would focus on core part of next-gen services while
infrastructure issues are delegated to someone trustful,
like AWS.
Serverless APIs on AWS!
Lots of trickys in AWS services
• We might be one of pioneering teams here trying to build
fully serverless APIs through API Gateway, Lambda, …
• DynamoDB is really expensive if you use it in this way …
• Lambda has cold start issue such that …
• Not just CPU, but also network and disk performance are
all positively related to memory in Lambda …
• Don’t use CodeCommit or CodePipeline because …
We realized that we won’t be that expertized in some AWS
tricks, but we can aggressively start some plan because
AWS ES team would fully and honestly support us.
Lesson #4:
And we want more from AWS
March 2016
“How about putting # of AWS support cases into our KPI?” – interesting feedback
Then, all our team, including non-developers, video content
quality assurers in Kaohsiung, has access to AWS Support
Center!
Treating AWS as a team player in KKStream can strongly
increase our expertise, team size, and even surprising
feedback. It’s like we hired the whole AWS ES team in!
Lesson #5:
Overall, the takeaways
Takeaways
• Before evaluating new AWS services, ask them directly.
They can always feedback something inspiring, trustful,
and accountable.
• AWS Support could be treated like part of your team,
instead of just tech Q&A vendor or consultant.
• Thinking about what your team like to be and focus on
that, then leveraging AWS resources for other parts.
Have I mentioned that we are hiring?
Thank you!

@drakeguan

More Related Content

PDF
AWS re:Invent 2016 Fast Forward
PDF
Streaming Experience
PDF
Migrate the Mission Critical Application to AWS Cloud
PDF
AWS reInvent 2016 recap Taiwan
PDF
Cloudsolutionday 2016: DevOps workflow with Docker on AWS
PPTX
AWS ELB Tips & Best Practices
PDF
Evolving the Netflix API
PDF
Meetup #4: AWS ELB Deep dive & Best practices
AWS re:Invent 2016 Fast Forward
Streaming Experience
Migrate the Mission Critical Application to AWS Cloud
AWS reInvent 2016 recap Taiwan
Cloudsolutionday 2016: DevOps workflow with Docker on AWS
AWS ELB Tips & Best Practices
Evolving the Netflix API
Meetup #4: AWS ELB Deep dive & Best practices

What's hot (10)

PPTX
Cloudsolutionday 2016: Getting Started with Severless Architecture
PPTX
從劍宗到氣宗 - 談AWS ECS與Serverless最佳實踐
PPTX
Meetup #3: Migrate a fast scale system to AWS
PDF
Building a Modern Microservices Architecture at Gilt: The Essentials
PPTX
Container Management with Amazon ECS
PDF
Serverless computing
PDF
Brendon Foxen (Channel 4) - Speeding up Software Delivery at Channel 4
PPTX
Serverless design considerations for Cloud Native workloads
PPTX
Patterns for building resilient and scalable microservices platform on AWS
PPTX
Cloudhnologysstecociat
Cloudsolutionday 2016: Getting Started with Severless Architecture
從劍宗到氣宗 - 談AWS ECS與Serverless最佳實踐
Meetup #3: Migrate a fast scale system to AWS
Building a Modern Microservices Architecture at Gilt: The Essentials
Container Management with Amazon ECS
Serverless computing
Brendon Foxen (Channel 4) - Speeding up Software Delivery at Channel 4
Serverless design considerations for Cloud Native workloads
Patterns for building resilient and scalable microservices platform on AWS
Cloudhnologysstecociat
Ad

Viewers also liked (17)

PDF
KKBOX 建置日本百萬用戶等級 Video Streaming 服務的經驗分享
PDF
Orchestrating the execution of workflows for media streaming service and even...
PDF
從音樂走向影音服務 - KKBOX 的影音之路奮鬥史 - 序章
PDF
Python Experience in KKBOX Group
PDF
Python Programming in Entertainment Industry: Coding Style
PDF
Spatial Disorientation
PDF
PyConTW 2013 經驗分享
PDF
Why Python In Entertainment Industry?
PDF
How does Netflix Get Built and Triumphed?
PDF
平行化你的工作 part1
PDF
Python + NoSQL in Animations
PDF
Reyes and Shader Pipeline
PPTX
Considerations for large scale aws migration
PPTX
Cloud Based Rights Management with Azure RMS
PPTX
Rethinking it for digital transformation
PPTX
Massive Lift & Shift Migrations to Microsoft Azure with the Microsoft Migrati...
PDF
Nuvola: a tale of migration to AWS
KKBOX 建置日本百萬用戶等級 Video Streaming 服務的經驗分享
Orchestrating the execution of workflows for media streaming service and even...
從音樂走向影音服務 - KKBOX 的影音之路奮鬥史 - 序章
Python Experience in KKBOX Group
Python Programming in Entertainment Industry: Coding Style
Spatial Disorientation
PyConTW 2013 經驗分享
Why Python In Entertainment Industry?
How does Netflix Get Built and Triumphed?
平行化你的工作 part1
Python + NoSQL in Animations
Reyes and Shader Pipeline
Considerations for large scale aws migration
Cloud Based Rights Management with Azure RMS
Rethinking it for digital transformation
Massive Lift & Shift Migrations to Microsoft Azure with the Microsoft Migrati...
Nuvola: a tale of migration to AWS
Ad

Similar to Seamless service migration with AWS Enterprise Support (15)

PDF
AWS re:Invent 2020 Serverless Recap
PDF
Cloud School Dublin - Intro
PDF
AWS Cloud School Introductory Presentation
PPTX
Designing for elasticity on AWS
PDF
AWS Services Eagle View Dec-2017
PPTX
Designing for elasticity on AWS - 9.11.2015
PPTX
Fin jaws 202103
PDF
AWS DevOps: Introduction to DevOps on AWS
PPTX
Moving Viadeo to AWS (2015)
PDF
AWSome Day, Milan | 5 Marzo 2015 - Opening Keynote (Nicola Previati - Italy T...
PDF
[AWS에서의 미디어 및 엔터테인먼트] 클라우드에서의 브로드캐스팅 서비스
PPTX
Serverless at Lifestage
PDF
gkkAwscloudpractitioneressentialstraining
PDF
Application Delivery Patterns
PDF
Denver AWS Meetup -- August 2018
AWS re:Invent 2020 Serverless Recap
Cloud School Dublin - Intro
AWS Cloud School Introductory Presentation
Designing for elasticity on AWS
AWS Services Eagle View Dec-2017
Designing for elasticity on AWS - 9.11.2015
Fin jaws 202103
AWS DevOps: Introduction to DevOps on AWS
Moving Viadeo to AWS (2015)
AWSome Day, Milan | 5 Marzo 2015 - Opening Keynote (Nicola Previati - Italy T...
[AWS에서의 미디어 및 엔터테인먼트] 클라우드에서의 브로드캐스팅 서비스
Serverless at Lifestage
gkkAwscloudpractitioneressentialstraining
Application Delivery Patterns
Denver AWS Meetup -- August 2018

Recently uploaded (20)

PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Encapsulation theory and applications.pdf
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PPTX
Programs and apps: productivity, graphics, security and other tools
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
KodekX | Application Modernization Development
PDF
cuic standard and advanced reporting.pdf
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPTX
Big Data Technologies - Introduction.pptx
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Machine learning based COVID-19 study performance prediction
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
Unlocking AI with Model Context Protocol (MCP)
Encapsulation theory and applications.pdf
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Digital-Transformation-Roadmap-for-Companies.pptx
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Programs and apps: productivity, graphics, security and other tools
Understanding_Digital_Forensics_Presentation.pptx
KodekX | Application Modernization Development
cuic standard and advanced reporting.pdf
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Big Data Technologies - Introduction.pptx
The AUB Centre for AI in Media Proposal.docx
Machine learning based COVID-19 study performance prediction
Chapter 3 Spatial Domain Image Processing.pdf
Diabetes mellitus diagnosis method based random forest with bat algorithm
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Advanced methodologies resolving dimensionality complications for autism neur...

Seamless service migration with AWS Enterprise Support

  • 1. © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 官順暉 (Drake), KKStream / KKBOX May 20th, 2016 Seamless service migration with 
 AWS Enterprise Support
  • 2. Who am I? Who are We? • Technical Director, KKStream. • Committee member, PyCon TW • Spin off from KKBOX on March. • Media streaming solutions.
  • 3. Proclaim #1 “I would like to talk about our journey, starting from migration of video streaming services from on-premises to cloud. What we experienced and learnt with AWS Enterprise Support team would be shared, and then our future strategy with AWS. No any deep-dives, or even codes gets mentioned on this stage.”
  • 4. Proclaim #2 “What I’m going to share is our stories in some context. They might not fit to your business challenges, and there might be even something subtly wrong. Listen carefully with doubt is necessary; adapt them to your challenges with twist is suggested.”
  • 5. Let’s start from the result
  • 7. Videopass spec • Video-on-demand streaming service in Japan. • Modern adaptive streaming: HLS, DASH, MSS. • Multi-platform: Android, iOS, Web, STB and TV. • Seamless migration w/o down time from the previous not- that-ok platform.
  • 8. Videopass status • More than 1M paid subscriptions (Japan only) • 60,000 videos encoded • 3,000 films encoded in one day (peak) • Couple of million video-hours are watched • EC2 instances: 4,000 cores (peak) • Request per month: 3 billion (peak)
  • 10. Embraced AWS services • EC2 • S3 • RDS • VPC • ELB • Route 53 • CloudWatch • AWS Config • Elasticsearch • ElastiCache • SQS • SNS • SES • SWF • Lambda • API Gateway • DynamoDB • EMR • Redshift
  • 11. All on cloud from day one April 2014
  • 12. Content Pipeline • meta, images, videos, and others, a variety of contents we are dealing with. • Different and even evolving workflows, as DAGs, comprise the core backbone. • It should be robust and accountable as we just like put 1.5 (video) engineer.
  • 13. Encoding System • Amazon Simple Workflow (SWF) • It is accountable, extendable, error-proofing • We proposed priority queuing feature with others • Raising soft limits is easy • Orchestrating the execution of workflows for media streaming service and even more • PyCon APAC 2015 • 轉轉轉好運旺來⼀一起來之雲端轉檔⼤大作戰! • PyCon Taiwan 2016
  • 14. Counting our core pipeline technology on AWS can be robust and secured, even though it (ex, SWF) is not that mentioned here. Lesson #1:
  • 16. Todo list • Seamless migration to 1M users. • Migration is split into 2 or 3 phases. • Service status is watched and reported in minutes. • 4+2 vendors to cooperate through API, data exchange and discussion. (Taipei, Tokyo, London) • Both on-site and remote engineers, operators and even SQA are standby. (Taipei, Tokyo)
  • 17. Live status Everyone was caring about the live status, which means
 no one was thinking about others!
  • 18. AWS IEM • One AWS SA noticed something risky about RDS! • He continuously and clearly reported his discovery and discussed with us. • Obviously, it turns out he is much familiar with underneath services than us!
  • 19. On d-day, all people is easier concentrating on instant status, while AWS IEM team, as a team player with us, help predict the future and prevent disasters. Lesson #2:
  • 22. After AWS re:Invent, We Thought • Cost optimization:
 - development faster, then deployment
 - quit/change even faster if necessary • Brainless scalability (PaaS):
 - serverless microservices
 - Lambda + API Gateway • Deeper support:
 - continuous mutual cooperation
 - more KKBOX staffs to AWS re:Invent!
  • 25. We could leverage AWS resources to not just evangelize technology and mindset, but also cultivate our next-gen platform and even broaden our exposure. Lesson #3:
  • 26. Moving on to the next January 2016
  • 27. What is the next-gen streaming big thing? • Much complicated business logics • FVOD, SVOD, TVOD, AVOD, bundle sale, … • Higher demand of streaming experience • Viewing quality, picking w/o searching, personalization, … • Different but rich content • Live music, linear TV, enterprise education, … • Insane operation situation • Massive ingestion, dynamic layout, auto-subtitle, auto- screenshot, …
  • 28. Our strategy for the next • We just like to have 1.5 AWS expert if possible, or 1 expert with some intermediates. • We would focus on core part of next-gen services while infrastructure issues are delegated to someone trustful, like AWS.
  • 30. Lots of trickys in AWS services • We might be one of pioneering teams here trying to build fully serverless APIs through API Gateway, Lambda, … • DynamoDB is really expensive if you use it in this way … • Lambda has cold start issue such that … • Not just CPU, but also network and disk performance are all positively related to memory in Lambda … • Don’t use CodeCommit or CodePipeline because …
  • 31. We realized that we won’t be that expertized in some AWS tricks, but we can aggressively start some plan because AWS ES team would fully and honestly support us. Lesson #4:
  • 32. And we want more from AWS March 2016
  • 33. “How about putting # of AWS support cases into our KPI?” – interesting feedback
  • 34. Then, all our team, including non-developers, video content quality assurers in Kaohsiung, has access to AWS Support Center!
  • 35. Treating AWS as a team player in KKStream can strongly increase our expertise, team size, and even surprising feedback. It’s like we hired the whole AWS ES team in! Lesson #5:
  • 37. Takeaways • Before evaluating new AWS services, ask them directly. They can always feedback something inspiring, trustful, and accountable. • AWS Support could be treated like part of your team, instead of just tech Q&A vendor or consultant. • Thinking about what your team like to be and focus on that, then leveraging AWS resources for other parts.
  • 38. Have I mentioned that we are hiring?