Auto Scaling with Amazon Web Services

D93c30bcb80c63e23fbb278abe1dca97?s=47 JeDDieChuang
September 12, 2015

Auto Scaling with Amazon Web Services

A 5 minutes introduction of how we build auto scaling with Amazon Web Services, and integrating it with deployment flow.

D93c30bcb80c63e23fbb278abe1dca97?s=128

JeDDieChuang

September 12, 2015
Tweet

Transcript

  1. Auto Scaling with Amazon Web Services

  2. Hello! I am JeDDie A software engineer; a Rails developer.

  3. We are LIVE streaming video platform in Taiwan

  4. We have the needs 1

  5. > for? ◎ A robust service ◉ Traffic peak ◎

    Dynamic service base ◉ Reasonable costs
  6. How do we do it? 2

  7. > Investigate ◎ Monitor traffic ◎ Analyze data ◎ Choose

    the scaling strategy ◉ Metrics ◉ Threshold
  8. > Take Actions ◎ Autoscaler ◉ Ruby robot ◎ Amazon

    web services ◉ Elastic Compute Cloud (EC2) ◉ Elastic Load Balancing (ELB) ◉ Command Line Interface (CLI) ◉ ElastiCache ◎ Jenkins
  9. Auto Scaling Flow autoscaler service (EC2) load balancing

  10. Auto scale Deploy flow 3

  11. start deploy launch instance Don’t miss the target!

  12. Communicable Talk to me, autoscaler! Icon is made by Masanobu

    Imai from jenkins-ci.org, licensed under CC BY-SA 3.0
  13. EC2 service Amazon Web Services Load Balancing monitor ElastiCache info

    exchange
  14. release scale up Simple, clear, but not messy.

  15. Thanks! Any questions?

  16. AWS CLI (API) ◎ ec2 ◉ run-instances ◉ allocate-address ◉

    associate-address ◉ disassociate-address ◉ release-address ◉ terminate-instances ◎ elb ◉ register/deregister
  17. AWS CLI (API) ◎ ec2 ◉ deployment ○ describe-instance ○

    create-image
  18. Credits Special thanks to all the people who made and

    released these awesome resources for free: ◎ Presentation template by SlidesCarnival ◎ Photographs by Unsplash