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
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
Ansible Playlist: https://www.youtube.com/playlist?list=PL8cE5Nxf6M6YUaKyuon-AWRDNr31ANuo2
Excellent illustration on creating EC2 using Ansible. Thanks!!
hi small dout you don't mention the subnets but ec2 is cerate how
Hi , I didn't identified mentioned git repository in GitHub. i searched in GitHub account
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.
how to install apache in the new instance
Hi Sir .. Thanks for the wonderful videos. Can we control windows update using ansible….!!!
how to login to that box using ssh? as we dont have pemfile with us?
Hi please upload how to spin-off azure linux servers using ansible , standalone and multiple servers using single playbook
Sir can i add Elastic IP in this playbook..? and send me code where i need to add as well as thanks
How to make Linux command as a service using ansible
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.
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?
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?
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