filmov
tv
Ansible Automation | How to create EC2 instance using Ansible Playbook in AWS | Ansible Tutorials
Показать описание
Pre-requisites:
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.
Steps to create EC2 instance using Ansible:
Login to EC2 instance using Git bash or iTerm/putty where you installed Ansible. Execute the below command:
Create an Inventory file first
sudo mkdir /etc/ansible
Edit Ansible hosts or inventory file
sudo vi /etc/ansible/hosts
Add the below two lines in the end of the file:
[localhost]
local
cd ~
mkdir playbooks
cd playbooks
Create Ansible playbook
(copy the below content in green color)
now execute the ansible playbook by
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.
Steps to create EC2 instance using Ansible:
Login to EC2 instance using Git bash or iTerm/putty where you installed Ansible. Execute the below command:
Create an Inventory file first
sudo mkdir /etc/ansible
Edit Ansible hosts or inventory file
sudo vi /etc/ansible/hosts
Add the below two lines in the end of the file:
[localhost]
local
cd ~
mkdir playbooks
cd playbooks
Create Ansible playbook
(copy the below content in green color)
now execute the ansible playbook by
Ansible in 100 Seconds
you need to learn Ansible RIGHT NOW!! (Linux Automation)
Open Answers: What is Ansible Automation Platform?
Automate EVERYTHING with Ansible! (Ansible for Beginners)
Ansible Automation Platform 2.3 Walkthrough
What is Ansible | Ansible Playbook explained | Ansible Tutorial for Beginners
i automated my home lab (and CLOUD) with Ansible
Ansible Automation Platform (AAP) Walk-through Demo
Top Automation Expert Shares Ansible Advantages
What Is Ansible? | How Ansible Works? | Ansible Playbook Tutorial For Beginners | DevOps|Simplilearn
Demo: Ansible Security Automation
get started with Ansible Network Automation (FREE cisco router lab)
Ansible Automation Mesh
This web UI for Ansible is so damn useful!
Simple automation for all your Linux servers with Ansible
Ansible Automation Platform (AAP ) Demo
A video tour of Ansible Automation Platform 2
Ansible + Terraform for automating the cloud
Red Hat Ansible Automation Platform Overview
Focus on the fundamentals - Red Hat Ansible Automation Platform
Demo: Configuration as Code for Ansible Automation Platform
Step-by-Step: Installing Containerized AAP on RHEL9 | Ansible Automation Platform
Introduction to Red Hat Ansible Automation Platform
Connecting Windows server to Ansible Automation Platform
Комментарии