1 min readAug 13, 2020
PROVISIONING AWS INSTANCE USING ANSIBLE.
Ansible is a tool primarily used for managing configuration. Ansible can also be used for provisioning OS/Server. However, they are not best optimized for OS provisioning.
Below is simple Ansible code to Spin an AWS EC2 instance.
Pre requisites:
- Python is installed.
- Ansible is installed.
- Python boto library ( This is to communicate with AWS cloud API)