How to Terminate EC2 Instance using Ansible Playbook | Terminate EC2 instance | Ansible Tutorials

preview_player
Показать описание

Pre-requistes:
Ansible is installed and Boto is also installed on Ubuntu EC2 instance
Make sure you create an IAM role with AmazonEC2FullAccess policy and attach the role to EC2 instance.
Рекомендации по теме
Комментарии
Автор

Sir, thanks for posting this useful video on ansible.I have a query, when you execute ansible playbook, does the ansible server has attached with any roles? Like aws ec2 full admin access roles? How it's able to reach aws account and starts terminating instances ? Also when we pass 'e -- parameter, can we give a file which contains list running instances ami id? Like a variable file?

thangamdurai
join shbcf.ru