Ansible Automation | Launch EC2 Instance Using Ansible Playbook



Ansible Automation | Launch EC2 Instance Using Ansible Playbook Step by Step Guide. Playbooks are available in git repository.

yum install python python-pip python-setuptools*
curl -O https://bootstrap.pypa.io/get-pip.py
python get-pip.py
pip install boto
pip install boto3

python –version
pip –version

yum install ansible git
git clone https://github.com/techtutorials/ansible-palybooks.git

#Ansible #AWS

Youtube PlayLists
RHCE: https://goo.gl/LGTmDK
Shell-Scripting: https://goo.gl/a1Hu3s
Linux-Commands: https://goo.gl/QDoL7h
RHCSA Certification: https://goo.gl/X2Ksqn
Putty Software Tricks: https://goo.gl/MB1Do2
Linux OS: https://goo.gl/62p8s9

Follow Us on Social Media
Telegram Group: https://goo.gl/KPvMda | https://arkit.co.in/one-linux-tutorial/
Reddit: http://bit.ly/redditark | https://goo.gl/mcUvef
Mailing List: http://bit.ly/feedburnerark | https://goo.gl/fb/WAU7JG
Facebook: https://fb.com/linuxarkit | https://goo.gl/2QN4sD
LinkedIn: http://bit.ly/linkedark | https://goo.gl/ZLcikC
Twitter: https://twitter.com/aravikumar48
Google Plus: http://bit.ly/gplusark | https://goo.gl/79zwX9
Whatsapp Group: http://bit.ly/wappg
Telegram Group: http://bit.ly/linux-telegram
AWS Free Tier Account: http://bit.ly/aws-free-tier-account

source

15 thoughts on “Ansible Automation | Launch EC2 Instance Using Ansible Playbook”
  1. Hi , I didn't identified mentioned git repository in GitHub. i searched in GitHub account

  2. Really helpful. I tried other videos on YouTube but they were not that elaborative or missing steps. This video helped me achieve what I wanted from Ansible. Thank you so much.

  3. Hi Sir .. Thanks for the wonderful videos. Can we control windows update using ansible….!!!

  4. Hi please upload how to spin-off azure linux servers using ansible , standalone and multiple servers using single playbook

  5. Sir can i add Elastic IP in this playbook..? and send me code where i need to add as well as thanks

  6. Hello sir, I,m Hemanth kumar. The way that is what you are explaining is very nice. can you please explain about dynamic inventory. And also could you please explain about the yaml script with an another examples?
    why we use roles?
    what is the use of modules?
    And mainly how to write yaml scripts to run playbooks with an another examples?
    please give some clarification on yaml script ,how to write?

    Thank you sir.

  7. Hi @Teck Arkit I have 1 doubt
    how to write single playbook in selected ips install tomcat and nginx ?
    ex: I have 3 ips and save Ansible inventory file
    how to write only 2 ips install tomcat and another one install nginx that time which module we use in the single playbook?

  8. Sir, I have 3 doubts.
    1. Is it possible to change the configuration of the existing instance using ansible playbook?
    2. After creating the Instance using ansible playbook, can I add or delete extra configuration to the old one?
    3. can we scale in or scale out using ansible playbooks?

  9. Hi sir, instead of ansible do i use autoscaling group with bootscraping script to launch ec2 instance? And why do we use ansible exactly in real time ? Please do let me know… thanks

Leave a Reply

Your email address will not be published.

Captcha loading...