Book Image

Ansible 2 Cloud Automation Cookbook

By : Aditya Patawari, Vikas Aggarwal
Book Image

Ansible 2 Cloud Automation Cookbook

By: Aditya Patawari, Vikas Aggarwal

Overview of this book

Ansible has a large collection of inbuilt modules to manage various cloud resources. The book begins with the concepts needed to safeguard your credentials and explain how you interact with cloud providers to manage resources. Each chapter begins with an introduction and prerequisites to use the right modules to manage a given cloud provider. Learn about Amazon Web Services, Google Cloud, Microsoft Azure, and other providers. Each chapter shows you how to create basic computing resources, which you can then use to deploy an application. Finally, you will be able to deploy a sample application to demonstrate various usage patterns and utilities of resources.
Table of Contents (11 chapters)


Google Cloud Platform is one of the largest and most innovative cloud providers out there. Google Cloud is used by various industry leaders such as Coca-Cola, Spotify, and Philips. Amazon Web Services and Google Cloud are always involved in a price war, which benefits consumers greatly. Google Cloud Platform covers 12 geographical regions across four continents with new regions coming up every year. Google Compute Engine, abbreviated as GCE, is one of the most popular components of Google Cloud. GCE can help users to:

  • Create a virtual machine
  • Create virtual machine templates
  • Create and manage a group of virtual machines
  • Create and manage backups as snapshots
  • Manage health checks

Other than GCE, we are also going to cover network services and Google Cloud Storage in this chapter. Unfortunately, Ansible modules for Google Cloud Platform are not as comprehensive as...