



































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
For those wanting some more details on DevOps concepts
Typology: Summaries
1 / 75
This page cannot be seen from the preview
Don't miss anything!
by Sanjeev Sharma
and Bernie Coyne
Published by John Wiley & Sons, Inc. 111 River St. Hoboken, NJ 07030- www.wiley.com Copyright © 2017 by John Wiley & Sons, Inc. No part of this publication may be reproduced, stored in a retrieval system or transmitted in any form or by any means, electronic, mechanical, photocopying, recording, scanning or otherwise, except as permitted under Sections 107 or 108 of the 1976 United States Copyright Act, without the prior written permission of the Publisher. Requests to the Publisher for permission should be addressed to the Permissions Department, John Wiley & Sons, Inc., 111 River Street, Hoboken, NJ 07030, (201) 748-6011, fax (201) 748-6008, or online at http://www.wiley.com/go/permissions. Trademarks: Wiley, For Dummies, the Dummies Man logo, The Dummies Way, Dummies.com, Making Everything Easier, and related trade dress are trademarks or registered trademarks of John Wiley & Sons, Inc. and/or its affiliates in the United States and other countries, and may not be used without written permission. IBM and the IBM logo are registered trademarks of International Business Machines Corporation. All other trademarks are the property of their respective owners. John Wiley & Sons, Inc., is not associated with any product or vendor mentioned in this book.
LIMIT OF LIABILITY/DISCLAIMER OF WARRANTY: THE PUBLISHER AND THE AUTHOR MAKE NO REPRESENTATIONS OR WARRANTIES WITH RESPECT TO THE ACCURACY OR COMPLETENESS OF THE CONTENTS OF THIS WORK AND SPECIFICALLY DISCLAIM ALL WARRANTIES, INCLUDING WITHOUT LIMITATION WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE. NO WARRANTY MAY BE CREATED OR EXTENDED BY SALES OR PROMOTIONAL MATERIALS. THE ADVICE AND STRATEGIES CONTAINED HEREIN MAY NOT BE SUITABLE FOR EVERY SITUATION. THIS WORK IS SOLD WITH THE UNDERSTANDING THAT THE PUBLISHER IS NOT ENGAGED IN RENDERING LEGAL, ACCOUNTING, OR OTHER PROFESSIONAL SERVICES. IF PROFESSIONAL ASSISTANCE IS REQUIRED, THE SERVICES OF A COMPETENT PROFESSIONAL PERSON SHOULD BE SOUGHT. NEITHER THE PUBLISHER NOR THE AUTHOR SHALL BE LIABLE FOR DAMAGES ARISING HEREFROM. THE FACT THAT AN ORGANIZATION OR WEBSITE IS REFERRED TO IN THIS WORK AS A CITATION AND/OR A POTENTIAL SOURCE OF FURTHER INFORMATION DOES NOT MEAN THAT THE AUTHOR OR THE PUBLISHER ENDORSES THE INFORMATION THE ORGANIZATION OR WEBSITE MAY PROVIDE OR RECOMMENDATIONS IT MAY MAKE. FURTHER, READERS SHOULD BE AWARE THAT INTERNET WEBSITES LISTED IN THIS WORK MAY HAVE CHANGED OR DISAPPEARED BETWEEN WHEN THIS WORK WAS WRITTEN AND WHEN IT IS READ.
For general information on our other products and services, or how to create a custom For Dummies book for your business or organization, please contact our Business Development Department in the U.S. at 877-409-4177, contact info@dummies.biz, or visit www.wiley.com/ go/custompub. For information about licensing the For Dummies brand for products or services, contact BrandedRights&Licenses@Wiley.com. ISBN: 978-1-119-41589-3 (pbk); ISBN: 978-1-119-41588-6 (ebk) Manufactured in the United States of America 10 9 8 7 6 5 4 3 2 1
Some of the people who helped bring this book to market include the following:
Project Editor: Carrie A. Burchfield Acquisitions Editor: Katie Mohr Editorial Manager: Rev Mengle
Business Development Representative: Sue Blessing Production Editor: Vasanth Koilraj
Introduction 1
Introduction
D
evOps (short for development and operations), like most new approaches, is only a buzzword for many people. Everyone talks about it, but not everyone knows what it is. In broad terms, DevOps is an approach based on lean and agile principles in which business owners and the development, opera- tions, and quality assurance departments collaborate to deliver software in a continuous manner that enables the business to more quickly seize market opportunities and reduce the time to include customer feedback. Indeed, enterprise applications are so diverse and composed of multiple technologies, databases, end-user devices, and so on, that only a DevOps approach will be successful when dealing with these complexities. Opinions differ on how to use it, however.
Some people say that DevOps is for practitioners only; others say that it revolves around the cloud. IBM takes a broad and holis- tic view and sees DevOps as a business-driven software delivery approach — an approach that takes a new or enhanced busi- ness capability from an idea all the way to production, providing business value to customers in an efficient manner and captur- ing feedback as customers engage with the capability. To do this, you need participation from stakeholders beyond just the devel- opment and operations teams. A true DevOps approach includes lines of business, practitioners, executives, partners, suppliers, and so on.
About This Book
This book takes a business-centric approach to DevOps. Today’s fast-moving world makes DevOps essential to all enterprises that must be agile and lean enough to respond rapidly to changes such as customer demands, market conditions, competitive pressures, or regulatory requirements.
If you’re reading this book, we assume that you’ve heard about DevOps but want to understand what it means and how your com- pany can gain business benefits from it. This book is geared to executives, decision makers, and practitioners who are new to the
2 DevOps For Dummies, 3rd IBM Limited Edition
field of DevOps, who seek more information about the approach, and who want to cut through the hype surrounding the concept to get to the meat of it.
Icons Used in This Book
You’ll find several icons in the margins of this book. Here’s what they mean.
The Tip icon points out helpful information on various aspects of DevOps.
Anything that has a Remember icon is something that you want to keep in mind.
The Warning icon alerts you to critical information.
Technical Stuff material goes beyond the basics of DevOps. It isn’t essential reading, however.
Beyond the Book
You can find additional information about DevOps and IBM’s approach and services available by visiting the following web pages:
» IBM DevOps Solution:^ ibm.com/devops » DevOps — the IBM approach (white paper):^ ibm.biz/
» The Software Edge (study):^ ibm.co/156KdoO » Adopting the IBM DevOps Approach (article):^ ibm.biz/
» DevOps Services for Bluemix (service):^ bluemix.net
4 DevOps For Dummies, 3rd IBM Limited Edition
This problem is further amplified by a major shift in the types of applications that businesses are required to deliver, from systems of record to systems of engagement:
» Systems of record:^ Traditional software applications are
» Systems of engagement:^ With the advent of mobile
Because systems of engagement are used directly by customers, they require intense focus on user experience, speed of delivery, and agility — in other words, a DevOps approach.
Systems of engagement aren’t isolated islands and are often tied to systems of record, so rapid changes to systems of engagement result in changes to systems of record. Indeed any kind of sys- tem that needs rapid delivery of innovation requires DevOps. Such innovation is driven primarily by emerging technology trends such as cloud computing, mobile applications, Big Data, and social media, which may affect all types of systems. We discuss these emerging technologies in light of DevOps in Chapters 4 and 5.
Recognizing the Business
Value of DevOps
DevOps applies agile and lean principles across the entire software supply chain. It enables a business to maximize the speed of its delivery of a product or service, from initial idea to production release to customer feedback to enhancements based on that feedback.
CHAPTER 1 What Is DevOps? 5
Because DevOps improves the way that a business delivers value to its customers, suppliers, and partners, it’s an essential busi- ness process, not just an IT capability.
DevOps provides significant return on investment in three areas:
» Enhanced customer experience » Increased capacity to innovate » Faster time to value
We discuss all three areas in the following sections.
Enhanced customer experience
Delivering an enhanced (that is, differentiated and engaging) customer experience builds customer loyalty and increases mar- ket share. To deliver this experience, a business must continu- ously obtain and respond to customer feedback, which requires mechanisms to get fast feedback from all the stakeholders in the software application that’s being delivered: customers, lines of business, users, suppliers, partners, and so on.
In today’s world of systems of engagement (see “Understand- ing the Business Need for DevOps,” earlier in this chapter), this ability to react and adapt in an agile manner leads to enhanced customer experience and loyalty.
Increased capacity to innovate
Modern organizations use lean thinking approaches to increase their capacity to innovate. Their goals are to reduce waste and rework and to shift resources to higher-value activities.
An example of a common practice in lean thinking is A-B testing, in which organizations ask a small group of users to test and rate two or more sets of software that have different capabilities. Then the better-capability set is rolled out to all users, and the unsuccess- ful version is rolled back. Such A-B testing is realistic only with efficient and automated mechanisms such as those that DevOps facilitates.
CHAPTER 1 What Is DevOps? 7
The first exposure of the application to a production-like system should be as early in the life cycle as possible to address two major potential challenges. First, it allows the application to be tested in an environment that’s close to the actual production environ- ment the application will be delivered to; and second, it allows for the application delivery processes themselves to be tested and validated upfront.
From an operations perspective, too, this principle has tremen- dous value. It enables the operations team to see early in the cycle how their environment will behave when it supports the applica- tion, thereby allowing them to create a fine-tuned, application- aware environment.
Deploy with repeatable,
reliable processes
As the name suggests, this principle allows development and operations to support an agile (or at least iterative) software development process all the way through to production. Automa- tion is essential to create processes that are iterative, frequent, repeatable, and reliable, so the organization must create a delivery pipeline that allows for continuous, automated deployment and testing. We talk more about delivery pipelines in Chapter 3.
Frequent deployments also allow teams to test the deployment processes themselves, thereby lowering the risk of deployment failures at release time.
FIGURE 1-1: The shift-left concept moves operations earlier in the development life cycle.
8 DevOps For Dummies, 3rd IBM Limited Edition
Monitor and validate operational quality Organizations typically are good at monitoring applications and systems in production because they have tools that capture pro- duction systems’ metrics in real time. But they monitor in a siloed and disconnected manner. This principle moves monitoring ear- lier in the life cycle by requiring that automated testing be done early and often in the life cycle to monitor functional and non- functional characteristics of the application. Whenever an appli- cation is deployed and tested, quality metrics should be captured and analyzed. Frequent monitoring provides early warning about operational and quality issues that may occur in production.
These metrics should be captured in a format that all business stakeholders can understand and use.
Amplify feedback loops One goal of DevOps is to enable organizations to react and make changes more rapidly. In software delivery, this goal requires an organization to get quick feedback and then learn rapidly from every action it takes. This principle calls for organizations to cre- ate communication channels that allow all stakeholders to access and act on feedback.
» Development may act by adjusting its project plans
» Production may act by enhancing the production
» Business may act by modifying its release plans.
10 DevOps For Dummies, 3rd IBM Limited Edition
Therefore, you can view the DevOps reference architecture, shown in Figure 2-1, from the perspective of the core capabilities that it’s intended to provide. As the abstract architecture evolves to con- crete form, these capabilities are provided by a set of effectively enabled people, defined practices, and automation tools.
The DevOps reference architecture shown in Figure 2-1 proposes the following four sets of adoption paths:
» Steer » Develop/Test » Deploy » Operate
In the remaining sections of this chapter, you take a detailed look at these adoption paths.
Steer
This adoption path consists of one practice that focuses on estab- lishing business goals and adjusting them based on customer feedback: continuous business planning.
FIGURE 2-1: The DevOps reference architecture.
CHAPTER 2 Looking at DevOps Capabilities 11
Businesses today need to be agile and able to react quickly to cus- tomer feedback. Achieving this goal centers on an organization’s ability to do things right. Unfortunately, traditional approaches to product delivery are too slow for today’s speed of doing business, partially because these approaches depend on custom develop- ment and manual processes and because teams are operating in silos. Information required to plan and replan quickly, while maximizing the ability to deliver value, is fragmented and incon- sistent. Often the right feedback isn’t received early enough to achieve the right level of quality to truly deliver value.
Teams also struggle to incorporate feedback that should inform the prioritization of investments and then to collaborate as an organization to drive execution in a continuous delivery model. For some teams, planning is viewed as governance overhead that’s intrusive and slows them down instead of an activity that enables them to deliver value with speed.
Faster delivery provides greater business agility, but you must also manage speed with the trust and confidence that what you’ve delivered is the right thing. You can’t deliver software at speed if you don’t trust the accuracy of your business goals, your mea- surements, and your platforms.
DevOps helps to reconcile these competing perspectives, helping teams collaboratively establish business goals and continuously change them based on customer feedback, thereby improving both agility and business outcomes. At the same time, businesses need to manage costs. By identifying and eliminating waste in the development process, the team becomes more efficient but also addresses cost. This approach helps teams strike an optimal balance between all these considerations, across all phases of the DevOps life cycle in moving to a continuous delivery model.
Develop/Test
This adoption path involves two practices: collaborative develop- ment and continuous testing. As such, it forms the core of devel- opment and quality assurance (QA) capabilities.