AWS

Launching Linux Instance on EC2

Posted on

Amazon EC2 It is an AWS primary web service that provides resizable compute capacity in the cloud. It can be used to launch instances (e.g. Linux, Ubuntu, Windows, Databases) on cloud. This blog will guide with easy steps for Launching Linux Instance on EC2 (Elastic Compute). What is Elastic Compute? Compute refers to the amount […]

Ansible

Terraform-Dynamic Inventory

Posted on

How to get the Terraform-Dynamic Inventory for your ansible script This blog will help you to find out the Terraform-Dynamic Inventory like EC2 instance which is created automatically using Terraform. Now to do the deployment on this EC2 instance through ansible you need the details. Here, we will find out how we can put the host […]

AWS

Cross Account Access on AWS

Posted on

I have two accounts ( sandbox and pipeline) On Sandbox account, Go IAM -> Roles -> Create ROle-> Select Another AWS acccount as shown below Put Pipeline account number Click Permissions -> Select any policy /custom policy -> Put Role name ->Create Role Below policy will auto created { “Version”: “2012–10–17”, “Statement”: [ { “Effect”: […]

Ansible

Ansible Setup on AWS EC2 Instance with windows Nodes

Posted on

In this blog, we will do the Ansible Setup on AWS EC2 Instance with windows Nodes Prerequisite of Ansible Setup Python 2. SSH Three servers Ansible control Server ( Install ansible using epel repository)- On AWS you have to enable this file WebServer DBServer How to connect between these servers ? To ping these servers(webserver and dbserver) from ansible […]

Ansible

Ansible Setup on AWS EC2 Linux Instance

Posted on

For Ansible to work,python and SSH should be configured on all the servers Prerequistie Python SSH On AWS EC2 Linux Free Tier Instance, python and ssh both are already installed Python Version — 2.7.13 Three servers Ansible control Server ( Install ansible using epel repository)- On AWS you have to enable this file WebServer DBServer How to connect […]

AWS

Configure AWS CLI

Posted on

Configure AWS CLI You need to provide the AWS access credential  to do any kind of automation You can find the security credentials of any IAM user as shown below You need python-pip on that machine to install awscli yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm sudo yum install python-pip sudo pip install awscli –upgrade pip Run the below […]

Ansible

Terraform Examples and Commands

Posted on

This blog will help you with the basic terraform commands and will give you an idea of how to user variables,map, attributes. Some useful terraform commands Terraform plan — this command shows you what applying do by checking the template, state file, and actual state of the resource. It is recommended to use this before running apply […]