Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Ansible 2 Cloud Automation Cookbook

You're reading from   Ansible 2 Cloud Automation Cookbook Write Ansible playbooks for AWS, Google Cloud, Microsoft Azure, and OpenStack

Arrow left icon
Product type Paperback
Published in Feb 2018
Publisher Packt
ISBN-13 9781788295826
Length 200 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
Aditya Patawari Aditya Patawari
Author Profile Icon Aditya Patawari
Aditya Patawari
Vikas Aggarwal Vikas Aggarwal
Author Profile Icon Vikas Aggarwal
Vikas Aggarwal
Arrow right icon
View More author details
Toc

Table of Contents (11) Chapters Close

Preface 1. Getting Started with Ansible and Cloud Management 2. Using Ansible to Manage AWS EC2 FREE CHAPTER 3. Managing Amazon Web Services with Ansible 4. Exploring Google Cloud Platform with Ansible 5. Building Infrastructure with Microsoft Azure and Ansible 6. Working with DigitalOcean and Ansible 7. Running Containers with Docker and Ansible 8. Diving into OpenStack with Ansible 9. Ansible Tower 10. Other Books You May Enjoy

Preface

Ansible is one of the top configuration management and orchestration tools out there. Released over half a decade ago, Ansible has one of the lowest learning curves among all the configuration management tools out there. It is simple to get started with Ansible since there are no agents required on the remote end, and the transport is SSH, which is preinstalled on almost all Linux servers. One of the major reasons why Ansible is so popular is because it comes with over a thousand modules for various tasks and operations. These modules provide us with the capability to manage infrastructure, servers, deployments, and common software.

One aspect of these modules is cloud management. As cloud is becoming ubiquitous, the need to create infrastructure as code is becoming prominent. We want automated, unattended, and repeatable ways to create an infrastructure with a cloud provider of our choice. Good for us that Ansible has over 300 modules specifically written to interact with the APIs of over 20 cloud providers. These modules let us create, destroy, and manage resources making things automated and repeatable.

In this book, we are going to look at some of the popular cloud providers and use Ansible to create various components of an infrastructure. Each chapter covers a cloud provider and the deployment of an application backed by the database. We will learn, step by step, how to build an infrastructure from scratch and deploy an application. The sample application that we have written has two versions; one uses SQLite, and the other uses MySQL. We will use these variants to demonstrate cloud providers' capabilities and deployment methodology using Ansible. We suggest our readers to go through the Chapter 1, Getting Started with Ansible and Cloud Management to learn more about these applications. For readers who are getting started with cloud automation, we recommend reading the chapters from the beginning. A seasoned user of Ansible and the cloud providers will be able to look at any recipe from the chapter and be able to make out what was discussed in previous recipes. Finally, we suggest that our readers to try executing the code for a deeper understanding of how Ansible works with cloud providers.

lock icon The rest of the chapter is locked
Next Section arrow right
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime