Slide 1

Slide 1 text

Auto Scaling with Amazon Web Services

Slide 2

Slide 2 text

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

Slide 3

Slide 3 text

We are LIVE streaming video platform in Taiwan

Slide 4

Slide 4 text

We have the needs 1

Slide 5

Slide 5 text

> for? ◎ A robust service ◉ Traffic peak ◎ Dynamic service base ◉ Reasonable costs

Slide 6

Slide 6 text

How do we do it? 2

Slide 7

Slide 7 text

> Investigate ◎ Monitor traffic ◎ Analyze data ◎ Choose the scaling strategy ◉ Metrics ◉ Threshold

Slide 8

Slide 8 text

> Take Actions ◎ Autoscaler ◉ Ruby robot ◎ Amazon web services ◉ Elastic Compute Cloud (EC2) ◉ Elastic Load Balancing (ELB) ◉ Command Line Interface (CLI) ◉ ElastiCache ◎ Jenkins

Slide 9

Slide 9 text

Auto Scaling Flow autoscaler service (EC2) load balancing

Slide 10

Slide 10 text

Auto scale Deploy flow 3

Slide 11

Slide 11 text

start deploy launch instance Don’t miss the target!

Slide 12

Slide 12 text

Communicable Talk to me, autoscaler! Icon is made by Masanobu Imai from jenkins-ci.org, licensed under CC BY-SA 3.0

Slide 13

Slide 13 text

EC2 service Amazon Web Services Load Balancing monitor ElastiCache info exchange

Slide 14

Slide 14 text

release scale up Simple, clear, but not messy.

Slide 15

Slide 15 text

Thanks! Any questions?

Slide 16

Slide 16 text

AWS CLI (API) ◎ ec2 ◉ run-instances ◉ allocate-address ◉ associate-address ◉ disassociate-address ◉ release-address ◉ terminate-instances ◎ elb ◉ register/deregister

Slide 17

Slide 17 text

AWS CLI (API) ◎ ec2 ◉ deployment ○ describe-instance ○ create-image

Slide 18

Slide 18 text

Credits Special thanks to all the people who made and released these awesome resources for free: ◎ Presentation template by SlidesCarnival ◎ Photographs by Unsplash