AWS EC2 Deployment using Ansible Playbook.

Описание к видео AWS EC2 Deployment using Ansible Playbook.

Hello Guys,

I am Ram Mishra,

Welcome to my “Linux R” YouTube Channel.

About This Video: -


In this video i am going to explained you “How to create AWS EC2 instance using Ansible Playbook”.

Ansible is a configuration management tool, and unlike Chef and Puppet, it uses a push mechanism to make the desired changes on the servers using ssh-agent. For AWS, we can use boto SDK instead.

Please Like, Share on my Video and Provide your valuable feedback by commenting in below comment section.

***************************************************************************
About This Channel:-

Friends, on this channel you get to see RHEL Linux, RHCSA AND RHCE, Ansible (Automation) , AWS-Cloud or Devops related videos. With this, more educational videos will be found on this channel. Friends, if you like this channel, then please subscribe to the channel and do not forget press the bell icon button, for latest update.

Friends, if u r interested in taking rhel online classes for RHCSA and RHCE, Anisble (Automation) and AWS-Cloud, contact us threw given links.

Interested candidates are requested to register in the below mentioned link.
Registration Link: https://forms.gle/wfocDLANCLsExGrj8
My social Site Links:

Mailing address: [email protected]

Facebook Address:   / retesh.mishra.33  

LinkedIn Address:   / ram-mishra-508a3385  

Channel Link:    / @linuxr798  

#################################
📢THANKS FOR WATCHING
📢PLEASE LIKE SHARE AND SUBSCRIBE
📢JOIN FOR ONLINE TRAINING
=============================
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$

Ansible Code for Daemo Lab.

#### cat main.yml

Lauch Basic EC@2 instance in mumbai region.
name: Ansible Play
hosts: localhost
tasks:
name: launching AWS instance using Ansible

ec2:
key_name: mumbai
region: ap-south-1
instance_type: t2.micro
image: ami-05c8ca4485f8b138a
instance_tags:
Name: Daemo_server

$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$

##### cat stop.yml

name: Stop instances
hosts: localhost
tasks:
name: Stop instances that were previously launched
ec2:
state: stopped
region: ap-south-1
instance_tags:
Name: Daemo_server

##### cat start.yml

name: Start instances
hosts: localhost
tasks:
name: Start instances that were previously Stoped
ec2:
state: running
region: ap-south-1
instance_tags:
Name: Daemo_server

$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$

#### cat terminate.yml

name: Terminate instances
hosts: localhost
tasks:
name: Terminate instances that were previously created
ec2:
state: absent
region: ap-south-1
instance_ids: i-0f1bd9874124383b2

Комментарии

Информация по комментариям в разработке