Ansible/EC2: Difference between revisions
From charlesreid1
No edit summary |
No edit summary |
||
| Line 14: | Line 14: | ||
{{AnsibleFlag}} | {{AnsibleFlag}} | ||
[[Category:AWS]] | |||
Latest revision as of 16:40, 11 November 2018
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