29
Devops, Devops, Devops, Devops, Devops Devops Kris Buytaert

Devops at Startup Weekend BXL

Embed Size (px)

DESCRIPTION

A 15 minutes Devops presentation at Startup Weekend Brussels

Citation preview

Page 1: Devops at Startup Weekend BXL

Devops, Devops, Devops, Devops, DevopsDevopsKris Buytaert

Page 2: Devops at Startup Weekend BXL

Kris BuytaertKris Buytaert

● I used to be a Dev, Then Became an OpI used to be a Dev, Then Became an Op● Senior Linux and Open Source Consultant Senior Linux and Open Source Consultant

@[email protected]● „„Infrastructure Architect“Infrastructure Architect“● Building Clouds since before the Cloud Building Clouds since before the Cloud ● Surviving the 10Surviving the 10thth floor test floor test● Co-Author of some books Co-Author of some books ● Guest Editor at some sites... Guest Editor at some sites...

Page 3: Devops at Startup Weekend BXL

Alternative TitlesAlternative Titles● Tales from Grumpy old Sysadmin Tales from Grumpy old Sysadmin

● Why your startup needs an automated Why your startup needs an automated infrastructureinfrastructure

● Devops, Devops, DevopsDevops, Devops, Devops

● Surviving the 10Surviving the 10thth floor test floor test

● Agile AdministrationAgile Administration

Page 4: Devops at Startup Weekend BXL

The community of developers whose work you The community of developers whose work you see on the Web, who probably don’t know what see on the Web, who probably don’t know what ADO or UML or JPA even stand for, deploy ADO or UML or JPA even stand for, deploy betterbetter systems at systems at less costless cost in in less timeless time at at lower risklower risk than we see in the Enterprise. This is true even than we see in the Enterprise. This is true even when you factor in the greater flexibility and when you factor in the greater flexibility and velocity of startups.velocity of startups.

Tim Bray , on his blog January 2010Tim Bray , on his blog January 2010

Page 5: Devops at Startup Weekend BXL

The Old DaysThe Old Days● ““Put this Code Live, here's a tarball” NOW! Put this Code Live, here's a tarball” NOW!

● What dependencies ?What dependencies ?

● No machines available ?No machines available ?

● What database ?What database ?

● Security ?Security ?

● High Availability ? High Availability ?

● Scalability ?Scalability ?

● My computer can't install this ?My computer can't install this ?

Page 6: Devops at Startup Weekend BXL

Devs vs OpsDevs vs Ops

Page 7: Devops at Startup Weekend BXL

10 days into operation10 days into operation● What High Load ? What Memory usage ?What High Load ? What Memory usage ?

● Are these Logs ? Or this is actualy customer Are these Logs ? Or this is actualy customer data ?data ?

● How many users are there , should they launch How many users are there , should they launch 100 queries each ?? Oh we're having 10K 100 queries each ?? Oh we're having 10K users users

● Why is debugging enabled ?Why is debugging enabled ?

● Who the fsck wrote this crap ? Who the fsck wrote this crap ?

Page 8: Devops at Startup Weekend BXL

11 days into operations11 days into operations

Page 9: Devops at Startup Weekend BXL

We can solve this !We can solve this !

● Some people think Some people think the Ops work starts the Ops work starts on deploymenton deployment

• Ops = both system, Ops = both system, app as platform !app as platform !

● It starts much earlierIt starts much earlier

● Get Devs and Ops to Get Devs and Ops to talk asaptalk asap

Page 10: Devops at Startup Weekend BXL

What's wrong with this ?What's wrong with this ?

Page 11: Devops at Startup Weekend BXL

Talk about Non Talk about Non functional Reqs NOW!functional Reqs NOW!

● SecuritySecurity

● BackupsBackups

● High AvailabilityHigh Availability

● UpgradabilityUpgradability

● Configuration MgmtConfiguration Mgmt

● Monitoring Monitoring

Page 12: Devops at Startup Weekend BXL

During DevelopmentDuring Development● Version ControlVersion Control

● Automated Build Automated Build

● Integrated Bugtracking Integrated Bugtracking

● Continous integrationContinous integration

● Integrated testingIntegrated testing

● Automated deployment on test platformsAutomated deployment on test platforms

Page 13: Devops at Startup Weekend BXL
Page 14: Devops at Startup Weekend BXL
Page 15: Devops at Startup Weekend BXL
Page 16: Devops at Startup Weekend BXL

The full montyThe full monty● Behaviour and functional testing to test Behaviour and functional testing to test

upgrades and new developmentsupgrades and new developments

● Automated Testing based on Automated Testing based on Continuous Continuous Integration Integration

● Automated Test Automated Test DeploymentsDeployments

● Automated Production DeploymentsAutomated Production Deployments

● Controlled Controlled Continuous DeploymentContinuous Deployment

Page 17: Devops at Startup Weekend BXL

Going Live Going Live

Page 18: Devops at Startup Weekend BXL

DeployingDeploying● Automated DeploymentsAutomated Deployments

● If my computer can't install it , the installer is If my computer can't install it , the installer is borkenborken

● Reproducable Reproducable

● Think: Think:

• Kickstart, FAI, Preseeding, SystemImager Kickstart, FAI, Preseeding, SystemImager SuiteSuite

Page 19: Devops at Startup Weekend BXL

An “ecosystem” that supports continuous delivery, from An “ecosystem” that supports continuous delivery, from infrastructure, data and configuration management to infrastructure, data and configuration management to business.business.

Through automation of the build, deployment, and testing Through automation of the build, deployment, and testing process, and improved collaboration between developers, process, and improved collaboration between developers, testers, and operations, delivery teams can get changes testers, and operations, delivery teams can get changes released in a matter of hours — sometimes even minutes–no released in a matter of hours — sometimes even minutes–no matter what the size of a project or the complexity of its code matter what the size of a project or the complexity of its code base.base.

Continuous Delivery , Jez HumbleContinuous Delivery , Jez Humble

Page 20: Devops at Startup Weekend BXL

Configuration MgmtConfiguration Mgmt● Configure 1000 nodes,Configure 1000 nodes,

● Modify 2000 files, Modify 2000 files,

● TogetherTogether

● Think : Think :

• Cfengine,Puppet, ChefCfengine,Puppet, Chef

● Put configs under version controlPut configs under version control

Page 21: Devops at Startup Weekend BXL

Deployment isn't the EndDeployment isn't the End● The job isn't done yetThe job isn't done yet

● MonitoringMonitoring

● UpgradingUpgrading

Page 22: Devops at Startup Weekend BXL

High AvailabiltyHigh Availabilty

Page 23: Devops at Startup Weekend BXL

ScalabilityScalability

Page 24: Devops at Startup Weekend BXL

MonitorMonitor

Page 25: Devops at Startup Weekend BXL

Surviving the test !Surviving the test !● After 5+ years of After 5+ years of

preaching I`m not preaching I`m not alone anymorealone anymore

● Devops, a new Devops, a new Movement ! Movement !

● Join the movement ! Join the movement !

• Devopsdays.org Devopsdays.org

• Agile System Agile System Adminstration Adminstration GoogleGroupsGoogleGroups

Page 26: Devops at Startup Weekend BXL

Devops a definitionDevops a definition● There is no definitionThere is no definition

● It certainly isn't a roleIt certainly isn't a role

● No strict rulesNo strict rules

● No strict toolsNo strict tools

● It's not even new It's not even new

● If you aren't doing it already ...If you aren't doing it already ...

.. failure is upon you ... .. failure is upon you ...

.... however ... .... however ...

Page 27: Devops at Startup Weekend BXL

CAMSCAMS● CultureCulture

● AutomationAutomation

● MeasurementMeasurement

● SharingSharing

Page 28: Devops at Startup Weekend BXL

`

Kris Buytaert <[email protected]>

Further Readinghttp://www.krisbuytaert.be/blog/http://www.inuits.be/http://www.virtualization.com/http://www.oreillygmt.com/

? !

Page 29: Devops at Startup Weekend BXL

Images: Images: http://www.flickr.com/photos/huffstutterrobertl/4135257384/http://www.flickr.com/photos/huffstutterrobertl/4135257384/

http://www.flickr.com/photos/brighton/2153602543/http://www.flickr.com/photos/brighton/2153602543/

http://www.flickr.com/photos/gchorus/2074271352/http://www.flickr.com/photos/gchorus/2074271352/

http://www.flickr.com/photos/49024304@N00/2951673691/sizes/l/http://www.flickr.com/photos/49024304@N00/2951673691/sizes/l/

http://www.flickr.com/photos/30302096@N06/2953698548/http://www.flickr.com/photos/30302096@N06/2953698548/

http://www.flickr.com/photos/jamescridland/613445810/http://www.flickr.com/photos/jamescridland/613445810/

http://www.flickr.com/photos/johnmcga/4468003947/http://www.flickr.com/photos/johnmcga/4468003947/

And a bunch taken from @patrickdebois and my presentation at And a bunch taken from @patrickdebois and my presentation at #devox2010#devox2010