devops and cloud
DESCRIPTION
DevOps presentation in OSDC 2014 BerlinTRANSCRIPT
Fernando HonigDevOps & Automation
Rackspace
CLOUD + DEVOPSNEW DATACENTER SERVICE MODEL
ABOUT ME
Fernando HonigMore than 10 years of experience
3 months Racker!
From Argentina
Worked at Intel, IBM, HP
SWITCH FROM THIS..
TO THIS..
QUESTION:
How many of you are in the cloud?
Let’s focus on..• Server Automation
• Configuration Management
• Everything as a Code
• Code Repositories
• Testing Overview
• M-T-V
• Money
• Time
• Value
CLOUD + DEVOPSNEW DATACENTER SERVICE MODEL
THEN, BE READY..
AUTOMATE YOUR SERVERS
Everything IS code!
Treat your Servers as Commodities
No Server should be “special”• Should be no “bob”, “skywalker”, “backup01” names
You might be able to remove a server with zero consequences
QUESTION:
How many of you use configuration management tools?
AUTOMATE YOUR SERVERS
Configuration ManagementCreates exactly what you needConforms a Server to a RoleMaintains State
QUESTION:
How many of you use continuous integration tools?
EVERYTHING AS A CODE
Code repositoriesCreate the same Development lifecycleYour Server code is also an application!
M-T-V
M-MoneyNo need to buy expensive toolsNo need to pay extra timeLess outage
T-TimeSpeed up your deployment cycle
V-ValueCode TestedCommon goal
DevOps!• Culture and Work methodology
• Set of tools
• Config Management
• Code Management
• Testing
• Monitoring
CLOUD + DEVOPSNEW DATACENTER SERVICE MODEL
DEVOPS!
DEVOPS!
Be AgileAgile methodologies help you get there earlyRelease early, release oftenRelease several times a dayCode + CI/CD ensures quality
DEVOPS!
Tools
Collectd, Statsd, Graphite
DEVOPS!
CODE MANAGEMENT
AUTOMATED WORKFLOWS
Collectd, Statsd, Graphite
MONITORING
CONFIG MANAGEMENT
AT RACKSPACE
CONFIG MGMT CODE MGMT WORKFLOW MONITORING
Collectd, Statsd
CI/CD
• What is CI? What is CD?
THE ETERNAL PROBLEM OF IT
How do I go faster?
HOW DO YOU EAT AN ELEPHANT?
24
TRADITIONAL RELEASE APPROACH
CUSTOMER EXPECTATIO
N
COMPETITION IS UNRELENTING
25
EX
PE
CTA
TIO
N
TIME
AREAS WHERE COMPETITORS MAY BE AHEAD
COMPETITION IS UNRELENTING
26
EX
PE
CTA
TIO
N
TIME
AUTOMATED TEST & DEPLOYMENT (CI/CD)
CUSTOMER EXPECTATIO
N
CONTINUOUS INTEGRATION
If you write it TEST it!Continuous Integration gives you assuranceSet on good behaviors
SERIOUSLY.. TEST IT!
IT WORKED FINE IN TEST
CONTINUOUS INTEGRATION
• Also known as CI
• Perform all tests automatically for every piece
of code
• EVERY SINGLE ONE
CONTINUOUS INTEGRATION
CONTINUOUS DEPLOYMENT
• Also known as CD
• It’s an optional extension to CI
• Once a piece of code has been through CI
releases it automatically
• Very useful for bugs and minor changes
CONTINUOUS DEPLOYMENT
Releases per day 30+ 100+ 20+ 2+
FeaturesReleased Thursday Tuesday Daily Monthly
HAVE YOU THOUGHT?
How much does an outage cost
in your company?
HOW TO WIN?
Automate Everything!
HOW TO WIN?
Plan to fail!
HOW TO WIN?
DevOps teams spend more time
improving things and
less time fixing things
HOW TO WIN?
DevOps teams recover
from failures
FASTER!
HOW TO WIN?
DevOps teams release apps
more than twice as fast
MetricsIf it moves Graph It
Graphs and logs are key for your successThe 5% top and bottom tells where to go
https://www.youtube.com/watch?v=_I94-tJlovg
What is DevOps? - In Simple English