Ansible playbook for MongoDB Replication setup on CentOS7

Hi Techrunnr, this post is regarding mongoDB installation and replica setup with HA using ansible on CentOS7 Prerequisites: 3 servers with CentOS7 operating system Deploy 3 servers in 3 different AZ Python on 3 nodes Ansible on execution server Enable Security groups on each server to communicate with each other Create 3 servers on different AZ Lets say server A <IP1>, server B <IP2>, server C <IP3>, make sure that security groups are enable to allow traffic from each other Edit the /etc/hosts file in 3 nodes, add the IP…

Read More

EC2 Data Lifecycle Manager

Hi All, this document deals with how to set up an EC2 data life cycle manager.Data Lifecycle Manager help you to take a snapshot of the Ec2 instance/Volume and delete the older snapshots after specific days of the retention policy. prerequisites AWS Console access. ConfigurationĀ  Step 1: Login to AWS console and select EC2 from the services list. Step 2: Select the Life cycle manager from elastic Block storage. Step 3: Now you will be able to see the welcome dashboard of Life cycle manager. Step 4: Enter the description…

Read More

Copy s3 bucket contents to another

Hi Techrunnr, this post is regarding copy the contents of s3 bucket to another using aws cli, let’s say we have some contents in bucket1, we want to take daily basis backup to another bucket and we want to maintain a directory structure as month and day basis, so here we go prerequisites: AWS CLI installed AWS Access key and secret key and your account should be able to access both the bucket Login to aws account using below commands: We will create folder with today’s date in the script…

Read More

different types of load balancer in AWS

Hi All, this document deals with different types of load balancer in AWS. The load balancer is one if the technology used in Computing which can distribute workload on various resources attached to the load balancer, Load balancing can be done for resources such as network links, computer cluster and many more. Implementation of load balancer increases the performances of the resource. It helps to scale the resources. Looking into AWS load balancer which Elastic load balancer was commonly known as ELB. Now there are 3 different types of elastic…

Read More

extend the root volume of windows server

Hi All, this document deals with how to extend the root volume of windows server. There is always a chance to increase the EBS volume of instances when you go beyond the existing size while creating the instance. This tutorial will help how to extend the volume. configuration Step 1: Login to AWS Ec2 console. Step 2: Select your Ec2 instance. Step 3: From the Instance, description selects your EBS volume, for a saver side take a snapshot of the volume. Step 4: Once the snapshot completed, select the volume,…

Read More