devops’’ - wordpress.com · agile*movement using*scrum,*xp,*kanban*and* safetodeliversoware ......
TRANSCRIPT
1 © Copyright 2014 SingleStone
DevOps DeMys*fied
Innovate Virginia October 24, 2014
Presenters: Ryan Shriver, Dave Tashner & Jay Hogan
2 © Copyright 2014 SingleStone
Demo: Building a Con>nuous Delivery pipeline using GitHub, AWS, Chef, Jenkins, Spring, Tomcat & AppDynamics
Topics for Today
Rise of DevOps
Common DevOps Skills and PracFces
Common DevOps Tools
Impact of DevOps on OrganizaFons
Q & A
3 © Copyright 2014 SingleStone
Who are We?
Ryan Shriver @ryanshriver
Dave Tashner
4 © Copyright 2014 SingleStone
SingleStone’s Customer Experience CapabiliFes We provide a beNer, more human approach to driving posi>ve customer experiences and therefore beNer business results
Embrace change
& empower progress
Life>me loyalty
Reduce complexity
Personal & fric>onless interac>on
Predict her next need
Efficient & reliable services
Organiza>on Development &
Change Management
Technology PlaXorms & Development
CX Strategy
Process Excellence
Data & Analy>cs
DevOps & Cloud
Moments that MaNer Customer Research
5 © Copyright 2014 SingleStone
DevOps is…
• Fundamentally about breaking down the silos between development and opera>ons
• Encouraging dev and ops teams to beNer collaborate and communicate
• About quickly and reliably delivering services to customers always with high quality
• A broad umbrella term for tools and skills that typically involves a heavy dose of automa>on
• A very convenient label to market products, services and presenta>ons like this one
6 © Copyright 2014 SingleStone
Why DevOps Now? The convergence of key forces is helping drive the growth of DevOps
Hardware Virtualiza>on
Cloud
Lean Opera>ons
Time to Market
Digital Customer Experience
What used to be hardware is now controllable by so^ware
Pay as you go storage, compute and network
Applying principles and prac>ces
Businesses want to quickly bring ideas to market
Customers are global, social and mobile.
Agile Movement Using Scrum, XP, Kanban and SAFe to deliver so^ware
DevOps
7 © Copyright 2014 SingleStone
Common DevOps Tools
Ops Tools Dev Tools
Monitoring AppDynamics, New Relic, CompuwareAPM, Nagios
Build Automa>on Maven, Ant, nAnt, ms-‐build
Acceptance Tes>ng Cucumber, FitNesse, Selenium,
Lots of commercial tools
Con>nuous Integra>on Jenkins/Hudson, TFS, Cloudbees
Release Automa>on Passenger, uDeploy, Capitstrano,
Lots of commercial tools
Scrip>ng / Languages
Bash, PowerShell, Ruby, Python, Java, C#
Infrastructure Configura>on Chef, Puppet, SALT Stack, Ansible
Cloud AWS, Azure, OpenStack, VMWare and others
Version Control Git, Subversion, TFS
Log Management Splunk, Loggly, Log4J
Web/App Servers Apache, IIS, Tomcat, Jboss,
WebLogic, others
Database Servers Oracle, mySQL, SQL Server, Postgres, MongoDB, Hadoop
Integrated Dev. Env. Eclipse, Visual Studio,
Textmate, tons of others
Performance Tes>ng LoadRunner, LoadImpact,
Apica, others
Service Mgmt. ServiceNow, JIRA, ITIL tools,
Security AcUveDirectory, LDAP, RSA, tons of others
Networking F5, Cisco, Dyn, tons of others
Communica>on & Collabora>on. Instance message, video chat, Wiki’s, tons of others
Unit Tes>ng RSpec, JUnit, nUnit,
Virtualiza>on Vagrant, VirtualBox,
VMWare
Opera>ng Systems Linux, Windows, OSX
8 © Copyright 2014 SingleStone
Common App Stack
Monitoring App
App Configura>on Middleware & Components
Opera>ng System Hypervisor & Cloud Physical Hardware
& Network
9 © Copyright 2014 SingleStone
App Stack in Most Orgs
Monitoring App
App Configura>on Middleware & Components
Opera>ng System Hypervisor & Cloud Physical Hardware
& Network
Opera>ons Managed
Development Managed in
Code
Typically running in private/co-‐located data center or by a managed
service provider.
10 © Copyright 2014 SingleStone
App Stack in DevOps Org
Monitoring App
App Configura>on Middleware & Components
Opera>ng System Hypervisor & Cloud Physical Hardware
& Network
Opera>ons Managed
Development Managed in
Code
Infrastructure Configured in
Code
Can be managed by dev, ops or ‘systems’ teams. En>re stack from OS up can be built on-‐demand with code and tests
Typically managed by a Cloud provider running in their datacenter
(public) or within exis>ng datacenter (private)
11 © Copyright 2014 SingleStone
Step 1: Provision and Configure Infrastructure
Automate the crea>on of a Web App Before we do that we need some infrastructure
12 © Copyright 2014 SingleStone
Common DevOps Skills & PracFces
Prac*ces Skills
Infrastructure as Code
Systems Thinker
Con>nuous Integra>on
Con>nuous Delivery
Problem Solver
Agile So^ware Development
Understand how so^ware works at run>me
Interested in quality, scalability and performance
Blue / Green Deployments
Develop, Test and Run in Virtual’s
Automate to reduce wait >me and queues
Automated Regression and Performance Tests
Monitoring from Customer’s perspec>ve
Collabora>on & Communica>on
13 © Copyright 2014 SingleStone
Basic ConFnuous Delivery Pipeline App and Infrastructure code commits to version control to kick off the process
Version Control
Get latest change
Build & Unit Test App
Deploy & Configure
App
Regression & Performance Test
App
Provision, Configure & Test Stack
Automated Analysis
Deploy to
Customers?
Any failed step halts
the process!
14 © Copyright 2014 SingleStone
Step 2: It’s Alive!
Now it’s >me for audience par>cipa>on
15 © Copyright 2014 SingleStone
Step 3: Release New Feature Developer merges latest feature in GitHub Jenkins pulls merged code from GitHub
Builds and deploys App to Tomcat No>fies registered par>cipants
16 © Copyright 2014 SingleStone
Benefits of DevOps
Their Customers Organiza*ons
Faster Time to Market of New Features
More Responsive to Customer Feedback
More Responsive to Market Changes
Break down the Silos
Streamline Release Processes
Improved Availability, Quality and Performance
Always Releasable Product
Increased Collabora>on
Reduce Issue Resolu>on Time
17 © Copyright 2014 SingleStone
Step 4: New Feature Live “Selfie” feature released to customers
18 © Copyright 2014 SingleStone
QuesFons?
This presenta>on and all code used in today’s demo is available at github.com/singlestone We’ll be around the rest of today if you want to chat further
Oh, and we’re hiring. If you like this stuff visit our booth or singlestoneconsul>ng.com
19 © Copyright 2014 SingleStone
Step 5: Tear down environment Watch it go “poof”