DevOps for the Rest of Us - DCCD Feb 2016stsiinc.com/wp-content/uploads/2016/02/DevOps-for... ·...
Transcript of DevOps for the Rest of Us - DCCD Feb 2016stsiinc.com/wp-content/uploads/2016/02/DevOps-for... ·...
![Page 1: DevOps for the Rest of Us - DCCD Feb 2016stsiinc.com/wp-content/uploads/2016/02/DevOps-for... · Keep Calm. The Monster. What is a DevOps? Dev Ops Quick Recovery Automated Testing](https://reader033.fdocuments.in/reader033/viewer/2022050215/5f614dcb869a071710648355/html5/thumbnails/1.jpg)
DevOpsfor the
Rest of Us
Ben Morris, Chris Cassatt Presented at DC Continuous Delivery, February 2016
![Page 2: DevOps for the Rest of Us - DCCD Feb 2016stsiinc.com/wp-content/uploads/2016/02/DevOps-for... · Keep Calm. The Monster. What is a DevOps? Dev Ops Quick Recovery Automated Testing](https://reader033.fdocuments.in/reader033/viewer/2022050215/5f614dcb869a071710648355/html5/thumbnails/2.jpg)
Government Deserves Better_____________
STSIstsiinc.com
Software
![Page 3: DevOps for the Rest of Us - DCCD Feb 2016stsiinc.com/wp-content/uploads/2016/02/DevOps-for... · Keep Calm. The Monster. What is a DevOps? Dev Ops Quick Recovery Automated Testing](https://reader033.fdocuments.in/reader033/viewer/2022050215/5f614dcb869a071710648355/html5/thumbnails/3.jpg)
About STSI
Application Modernization
DevOps Adoption
Open Data APIs
ü DevOps Implementation: roll out the technical integrations necessary to support automation
ü DevOps Support: provide the ongoing central capability supporting development teams
ü API Solutions: make data available to developers in machine-accessible formats such as JSON
ü Citizen Portals: provide user-friendly access to information, datasets, and related metadata
üRapid Prototyping: leverage open source frameworks to rapidly build applications in collaboration with users
üApplication Roadmaps: ensure that systems continue to support the mission
üObsolescence Mitigation: adapt to industry support timelines and manage software risk
SolutionTechnologySystems, Inc.(STSI) delivers ondigitalgovernmentstrategiestohelpUSFederalGovernmentagenciesbetterexecutetheirmissionthroughtechnology.
![Page 4: DevOps for the Rest of Us - DCCD Feb 2016stsiinc.com/wp-content/uploads/2016/02/DevOps-for... · Keep Calm. The Monster. What is a DevOps? Dev Ops Quick Recovery Automated Testing](https://reader033.fdocuments.in/reader033/viewer/2022050215/5f614dcb869a071710648355/html5/thumbnails/4.jpg)
![Page 5: DevOps for the Rest of Us - DCCD Feb 2016stsiinc.com/wp-content/uploads/2016/02/DevOps-for... · Keep Calm. The Monster. What is a DevOps? Dev Ops Quick Recovery Automated Testing](https://reader033.fdocuments.in/reader033/viewer/2022050215/5f614dcb869a071710648355/html5/thumbnails/5.jpg)
THE DARK AGESA world without automation
![Page 6: DevOps for the Rest of Us - DCCD Feb 2016stsiinc.com/wp-content/uploads/2016/02/DevOps-for... · Keep Calm. The Monster. What is a DevOps? Dev Ops Quick Recovery Automated Testing](https://reader033.fdocuments.in/reader033/viewer/2022050215/5f614dcb869a071710648355/html5/thumbnails/6.jpg)
Just get your environment set up…
![Page 7: DevOps for the Rest of Us - DCCD Feb 2016stsiinc.com/wp-content/uploads/2016/02/DevOps-for... · Keep Calm. The Monster. What is a DevOps? Dev Ops Quick Recovery Automated Testing](https://reader033.fdocuments.in/reader033/viewer/2022050215/5f614dcb869a071710648355/html5/thumbnails/7.jpg)
… and now you’re ready to deploy!
![Page 8: DevOps for the Rest of Us - DCCD Feb 2016stsiinc.com/wp-content/uploads/2016/02/DevOps-for... · Keep Calm. The Monster. What is a DevOps? Dev Ops Quick Recovery Automated Testing](https://reader033.fdocuments.in/reader033/viewer/2022050215/5f614dcb869a071710648355/html5/thumbnails/8.jpg)
(Don’t forget to monitor production)
![Page 9: DevOps for the Rest of Us - DCCD Feb 2016stsiinc.com/wp-content/uploads/2016/02/DevOps-for... · Keep Calm. The Monster. What is a DevOps? Dev Ops Quick Recovery Automated Testing](https://reader033.fdocuments.in/reader033/viewer/2022050215/5f614dcb869a071710648355/html5/thumbnails/9.jpg)
Keep Calm
![Page 10: DevOps for the Rest of Us - DCCD Feb 2016stsiinc.com/wp-content/uploads/2016/02/DevOps-for... · Keep Calm. The Monster. What is a DevOps? Dev Ops Quick Recovery Automated Testing](https://reader033.fdocuments.in/reader033/viewer/2022050215/5f614dcb869a071710648355/html5/thumbnails/10.jpg)
The Monster
![Page 11: DevOps for the Rest of Us - DCCD Feb 2016stsiinc.com/wp-content/uploads/2016/02/DevOps-for... · Keep Calm. The Monster. What is a DevOps? Dev Ops Quick Recovery Automated Testing](https://reader033.fdocuments.in/reader033/viewer/2022050215/5f614dcb869a071710648355/html5/thumbnails/11.jpg)
![Page 12: DevOps for the Rest of Us - DCCD Feb 2016stsiinc.com/wp-content/uploads/2016/02/DevOps-for... · Keep Calm. The Monster. What is a DevOps? Dev Ops Quick Recovery Automated Testing](https://reader033.fdocuments.in/reader033/viewer/2022050215/5f614dcb869a071710648355/html5/thumbnails/12.jpg)
What is a DevOps?
Dev OpsQuick
Recovery
AutomatedTesting
Monitoring
Auto-Scaling
Infrastructure as Code
SourceControl Cloud
Dependency Management
Scripted DBChanges
ContinuousIntegration
ContinuousDeployment
Our definition: A collection of practices bringing greater automation and collaboration across IT application development and operations
InfiniteEnvironmentsQuick
Deploy
Collaboration
Efficiency
FeedbackCycles
DynamicInfrastructure
![Page 13: DevOps for the Rest of Us - DCCD Feb 2016stsiinc.com/wp-content/uploads/2016/02/DevOps-for... · Keep Calm. The Monster. What is a DevOps? Dev Ops Quick Recovery Automated Testing](https://reader033.fdocuments.in/reader033/viewer/2022050215/5f614dcb869a071710648355/html5/thumbnails/13.jpg)
Enough Talk, it’s Demo Time!
q Set up your environmentq Check out a feature branch w/ Gitq Write automated acceptance testq Push code to continuous integration server
q Watch the test FAILq Script a database changeq Add a dependencyq Make code changes
q Watch tests PASSq Push the branch to GitHub
q More CI actionq It’s alive! (in staging)
![Page 14: DevOps for the Rest of Us - DCCD Feb 2016stsiinc.com/wp-content/uploads/2016/02/DevOps-for... · Keep Calm. The Monster. What is a DevOps? Dev Ops Quick Recovery Automated Testing](https://reader033.fdocuments.in/reader033/viewer/2022050215/5f614dcb869a071710648355/html5/thumbnails/14.jpg)
How This App Was DevOps’d
CI ServercircleCI
Production Environment
AWS
S3
ContinuousMonitoring
New RelicChatSlack
DockerImage Repo
Docker Hub
Application
Dockerfile
circle.yml
Gemfile
bower.json
setup.py
/db/migrate
/spec
/gruve/tests/
Source RepoGitHub
Developersecrets
Setupserver shell
Install dependencies
Setup database
Run tests
Deploy Docker image
Elastic Beanstalk
![Page 15: DevOps for the Rest of Us - DCCD Feb 2016stsiinc.com/wp-content/uploads/2016/02/DevOps-for... · Keep Calm. The Monster. What is a DevOps? Dev Ops Quick Recovery Automated Testing](https://reader033.fdocuments.in/reader033/viewer/2022050215/5f614dcb869a071710648355/html5/thumbnails/15.jpg)
DevOps Saves!
ü Start quicklyDevelopers get up and running
ü Environments look alikeApplication is built from code (dependencies, database, etc.)Infrastructure is built from code (IaC, containers, etc.)
ü Refactor without fearAutomated tests act as a safety net
ü Deploy (& recover) easily Streamlined, but safeguarded
ü Automate production ops Monitor, scale, cache
now with30% more
Buzzwords!
![Page 16: DevOps for the Rest of Us - DCCD Feb 2016stsiinc.com/wp-content/uploads/2016/02/DevOps-for... · Keep Calm. The Monster. What is a DevOps? Dev Ops Quick Recovery Automated Testing](https://reader033.fdocuments.in/reader033/viewer/2022050215/5f614dcb869a071710648355/html5/thumbnails/16.jpg)
What is Right for Me?
“I don’t know where to start”§ Focus on the pain§ Start small, continue small
“We’re under pressure to ship, not work on this stuff”§ The right thing to do is often the
easy thing to do (it takes as much time to write a manual script as an automated one)
§ The benefits are often broader than you think
BEWAREOF TOOL FATIGUE
WARNING
![Page 17: DevOps for the Rest of Us - DCCD Feb 2016stsiinc.com/wp-content/uploads/2016/02/DevOps-for... · Keep Calm. The Monster. What is a DevOps? Dev Ops Quick Recovery Automated Testing](https://reader033.fdocuments.in/reader033/viewer/2022050215/5f614dcb869a071710648355/html5/thumbnails/17.jpg)
Final Thought
CAR 1ü Experimental engine w/
2x horsepowerü No brakesü No seatbelt
CAR 2ü Mediocre engineü Good brakesü Great seatbelt
Who wins?
![Page 18: DevOps for the Rest of Us - DCCD Feb 2016stsiinc.com/wp-content/uploads/2016/02/DevOps-for... · Keep Calm. The Monster. What is a DevOps? Dev Ops Quick Recovery Automated Testing](https://reader033.fdocuments.in/reader033/viewer/2022050215/5f614dcb869a071710648355/html5/thumbnails/18.jpg)
Thanks!More on STSI:stsiinc.com
Ben [email protected]@bengm
Chris [email protected]
Slides posted here
![Page 19: DevOps for the Rest of Us - DCCD Feb 2016stsiinc.com/wp-content/uploads/2016/02/DevOps-for... · Keep Calm. The Monster. What is a DevOps? Dev Ops Quick Recovery Automated Testing](https://reader033.fdocuments.in/reader033/viewer/2022050215/5f614dcb869a071710648355/html5/thumbnails/19.jpg)
Image Credits
Dark ages - Isaac Claesz. van Swanenburg [Public domain], via Wikimedia Commons; https://commons.wikimedia.org/wiki/File:Isaac_Claesz._van_Swanenburg_-_The_Removal_of_the_Wool_from_the_Skins_and_the_Combing_-_WGA21986.jpg
Scroll - By Photographs by Ardon Bar Hama, author of original document is unknown. (Website of The Israel Museum, Jerusalem, see link.) [Public domain], via Wikimedia Commons; https://commons.wikimedia.org/wiki/File:Great_Isaiah_Scroll.jpg
Keep Calm – Generated on https://www.keepcalm-o-matic.co.uk/
Pigeon Post - See page for author [Public domain], via Wikimedia Commons, https://commons.wikimedia.org/wiki/File:Pigeon_Messengers_(Harper%27s_Engraving).png
War Pigeon - By Bundesarchiv_Bild_183-R01996,_Brieftaube_mit_Fotokamera.jpg: o.Ang. derivative work: Hans Adler [CC BY-SA 3.0 de (http://creativecommons.org/licenses/by-sa/3.0/de/deed.en)], via Wikimedia Commons
Frankenstein’s Monster - By Theodore Von Holst (1810-1844) (Tate Britain. Private collection, Bath.) [Public domain], via Wikimedia Commons
Grand Prix - Formula One cars wind through the infield section of Indianapolis Motor Speedway at the 2003 United States Grand Prix, by Rick Dikeman, https://commons.wikimedia.org/wiki/File:Formula_one.jpg#/media/File:Formula_one.jpg