In the previous section, we have seen how we can automate the infrastructure deployment in AWS Cloud using CloudFormation. Now we will automate the configuration management task using Ansible.
Here, we will see how automation helps with configuration management. In both OpenStack and AWS, we have the option to pass the custom script in the user data section to automate the package installation task.
In AWS, we use the following steps to pass to user data:
- Log in to AWS Management Console.
- Search for EC2 services.
- Click on Create Instance | Choose AMI | Choose Instance Type and click on Configure Instance:
- Here, ...