Top Banner
Continuous Deployment with Auto Scaling by Dominic Umbeer
16

Continuous deployment with ASG

Jul 18, 2015

Download

Documents

Slobodan Utvić
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Continuous deployment with ASG

Continuous Deployment with Auto Scaling by Dominic Umbeer

Page 2: Continuous deployment with ASG

We Help You to ...

•  Plan your app launch

•  Scale your user base

•  Maximize your revenue

Applaunch

User retention &monetization

UseracquisitionApp user

analysis&

targeting

Page 3: Continuous deployment with ASG

~ 35,000 Requests per Second

Trademob on AWS

~ 120 Instances

10 Auto Scaling Groups

3 - 5 Deployments

per Week

Page 4: Continuous deployment with ASG

Continuous Deployments

Requests per Minute Number of Instances

700,000

600,000

400,000

200,000

500,000

300,000

100,000

15

14

13

11

10

8

7

5

4

12

9

6

30

00:00 02:00 04:00 06:00 08:00 10:00 12:00 14:00 16:00 18:00 20:00 22:00

Page 5: Continuous deployment with ASG

Continuous Deployments

Requests per Minute Number of Instances

700,000

600,000

400,000

200,000

500,000

300,000

100,000

15

14

13

11

10

8

7

5

4

12

9

6

30

00:00 02:00 04:00 06:00 08:00 10:00 12:00 14:00 16:00 18:00 20:00 22:00

Page 6: Continuous deployment with ASG

What Is Important

Stable & Reliable Auto Scaling Process 1

Fast Scaling 2

Rollback 3

Page 7: Continuous deployment with ASG

Instance Launch

Launch Time

Production Ready

Software Installations

External Dependencies

Deployment Application/Service

Page 8: Continuous deployment with ASG

Instance Launch

Launch Time

Production Ready

Software Installations

External Dependencies

Deployment Application/Service

Page 9: Continuous deployment with ASG

Amazon Machine Image (AMI)

Launch Time

Software Installations

External Dependencies

Deployment Application/Service

Page 10: Continuous deployment with ASG

Amazon Machine Image (AMI)

Launch Time

AMI Creation

Software Installations

External Dependencies

Deployment Application/

Service

Page 11: Continuous deployment with ASG

ASG – AMI Configuration

Auto Scaling Group

Availability Zone 1 Availability Zone 2

AMI

Page 12: Continuous deployment with ASG

ASG – AMI Configuration

Auto Scaling Group

Availability Zone 1 Availability Zone 2

AMI

Page 13: Continuous deployment with ASG

ASG – Instance Replacement

Auto Scaling Group

Availability Zone 1 Availability Zone 2

AMI

Page 14: Continuous deployment with ASG

ASG – Instance Replacement

Auto Scaling Group

Availability Zone 1 Availability Zone 2

AMI

Page 15: Continuous deployment with ASG

ASG – Instance Replacement

Auto Scaling Group

Availability Zone 1 Availability Zone 2

AMI

Page 16: Continuous deployment with ASG

Facts in a Nutshell

Higher Stability of Auto Scaling Groups 1

Faster Instance Launch 2

Release == AMI 3

Rollback 4