A 5 minutes introduction of how we build auto scaling with Amazon Web Services, and integrating it with deployment flow.
Auto ScalingwithAmazon Web Services
View Slide
Hello!I am JeDDieA software engineer; a Rails developer.
We areLIVE streaming video platform in Taiwan
We have the needs1
> for?◎ A robust service◉ Traffic peak◎ Dynamic service base◉ Reasonable costs
How do we do it?2
> Investigate◎ Monitor traffic◎ Analyze data◎ Choose the scaling strategy◉ Metrics◉ Threshold
> Take Actions◎ Autoscaler◉ Ruby robot◎ Amazon web services◉ Elastic Compute Cloud (EC2)◉ Elastic Load Balancing (ELB)◉ Command Line Interface (CLI)◉ ElastiCache◎ Jenkins
Auto Scaling Flowautoscalerservice (EC2)load balancing
Auto scale Deploy flow3
startdeploylaunchinstanceDon’t miss the target!
CommunicableTalk to me, autoscaler!Icon is made by Masanobu Imai from jenkins-ci.org, licensed under CC BY-SA 3.0
EC2serviceAmazon Web ServicesLoad BalancingmonitorElastiCacheinfo exchange
release scale upSimple, clear, but not messy.
Thanks!Any questions?
AWS CLI (API)◎ ec2◉ run-instances◉ allocate-address◉ associate-address◉ disassociate-address◉ release-address◉ terminate-instances◎ elb◉ register/deregister
AWS CLI (API)◎ ec2◉ deployment○ describe-instance○ create-image
CreditsSpecial thanks to all the peoplewho made and released theseawesome resources for free:◎ Presentation template bySlidesCarnival◎ Photographs by Unsplash