Using Ansible to Manage AWS EC2

In this chapter, we will cover the following recipes:

  • Preparing Ansible to work with AWS
  • Creating and managing a VPC
  • Creating and managing security groups
  • Creating EC2 instances
  • 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

Get Ansible 2 Cloud Automation Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.