DevOps Track · Jon Topper, The Scale Factory · 24 September 2013
DevOps & Drupal
in a Large Organisation
Slide 2
Slide 2 text
DevOps
Slide 3
Slide 3 text
DevOps
Slide 4
Slide 4 text
The Four Pillars of DevOps
Culture
Automation
Monitoring
Sharing
Slide 5
Slide 5 text
DevOps Success Stories
Launched 2010
Founded 2004
Launched 2005
Founded 2006
Launched 2008
Slide 6
Slide 6 text
DevOps Success Stories
Slide 7
Slide 7 text
Other Companies?
Slide 8
Slide 8 text
No content
Slide 9
Slide 9 text
ITV
‣ UK’s largest commercial TV network
‣ Launched 1955
‣ >4000 employees
‣ £2,196 million (revenue 2012)
Slide 10
Slide 10 text
Q4 2010 - status quo
‣ Internally-built .Net CMS
‣ Small number of Drupal 6 sites
‣ Releases every 6 weeks (multi-hour, overnight)
‣ Onerous change management process
‣ Multi-tier operations team
‣ Poor availability and performance
‣ Minimal monitoring
Slide 11
Slide 11 text
Q4 2010 - status quo
Slide 12
Slide 12 text
Context
‣ Web deliverables tied to TV broadcast dates
‣ Broadcast dates are immutable
‣ Last-minute changes
‣ Curveball projects from other departments
‣ Recovering from lay-offs
‣ Third parties responsible for service delivery
Slide 13
Slide 13 text
Q4 2010 - in-flight projects
‣ Multi-million GBP data centre refresh
‣ Business transformation program
‣ New online video player project
‣ New CMS project
Slide 14
Slide 14 text
New Linux Platform
‣ On the new data centre platform (VMWare / RedHat)
‣ Automated using Puppet
‣ Development environments with Vagrant
‣ Continuous Deployment pipeline with Jenkins
‣ New team members hired
Slide 15
Slide 15 text
Puppet
‣ Configuration Management tool
‣ “Infrastructure as Code”
‣ Convergent
‣ Runs client/server or masterless
Slide 16
Slide 16 text
Vagrant
‣ Tool for managing dev environments
‣ Supports Linux, Mac, Windows
‣ Integrates with CM tools (eg. puppet)
‣ Folder sharing
‣ As portable as your laptop
Slide 17
Slide 17 text
Jenkins
‣ Orchestration of build/test/deploy pipeline
‣ Dashboard for build status
‣ Role based access control
‣ Huge plugin ecosystem
Slide 18
Slide 18 text
Zabbix
‣ Distributed monitoring platform
‣ Fetches time series data
‣ Can alert on anomaly
‣ Multiple data sources
‣ Zabbix agent/sender
‣ SNMP poll/traps
‣ JMX
Slide 19
Slide 19 text
Scope
‣ Initially two Drupal sites
‣ Intended to be a generic CMS
‣ Grew to include other Linux properties
‣ Grew further to include the new Player platform
‣ Several teams: on-site, and off-site
‣ ~50 developers
‣ Teams owned by different business units
Slide 20
Slide 20 text
Wins
‣ Automated deployment from day one
‣ New “automate everything” mindset
‣ New team members bring outside experience
‣ Removed complexity from change management
‣ Increased operational visibility
Slide 21
Slide 21 text
Challenges
‣ Environment and project built simultaneously
‣ Tight timescales - immutable
‣ All developers on contract
‣ Not all developers are full-stack competent
‣ Rapid team expansion
Slide 22
Slide 22 text
Consequences
‣ Automated testing largely ignored
‣ Low quality deliverables
‣ Blamestorming
‣ High staff turnover
‣ More experts brought in
‣ Fragile platform goes live
‣ Reduced confidence in Drupal
Slide 23
Slide 23 text
The Four Pillars of DevOps
Culture
Automation
Monitoring
Sharing
Slide 24
Slide 24 text
Learning
Success takes more than just good technology
Cultural factors will make or break a project
Cultural change is hard
Culture comes from the top
Cultural change under pressure is nearly impossible
All change takes time
Slide 25
Slide 25 text
Learning
Slide 26
Slide 26 text
http://www.scalefactory.com/
[email protected]
@jtopper
scalefactory
Jon Topper
Slide 27
Slide 27 text
THANK YOU!
WHAT DID YOU THINK?
Locate this session at the
DrupalCon Prague website:
http://prague2013.drupal.org/schedule
Click the “Take the survey” link