Book Image

Learning DevOps - Second Edition

By : Mikael Krief
Book Image

Learning DevOps - Second Edition

By: Mikael Krief

Overview of this book

In the implementation of DevOps processes, the choice of tools is crucial to the sustainability of projects and collaboration between developers and ops. This book presents the different patterns and tools for provisioning and configuring an infrastructure in the cloud, covering mostly open source tools with a large community contribution, such as Terraform, Ansible, and Packer, which are assets for automation. This DevOps book will show you how to containerize your applications with Docker and Kubernetes and walk you through the construction of DevOps pipelines in Jenkins as well as Azure pipelines before covering the tools and importance of testing. You'll find a complete chapter on DevOps practices and tooling for open source projects before getting to grips with security integration in DevOps using Inspec, Hashicorp Vault, and Azure Secure DevOps kit. You'll also learn about the reduction of downtime with blue-green deployment and feature flags techniques before finally covering common DevOps best practices for all your projects. By the end of this book, you'll have built a solid foundation in DevOps and developed the skills necessary to enhance a traditional software delivery process using modern software delivery tools and techniques.
Table of Contents (25 chapters)
1
Section 1: DevOps and Infrastructure as Code
7
Section 2: DevOps CI/CD Pipeline
11
Section 3: Containerized Microservices with Docker and Kubernetes
14
Section 4: Testing Your Application
18
Section 5: Taking DevOps Further/More on DevOps

Preface

Today, with the evolution of technologies and ever-increasing competition, companies are facing a real challenge to design and deliver products faster – all while maintaining user satisfaction.

One of the solutions to this challenge is to introduce (to companies) a culture of collaboration between different teams, such as development and operations, testers, and the security team. This culture, which has already been proven and is called a DevOps culture, can ensure that teams and certain practices reduce the time to market of companies through this collaboration – with shorter application deployment cycles and by bringing real value to the company's products and applications.

Moreover, with the major shift of companies toward the cloud, application infrastructures are evolving and the DevOps culture will allow better scalability and performance of applications, thus generating a financial gain for companies.

If you want to learn more about the DevOps culture and apply its practices to your projects, this book will introduce the basics of DevOps practices through different tools and labs.

In this book, we will discuss the fundamentals of the DevOps culture and practices, and then we will examine different labs used for the implementation of DevOps practices, such as IaC, using Git and CI/CD pipelines, test automation, code analysis, and DevSecOps, along with the addition of security to your processes.

A part of this book is also dedicated to the containerization of applications, with coverage of the simple use of Docker and the management of containers in Kubernetes. It includes downtime reduction topics during deployment and DevOps practices on open source projects.

This book ends with a chapter dedicated to some good DevOps practices that can be implemented throughout the life cycle of your projects.

In this second edition, all tools are upgraded and we will learn about Vagrant from HashiCorp and more on Kubernetes deployment.

The book aims to guide you through the step-by-step implementation of DevOps practices using different tools that are mostly open source or are leaders in the market.

In writing this book, my goal is to share my daily experience with you; I hope that it will be useful for you and be applied to your projects.