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

Google Cloud Platform SDK -  gcloud


Google offers us a very comprehensive SDK that can be used for operating Google Cloud Platform as well as  installing software components related to cloud operations. The first thing we need to do is install gcloud. There are installers for Windows but, in general, for Unix-based systems (Linux and Mac mainly), we have an interactive installer that can be executed from the command line and the unattended mode (for automatic provisioning). The different options can be found at https://cloud.google.com/sdk/downloads. In order to install it (in my case, on Mac), the first thing we need to do is run the following command:

curl https://sdk.cloud.google.com | bash

This will initiate the interactive installed in the online mode: we will be asked a number of questions during the installation process.

The first one is the installation directory. By default, this is the home of the user, but you can change it to the folder of your choice. Once you have selected the...