3 options
Ansible 2 cloud automation cookbook : write Ansible playbooks for AWS, Google Cloud, Microsoft Azure, and OpenStack / Aditya Patawari, Vikas Aggarwal.
- Format:
- Book
- Author/Creator:
- Patawari, Aditya, author.
- Aggarwal, Vikas, author.
- Language:
- English
- Subjects (All):
- Amazon Web Services (Firm).
- Windows Azure.
- Information technology--Automation.
- Information technology.
- Cloud computing.
- Physical Description:
- 1 online resource (200 pages)
- Edition:
- 1st edition
- Other Title:
- Write Ansible playbooks for AWS, Google Cloud, Microsoft Azure, and OpenStack
- Ansible two cloud automation cookbook
- Place of Publication:
- Birmingham, [England] ; Mumbai, [India] : Packt, 2018.
- System Details:
- text file
- Summary:
- Orchestrate your cloud infrastructure About This Book Recipe-based approach to install and configure cloud resources using Ansible Covers various cloud-related modules and their functionalities Includes deployment of a sample application to the cloud resources that we create Learn the best possible way to manage and automate your cloud infrastructure Who This Book Is For If you are a system administrator, infrastructure engineer, or a DevOps engineer who wants to obtain practical knowledge about Ansible and its cloud deliverables, then this book is for you. Recipes in this book are designed for people who would like to manage their cloud infrastructures efficiently using Ansible, which is regarded as one of the best tools for cloud management and automation. What You Will Learn Use Ansible Vault to protect secrets Understand how Ansible modules interact with cloud providers to manage resources Build cloud-based resources for your application Create resources beyond simple virtual machines Write tasks that can be reused to create resources multiple times Work with self-hosted clouds such as OpenStack and Docker Deploy a multi-tier application on various cloud providers In Detail 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. Style and approach This book will help readers get started with Ansible cloud modules. It has code snippets and diagrams along with real world examples that will help you move ahead easily. Using real world scenarios, you will learn to deploy an application to cloud resources.
- Contents:
- Cover
- Title Page
- Copyright and Credits
- Packt Upsell
- Contributors
- Table of Contents
- Preface
- Getting Started with Ansible and Cloud Management
- Introduction
- Infrastructure as Code
- Introduction of Ansible entities
- Installing Ansible
- How to do it…
- Executing the Ansible command line to check connectivity
- Working with cloud providers
- Executing playbooks locally
- How to do it...
- Managing secrets with Ansible Vault
- Understanding sample application
- Using dynamic inventory
- Using Ansible to Manage AWS EC2
- Preparing Ansible to work with AWS
- Creating and managing a VPC
- Creating and managing security groups
- How it works...
- Creating EC2 instances
- Getting ready
- Creating and assigning Elastic IPs
- Attaching volumes to instances
- Creating an Amazon Machine Image
- Creating an Elastic Load Balancer and attaching to EC2 instances
- Creating auto scaling groups
- Deploying the phonebook application
- Managing Amazon Web Services with Ansible
- Creating an RDS instance
- Creating and deleting records in Route53
- Managing S3 objects
- Managing Lambda
- Managing IAM users
- Deploying the sample application
- How it works.
- Exploring Google Cloud Platform with Ansible
- Preparing to work with Google Cloud Platform
- Creating GCE instances
- Attaching persistent disks
- Creating snapshots for backup
- Tagging an instance
- Managing network and firewall rules
- Managing load balancer
- Managing GCE images
- Creating instance templates
- Creating managed instance groups
- Managing objects in Google Cloud Storage
- Creating a Cloud SQL instance (without Ansible module)
- Building Infrastructure with Microsoft Azure and Ansible
- Preparing Ansible to work with Azure
- Creating an Azure virtual machine
- Managing network interfaces
- Working with public IP addresses
- Using public IP addresses with network interfaces and virtual machines
- How do it...
- Managing an Azure network security group
- Working with Azure Blob storage
- Using a dynamic inventory
- Deploying a sample application
- Working with DigitalOcean and Ansible
- Preparing to work with DigitalOcean
- Adding SSH keys to a DigitalOcean account
- Creating Droplets
- Managing Block Storage.
- How to do it…
- Attaching a Floating IP
- Using a Load Balancer
- Adding an A DNS record
- Running Containers with Docker and Ansible
- Preparing Ansible to work with Docker
- Running a container
- How it works…
- Downloading Docker images
- Mounting volumes in containers
- Setting up Docker Registry
- Logging into Docker Registry
- Using Docker Compose to manage services
- Scaling up Compose-based service
- Diving into OpenStack with Ansible
- Preparing Ansible to work with OpenStack
- Adding a keypair
- Managing security groups
- Managing network resources
- Managing a Nova compute instance
- Creating a Cinder volume and attaching it to a Nova compute instance
- Managing objects in Swift
- User management
- Creating a flavor
- Adding an image
- Dynamic inventory
- Ansible Tower
- Installing Ansible Tower
- Getting started with Tower
- Adding a machine credential
- Building a simple inventory
- How to do it.
- Executing ad-hoc commands
- Using Ansible Tower with a cloud provider
- Integrating Ansible roles with tower
- Scheduling jobs
- Ansible Tower API
- Autoscaling using Callback
- Other Books You May Enjoy
- Leave a review - let other readers know what you think
- Index.
- Notes:
- Includes index.
- Description based on online resource; title from PDF title page (EBC, viewed March 22, 2018).
- OCLC:
- 1028181924
The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.