September 2018
Beginner to intermediate
214 pages
5h 53m
English
Ansible allows automation of your AWS cloud environment, enabling dynamic provisioning of instances and smart scalability via the huge number of modules dedicated to AWS services. In this section, we will only focus on Amazon AWS EC2. There is a large library of modules to manage other AWS services and services for other cloud providers that can be found on the Ansible module index.
As a prerequisite, it is highly recommended that you have a dynamic inventory. It is also recommended that you store the access and secret keys in vars_file and possibly protect them using Ansible Vault:
---ec2_access_key: "a_key"ec2_secret_key: "another_key"
You are also required to install the boto Python library on the controlling machine ...
Read now
Unlock full access