Ansible/EC2
From charlesreid1
Main article: Ansible
EC2 refers to the Amazon AWS service offering compute nodes in the cloud. It stands for elastic cloud compute.
In order to interface with EC2 and manage EC2 nodes, Ansible must have information about how to connect to the AWS nodes in its hosts file.
- See Ansible/EC2/Static Inventory for an example of a static inventory hosts file example for EC2 nodes.
- See Ansible/EC2/Dynamic Inventory for an example script that manages inventory dynamically using the AWS API and the Python boto library
Flags