This talk is an evolution of the one presented at FOSDEM'14, we talk about what are the common practices and methodologies for autoscaling, we also cover some best practices and the global scope of autoscaling inside your infrastructure.
2. Who am I?!
Marc
Cluet
(@lynxman)
Catalan
in
London
Head
of
Operations
at
<redacted>
17
years
of
experience
as
a
SysAdmin
Founding
member
of
Juju
and
MAAS
while
at
Canonical
Built
a
DevOps
Engineering
Team
at
Rackspace
Been
DevOps’in
for
the
last
5
years
3. Who am I?!
http://www.meetup.com/London-‐DevOps/
7. What is Autoscaling?!
The ability to automatically or semi-automatically
scale up and down a
group of servers based on
computing or traffic demand by
provisioning new services!
39. Autoscaling Tools!
Your own!!
Collect your metrics!
!collectd, diamond, statsd!
Have a good metrics database!
!influxDB, whisper, rrd!
40. Autoscaling Tools!
Your own!!
Write your own autoscaling code!
!with message queues! :)!
!attached to your code!
!brain close to the centre of decision!
42. Taking the most of it!
Beware of the Kraken!!
Autoscaling can be dangerous!
Have min-max allocations!
http://www.flickr.com/photos/liquidnight/5992114196/
43. Taking the most of it!
Choose the right metrics!
Stay with basic metrics!
!CPU, mem, I/O disk/net!
Review autoscaling strategy with
metrics!
44. Taking the most of it!
Choose your strategy!
Scale up early!
Scale down slowly!
Don’t apply the same strategy to all
apps!
45. Taking the most of it!
Phasing in and Phasing Out!
Have in mind time to availability!
Have in mind also decommission time!
Golden Images can help speed!