Professional Documents
Culture Documents
Infrastructures
Adam Jacob
Senior Partner
HJK Solutions
adam@hjksolutions.com
Overview
What is an Automated
Infrastructure?
Why is it so important?
MonkeyNews - A Case Study
Review
Q&A
Disclaimer
These are the tools we use
They are not the only tools
They may or may not be the right
tools for how you work or think
QuickTime and a
decompressor
are needed to see this picture.
What is an Automated
Infrastructure?
Automated
a process which may once have
been performed manually but has
been altered in some way which
allows a machine or computer to
either wholly or partially manipulate
the process to save time
QuickTime and a
decompressor
are needed to see this picture.
Infrastructure
Infrastructure is generally a set of
interconnected structural elements
that provide the framework
supporting an entire structure
QuickTime and a
decompressor
are needed to see this picture.
Automated Infrastructure
Why is it so important?
To Systems Administrators
Mitigates some failures
You want to be lazy
Repetition leads to burnout
You want to say Yes
For Startups
Time
Efficiency
Scalability
Economics
Flexibility
QuickTime and a
decompressor
are needed to see this picture.
QuickTime and a
decompressor
are needed to see this picture.
What is MonkeyNews
Small Startup
Like Digg, only about Monkeys
MonkeyNews on Launch
Day
Learn More!
John Allspaw - Capacity Management
3:45, right after this
Steps to Launch
Steps to Launch - OS
Install
Manual
Install each system
by hand
1 hour per system
OS Install Time
6
5
4
Hours3
2
1
0
Manual
Method
app1stg
ops1prod
db2prod
db1prod
app2prod
app1prod
Steps to Launch - OS
Install
Automated
Ops1prod built
manually
1 hour
Automated install
system (PXE)
EC2, Cloud
5
Hours
4
3
Attended
Unattended
2
1
0
PXE EC2
Method
Steps to Launch - OS
Install
OS Install Options
8
7
6
5
Hours4
3
2
1
0
Unattended
Attended
Manual
PXE
EC2
Method
Manual
Update each
machine in
/etc/hosts
Automated
Install a DNS Server
Config Management
Use a service
provider
Minutes30
20
10
0
6 1020 30 40 50
Number of Systems
Manual
Use a wiki
Automated
iClassify
LDAP
ControlTier
Roll your own
Manual
Add each user
everywhere
Automated
Use LDAP or AD
Configuration
Management
Minutes30
20
10
0
6 10 20 30 40 50
Number of Systems
An Easy One
You must use version control
QuickTime and a
decompressor
are needed to see this picture.
Version Control
Wiki
Check in copies of
config files
Try and keep a
record of what
you have done
Cfengine
Puppet
Bcfg2
Vertebra?
Infrastructure as
Code
Learn more!
Luke Kanies - Puppet Author
4:45 Today
Manual
Add each server by
hand
Automated
Use your System
Inventory and
Configuration
Management Tools
5
4
3
Manual
Automated
2
1
0
Files
QuickTime and a
decompressor
are needed to see this picture.
Manual
Update the
application by
hand
Automated
Use Capistrano
Use ControlTier
Integrated with
System Inventory
Mistakes
4%
2%
0%
1
10
Launch Day
QuickTime and a
decompressor
are needed to see this picture.
Tech Crunched!
Symptoms
Monitors alert
Trending shows the traffic spike
Your RSS reader has the culprit
New Hire
Issue
MonkeyNews
hires a new
engineer
Resolution
Add the user to
LDAP
Add the right group
privileges
Issue
MonkeyNews has
started taking
micro-payments
(for bananas)
Resolution
Update Apache
Virtual Host in your
Configuration
Management
Add the SSL
Certificates to
Configuration
Management
< 10 minutes from
start to finish
Resolution
Use EC2
Instances talk to
iClassify
Puppet builds them
like any other host
Monitoring,
Trending, Identity,
all done
Just Deploy.
Review
43
Review
Automated Infrastructure means:
Having the basic services necessary for
your business to operate largely without
the aid of a keeper.
Automated Infrastructure
Saves time
Increases efficiency
Allows for scalability
Reduces economic impact
Improves flexibility