Book Image

Implementing Modern DevOps

By : Danny Varghese, David Gonzalez
Book Image

Implementing Modern DevOps

By: Danny Varghese, David Gonzalez

Overview of this book

This book follows a unique approach to modern DevOps using cutting-edge tools and technologies such as Ansible, Kubernetes, and Google Cloud Platform. This book starts by explaining the organizational alignment that has to happen in every company that wants to implement DevOps in order to be effective, and the use of cloud datacenters in combination with the most advanced DevOps tools to get the best out of a small team of skilled engineers. It also delves into how to use Kubernetes to run your applications in Google Cloud Platform, minimizing the friction and hassle of maintaining a cluster but ensuring its high availability. By the end of this book, you will be able to realign teams in your company and create a Continuous Delivery pipeline with Kubernetes and Docker. With strong monitoring in place, you will also be able to react to adverse events in your system, minimizing downtime and improving the overall up-time and stability of your system.
Table of Contents (17 chapters)
Title Page
Credits
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Dedication
Preface

Chapter 6. Server Provisioning

In the previous chapter, you learned how to create the infrastructure that is going to hold our applications. As we saw, the infrastructure automation is something that's new, and we used Terraform for it. The problem with Terraform is that it can only be used to build the infrastructure, but in order to provision the software, we need something different.

Through this chapter, we are going to dive deep into Ansible as, together with Puppet and Chef, it is the most predominant server provisioning tool in the market right now.

Here are the main topics that will be covered in this chapter:

  • Server provisioning software
    • Chef
    • Puppet
    • Ansible
  • Ansible
    • Ansible configuration
    • Ansible variables
      • Variables
      • Remote facts
      • Templates
    • Flow control
    • Ansible roles
  • Ansible tower

As you can see, it is quite an extensive chapter with many examples that will enable you to learn the most important features of Ansible.

One thing that you need to be aware while reading through this chapter is the fact...