Using Chef and AppFirst to Automate Scale-out/Scale-down of Web Applications – Mark White

20
800.782.2181 www.appfirst.com Pamela@ AppFirst.com 1

description

We will demonstrate how using Chef and AppFirst you can automate scaling out and down a multi-tiered web application. As Chef builds out the multi-tier stack, it will dynamically add the AppFirst collectors to the servers it’s executing on. Once this is running we will drive load to our web application which triggers an AppFirst alert as utilization thresholds are met. Based upon receiving the alert Chef automatically deploys another web server with an AppFirst collector and adds it to the load balancer. Using AppFirst’s UI we’ll see that our web application is now handling the load without any problems.

Transcript of Using Chef and AppFirst to Automate Scale-out/Scale-down of Web Applications – Mark White

Page 1: Using Chef and AppFirst to Automate Scale-out/Scale-down of Web Applications – Mark White

800.782.2181 www.appfirst.com

Pamela@ AppFirst.com

1

Page 2: Using Chef and AppFirst to Automate Scale-out/Scale-down of Web Applications – Mark White

2

Page 3: Using Chef and AppFirst to Automate Scale-out/Scale-down of Web Applications – Mark White

3

Page 4: Using Chef and AppFirst to Automate Scale-out/Scale-down of Web Applications – Mark White

4

Page 5: Using Chef and AppFirst to Automate Scale-out/Scale-down of Web Applications – Mark White

5

•  Simultaneous Monitoring of Multiple Virtual

Ecosystems •  Business Intelligence •  Development Enablement •  Operational Oversight •  Big Data Simplified •  Criteria to Produce Common Operating Picture

Page 6: Using Chef and AppFirst to Automate Scale-out/Scale-down of Web Applications – Mark White

6

•  Monitoring •  Application Performance Management •  Log Management •  Business Intelligence Metrics •  Security •  Compliance

Page 7: Using Chef and AppFirst to Automate Scale-out/Scale-down of Web Applications – Mark White

7

Applications •  Web 2.0 Applications •  Enterprise Applications •  Distributed Applications •  Legacy Applications Application Dependencies

•  Database Relationships •  Frontend to Backend •  Storage Devices

Correlated Statistics •  System Resource Utilization •  Various BI metrics Response Times •  Network Response •  Application Response

Security •  Info Sec •  Compliance

Page 8: Using Chef and AppFirst to Automate Scale-out/Scale-down of Web Applications – Mark White

8 Different Silos = Different Views

•  DevOps: Rapid Development/Deployment •  Environments are changing faster than we,

the Ops half, can keep up. •  It’s not enough to just be point solution any

longer. •  Take Operational Intelligence and make it

Actionable Intelligence

Page 9: Using Chef and AppFirst to Automate Scale-out/Scale-down of Web Applications – Mark White

9 Different Silos = Different Views

Page 10: Using Chef and AppFirst to Automate Scale-out/Scale-down of Web Applications – Mark White

10

•  Provides a Common Operating Picture through Web UI •  Removal of silos for your Big Data •  Native Integration w/ JMX, Nagios, & StatsD •  Provides an agnostic, comprehensive set of data. •  Integration with Chef for Automated Scale Up/Down

based on foreseeable consequences of production issues.

Page 11: Using Chef and AppFirst to Automate Scale-out/Scale-down of Web Applications – Mark White

11

•  Alert based actionable intelligence. •  AppFirst will provision EC2 server without

human interaction •  AppFirst will terminate EC2 instance based

on drop off in usage levels •  Configurable via APIs

Page 12: Using Chef and AppFirst to Automate Scale-out/Scale-down of Web Applications – Mark White

12

Page 13: Using Chef and AppFirst to Automate Scale-out/Scale-down of Web Applications – Mark White

13

Page 14: Using Chef and AppFirst to Automate Scale-out/Scale-down of Web Applications – Mark White

14

Page 15: Using Chef and AppFirst to Automate Scale-out/Scale-down of Web Applications – Mark White

15

Page 16: Using Chef and AppFirst to Automate Scale-out/Scale-down of Web Applications – Mark White

16

Page 17: Using Chef and AppFirst to Automate Scale-out/Scale-down of Web Applications – Mark White

17

Page 18: Using Chef and AppFirst to Automate Scale-out/Scale-down of Web Applications – Mark White

18

Page 19: Using Chef and AppFirst to Automate Scale-out/Scale-down of Web Applications – Mark White

19

Page 20: Using Chef and AppFirst to Automate Scale-out/Scale-down of Web Applications – Mark White

20

** Patent Pending