WA2451 Devops Fundamentals
Total Page:16
File Type:pdf, Size:1020Kb
WA2451 DevOps Fundamentals Web Age Solutions Inc. USA: 1-877-517-6540 Canada: 1-866-206-4644 Web: http://www.webagesolutions.com The following terms are trademarks of other companies: Java and all Java-based trademarks and logos are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States, other countries, or both. Microsoft, Windows, Windows NT, and the Windows logo are trademarks of Microsoft Corporation in the United States, other countries, or both. UNIX is a registered trademark of The Open Group in the United States and other countries. Linux is a trademark of Linus Torvalds in the United States, other countries, or both. IBM, WebSphere, DB2 and Tivoli are trademarks of the International Business Machines Corporation in the United States, other countries, or both. Other company, product, and service names may be trademarks or service marks of others. For customizations of this book or other sales inquiries, please contact us at: USA: 1-877-517-6540, email: [email protected] Canada: 1-866-206-4644 toll free, email: [email protected] Copyright © 2016 Web Age Solutions Inc. This publication is protected by the copyright laws of Canada, United States and any other country where this book is sold. Unauthorized use of this material, including but not limited to, reproduction of the whole or part of the content, re-sale or transmission through fax, photocopy or e-mail is prohibited. To obtain authorization for any such activities, please write to: Web Age Solutions Inc. 439 University Ave Suite 820 Toronto Ontario, M5G 1Y8 Table of Contents Chapter 1 - DevOps Introduction.........................................................................................7 1.1 Dev and Ops Views...................................................................................................7 1.2 Leading By Example ................................................................................................7 1.3 What is DevOps?.......................................................................................................7 1.4 More DevOps Definitions.........................................................................................8 1.5 DevOps and Software Delivery Life Cycle..............................................................8 1.6 Main DevOps' Objectives.........................................................................................8 1.7 The Term "DevOps" is Evolving!.............................................................................9 1.8 Infrastructure as Code...............................................................................................9 1.9 Agile IT in the Cloud ............................................................................................10 1.10 DevOps on the Cloud............................................................................................10 1.11 Prerequisites for DevOps Success ........................................................................11 1.12 Alignment with the Business Needs.....................................................................11 1.13 Collaborative Development .................................................................................12 1.14 Continuous Testing and Integration......................................................................12 1.15 Continuous Release and Deployment ..................................................................12 1.16 Continuous Application Monitoring.....................................................................13 1.17 Summary...............................................................................................................13 Chapter 2 - Standing Up DevOps .....................................................................................15 2.1 Standing Up DevOps...............................................................................................15 2.2 Things to Look For and Avoid................................................................................15 2.3 IT Assets Ownership...............................................................................................16 2.4 Viewing Applications As Products, not Projects....................................................16 2.5 DevOps in the Enterprise........................................................................................17 2.6 IT Governance ........................................................................................................17 2.7 Governance and Risk Mitigation............................................................................18 2.8 DevOps Adoption Steps..........................................................................................18 2.9 DevOps Adoption Steps..........................................................................................19 2.10 DevOps Adoption Steps........................................................................................19 2.11 DevOps Adoption Steps........................................................................................19 2.12 Select DevOps Techniques and Practices.............................................................20 2.13 Select DevOps Techniques and Practices.............................................................20 2.14 Select DevOps Techniques and Practices.............................................................21 2.15 Select DevOps Techniques and Practices.............................................................21 2.16 Select DevOps Techniques and Practices.............................................................22 2.17 Service Quality Metrics.........................................................................................23 2.18 Summary...............................................................................................................24 Chapter 3 - DevOps Tools.................................................................................................25 3.1 The Choice of Cloud Platform ...............................................................................25 3.2 IaaS for DevOps......................................................................................................25 3.3 PaaS for DevOps.....................................................................................................26 3.4 Containerization Tools............................................................................................26 3.5 System Configuration Automation and Management.............................................27 3.6 System Configuration Automation and Management.............................................27 3.7 Continuous Integration (CI) Systems......................................................................28 3.8 Build and Dependency Management Systems........................................................29 3.9 Build and Dependency Management Systems........................................................29 3.10 Select DevOps Tools.............................................................................................30 3.11 Collaborative Lifecycle Management Solutions from IBM..................................30 3.12 The Collaborative Lifecycle Management Diagram.............................................31 3.13 The IBM Collaborative Lifecycle Management Platform ..................................31 3.14 Rational Team Concert (RTC)..............................................................................31 3.15 Rational Quality Manager (RQM)........................................................................32 3.16 Rational DOORS Next Generation (DNG)...........................................................33 3.17 Summary...............................................................................................................33 Chapter 4 - Introduction to Puppet.....................................................................................35 4.1 What is Puppet........................................................................................................35 4.2 Puppet's Domain Specific Language.......................................................................35 4.3 "Infrastructure-as-code" in Puppet .........................................................................36 4.4 Example of the Puppet DSL....................................................................................36 4.5 Main Puppet Artifacts.............................................................................................37 4.6 Puppet Design ........................................................................................................38 4.7 Puppet Workflow Orchestration.............................................................................38 4.8 Facter.......................................................................................................................38 4.9 Facter Fact Discovery ............................................................................................39 4.10 Facter Example......................................................................................................40 4.11 Extending Facter...................................................................................................40 4.12 Geppetto................................................................................................................41 4.13 Puppet Lab Services..............................................................................................41 4.14 Puppet Enterprise