DevOps Katas (DevOps Katas: Hands-On DevOps)
About the Book
DevOps Katas: Hands-On DevOps is a collection of practical exercises that will teach you how to use three of the most important DevOps tools: Docker, Git, and Jenkins. Each set of katas will introduce you to the tool and its usage. The katas build on each other, so that after you're finished, you will have created a complete Continuous Integration / Continuous Delivery pipeline.
Many technical books are "walls of text," heavy on theory with exercises sprinkled throughout. Not so with DevOps Katas! Quite the opposite. DevOps Katas teaches by doing.
The katas in DevOps Katas are based on Code Katas, which in turn are inspired by the katas of martial arts: short, quick-to-practice exercises designed to be practiced regularly. Katas are broken into steps, each with a few commands. You'll execute the commands first, then learn what you did and why.
All of the software you'll need to practice DevOps Katas is free. It's also provided to you in the form of a free Learning Virtual Machine, available for download at www.devopskatas.com. The LVM is pre-loaded with everything you need. All you have to do is download and install Virtualbox. No installing, no configuring, just kata practice.
Chapter 1: Introduction to DevOps
What is DevOps?
- DevOps Automation
- What is DevOps?
Chapter 2: Getting Started With DevOps Katas
- Introduction: Practice First
- What is a Kata?
- Kata Formatting and Conventions
Kata Practice Guidelines
- Kata Practice Pages
- Kata Practice Calendar
- Kata Practice Tools
Setting up the DevOps Katas Learning Virtual Machine
- Step 1: Install Virtualbox
- Step 2: Download the LVM Image
- Step 3: Import the LVM Image
- Step 4: Run the LVM
- Step 1: Create a Directory
Step 2: Change to the
- Step 3: Create a File
Step 4: List the files in the
- Step 5: Edit the file with the text editor
- Step 6: Enter text into the file and save
Chapter 3: Containers and Docker
- 1995 - 2002: Advent of the Internet
- 2002: Virtualization
- 2008: Containers
- 2013: Docker
Containers and DevOps
- Docker and DevOps Katas
Chapter 4: Docker Katas
Docker Kata 1: The Basic Commands
- Step 1: Running Your First Container
- Step 2: Listing Containers
- Step 3: Listing Images
- Step 4: Running a Named Container
- Step 5: Run a Container in Interactive Mode
- Step 6: Remove all Containers and Images
Docker Kata 2: Disconnected Containers
- Step 1: Run a “Disconnected” Container
- Step 2: Execute Commands on a Running Container
- Step 3: Connecting Interactively to a Running Container
Docker Kata 3: Container Volumes and Filesystem
- Step 1: Container Filesystem Changes
- Step 2: Run a Container With a Named Volume
- Step 3: Share a Volume Between Containers
- Step 4: Run a Container With a Host-Mounted Volume
Docker Kata 4: Running a Web Server in a Container
- Step 1: Run a Web Server
- Step 2: Run a Second Webserver on a Different Port
Docker Kata 5: Docker Networking
- Step 1: List All Networks
- Step 2: Ping Between Containers
- Step 3: Create a User-Defined Network
- Step 4: Run Containers on a User-Defined Network
Docker Kata 6: Creating Docker Images
- Step 1: Creating an Image From a Modified Container
- Step 2: Create an Image with a Dockerfile
- Docker Kata 1: The Basic Commands
Chatper 5: Source Control Management and Git
Source Control Tools
- Centralized Version Control Systems (CVCS)
- Distributed Version Control Systems (DVCS)
- Introducing Git
- Anatomy of a Git Repository
- Sharing Code With Git
- Merging and Branching in Git
- Git Workflows
- Git Tools
- Git Uses
- Source Control Tools
Chapter 6: Git Katas
Git Kata 1: New Local Repository
- Step 1: Initialize a New Repository
- Step 2: Stage Changes to a Repository
- Step 3: Commit Changes to a Repository
- Step 4: Making and Committing Changes to a File
Git Kata 2: Branches
- Step 1: Listing and Creating Branches
- Step 2: Switching Between Branches
- Step 3: Committing to a Branch
Git Kata 3: Merging
- Step 1: Merge Changes Between Branches
- Step 2: Merging Branches With Divergent Histories
Git Kata 4: Merge Conflicts
Step 1: Modify the File in the
Step 2: Modify the File in
- Step 3: Merge and Resolve Conflicts
- Step 1: Modify the File in the
Git Kata 5: Run a Git Server
- Step 1: Install Gogs
- Step 2: Create Admin Account
- Step 3: Create a Repository
- Step 4: Add Users
- Step 5: Set Repository Permissions
Git Kata 6: Remote Repositories
- Step 1: Initialize a New Repository
- Step 2: Add a Remote Repository
- Step 3: Push Commits to a Remote Repository
Git Kata 7: Collaboration
- Step 1: Clone and Configure the Repository
- Step 2: Make Changes as Ken and Push
- Step 3: Make Changes as Carrie and Push
- Step 4: Final Edits as Ken
Git Kata 8: Repository Forking and Pull Requests
- Step 1: Create Cody’s Account in Gogs
Step 2: Transfer the
web-storelistRepository to Cody
- Step 3: Log in as Ken and Create a Fork
- Step 4: Review the Pull Request as Cody and Accept
- Git Kata 1: New Local Repository
Chapter 7: Continuous Integration and Jenkins
- Continuous Integration
- Introducing Jenkins
Chapter 8: Jenkins Katas
Jenkins Kata 1: Setup
- Step 1: Get the Administrator Key
- Step 2: Install Jenkins
- Step 3: Create Administrative User
- Step 4: Start the Gogs Git Server
Jenkins Kata 2: Create A Job
- Step 1: Create a New Job
- Step 2: Set up Source Control Parameters
- Step 3: Run the Job
Jenkins Kata 3: Build Steps
- Step 1: Add a Build Step
- Step 2: Build Step Result Codes
Jenkins Kata 4: Automated Testing
- Step 1: Add a Build Step to Run the Test
- Step 2: Make the Test Fail
- Step 3: Fix the Code
Jenkins Kata 5: Integrate Git With Jenkins
- Step 1: Install the Gogs Webhook Plugin
- Step 2: Configure A Build Trigger
- Step 3: Configure the Webhook in Gogs
- Step 4: Test the Trigger
- Step 5: Trigger a Job With a Push
Jenkins Kata 6: Docker Container Build Step
- Step 1: Add a Dockerfile
- Step 2: Install the Docker Plugin
- Step 3: Run a Private Docker Registry
- Step 4: Add a Docker Build Step
Jenkins Kata 7: Deploying Containers
- Step 1: Add the Build Pipeline Plugin
- Step 2: Define A DEV Environment Deployment Job
- Step 3: Configure the DEV Deployment Job Trigger
- Step 4: Define A QA Environment Deployment Job
- Step 5: Define a Production Deployment Job
- Step 6: Add a Pipeline View
- Jenkins Kata 1: Setup
DevOps Katas Practice Pages
Docker Katas Practice Pages
- Docker Kata 1: The Basic Commands
- Docker Kata 2: Disconnected Containers
- Docker Kata 3: Container Volumes and Filesystem
- Docker Kata 4: Running a Web Server in a Container
- Docker Kata 5: Docker Networking
- Docker Kata 6: Creating Docker Images
Git Katas Practice Pages
- Git Kata 1: New Local Repository
- Git Kata 2: Branches
- Git Kata 3: Merging
- Git Kata 4: Merge Conflicts
- Git Kata 5: Run a Git Server
- Git Kata 6: Remote Repositories
- Git Kata 7: Collaboration
- Git Kata 8: Repository Forking and Pull Requests
Jenkins Katas Practice Pages
- Jenkins Kata 1: Setup
- Jenkins Kata 2: Create a Job
- Jenkins Kata 3: Build Steps
- Jenkins Kata 4: Automated Testing
- Jenkins Kata 5: Integrate Git With Jenkins
- Jenkins Kata 6: Docker Container Build Step
- Jenkins Kata 7: Deploying Containers
- Docker Katas Practice Pages
The Leanpub 45-day 100% Happiness Guarantee
Within 45 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
See full terms
Free Updates. DRM Free.
If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).
Most Leanpub books are available in PDF (for computers), EPUB (for phones and tablets) and MOBI (for Kindle). The formats that a book includes are shown at the top right corner of this page.
Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.
Production HaskellMatt Parsons
Are you excited about Haskell, but don't know where to begin? Are you thrilled by the technical advantages, but worried about the unknown pitfalls? This book has you covered.
Functional Design and ArchitectureAlexander Granin
Software Design in Functional Programming, Design Patterns and Practices, Methodologies and Application Architectures. How to build real software in Haskell with less efforts and low risks. The first complete source of knowledge.
Ansible for KubernetesJeff Geerling
Ansible is a powerful infrastructure automation tool. Kubernetes is a powerful application deployment platform. Learn how to use these tools to automate massively-scalable, highly-available infrastructure.
Ansible for DevOpsJeff Geerling
Ansible is a simple, but powerful, server and configuration management tool. Learn to use Ansible effectively, whether you manage one server—or thousands.
Composing SoftwareEric Elliott
All software design is composition: the act of breaking complex problems down into smaller problems and composing those solutions. Most developers have a limited understanding of compositional techniques. It's time for that to change.
Practical FP in Scala: A hands-on approachGabriel Volpe
A practical book aimed for those familiar with functional programming in Scala who are yet not confident about architecting an application from scratch.
Together, we will develop a purely functional application using the best libraries in the Cats ecosystem, while learning about design patterns and best practices.
Tame your Work FlowSteve Tendon and Daniel Doiron
Do you need a high performance enterprise governance approach improving management, execution and delivery while dealing with multiple projects/products, events, stakeholders and teams? Giving you better bottom line results, faster time to market, less work, better predictability, happier employees, and delighted clients? Then learn about TameFlow!
Invest In Digital Health - The Medical Futurist's GuideDr. Bertalan Mesko
Artificial Intelligence and Digital Health are booming. In this book, we explain why now it's a good time to invest in Digital Health and give recommendations on where to invest by looking at the top 24 technological trends we find the most promising.
The Hundred-Page Machine Learning BookAndriy Burkov
Everything you really need to know in Machine Learning in a hundred pages.
Windows 10 System Programming, Part 1Pavel Yosifovich
Growing Agile: The Complete Coach's Guide
7 BooksGrowing Agile: Coach's Guide Series This bundle provides a collection of training and workshop plans for a variety of agile topics. The series is aimed at agile coaches, trainers and ScrumMasters who often find themselves needing to help teams understand agile concepts. Each book in the series provides the plans, slides, handouts and activity...
The Tester's Library
8 BooksThe Tester's Library consists of eight five-star books that every software tester should read and re-read. As bound books, this collection would cost over $200. Even as e-books, their price would exceed $80, but in this bundle, their cost is only $49.99. Here are the books, and why they should be in your library: Perfect Software and Other...
11 BooksIn this bundle, you will find 10 different agile books. They are about different aspects of being agile. - finding a job - doing coding dojo's - Retrospectives - Personal kanban - a non-typical coaching book and even a book that gives you an insight in the lives of some agile people.
WTFlop 6M + HU - Beta Bundle
Growing Agile: Coach's Guide Series
4 BooksThis bundle provides a collection of training and workshop plans for a variety of agile topics. The series is aimed at agile coaches, trainers and ScrumMasters who often find themselves needing to help teams understand agile concepts. Each book in the series provides the plans, slides, handouts and activity instructions to run a number of...
Marionette.js A to Z
Build A Better Backbone App
3 BooksThe best way to learn new development skills is through experience, but that takes time you don't have.Get the best of both worlds with this bundle: you'll learn how to produce modern web applications by learning from experienced developers like Derick Bailey and David Sulc. BackboneJS is one of the favorite tools on the web today, but it...
General Systems Thinker Bundle
5 BooksThe General Systems Thinker Bundle is just that: a bundle of five books to advance the reader one giant step toward improved thinking, based on General Systems principles. Four of the books are the complete General Systems Series. The fifth is fictional piece which shows some general systems thinkers in action. It's a mystery in which a group of...
Experiential Learning Bundle
4 BooksThis bundle provides all four volumes of the popular Experiential Learning Series at a savings of $20 over the price if purchased separately.
2 BooksAfter getting up and running with Ansible in Jeff Geerling's Ansible for DevOps, strengthen your skills managing tens to thousands of instances and services in Amazon's AWS cloud with Yan Kurniawan's Ansible for AWS.