HAProxy, which stands for High Availability Proxy, is a popular open source software TCP/HTTP Load Balancer and proxying solution which can be run on Linux, Solaris, and FreeBSD. Its most common use is to improve the performance and reliability of a server environment by distributing the workload across multiple servers (e.g. web, application, database).

Task Description :

Deploy a Load Balancer on my local system and multiple Web Servers on AWS instances through Ansible!

  1. Provision EC2 instances through ansible.


Ansible is a great tool in doing configuration on any OS what we have to launch an OS using Ansible. So it can be possible using Ansible. But ansible is meant for configuration and for provisioning OS, we can use Terraform. Though Ansible we can manage configuration as well as provisioning there I am using Ansible to provision ec2 instance and also for configuring web server inside that ec2 instance.

Task Description :-

  • Provision EC2 instance through ansible.

1. Install necessary library

pip3 install boto
pip3 install boto3

2. Changes in Configuration file of ansible


AWS RDS

Amazon Relational Database Service (Amazon RDS) makes it easy to set up, operate, and scale a relational database in the cloud. It provides cost-efficient and resizable capacity while automating time-consuming administration tasks such as hardware provisioning, database setup, patching and backups. It frees you to focus on your applications so you can give them the fast performance, high availability, security and compatibility they need.

Amazon RDS is available on several database instance types — optimized for memory, performance or I/O — and provides you with six familiar database engines to choose from, including Amazon Aurora, PostgreSQL, MySQL, MariaDB, Oracle Database…


Challenge

In 2016, Booking.com migrated to an OpenShift platform, which gave product developers faster access to infrastructure. But because Kubernetes was abstracted away from the developers, the infrastructure team became a “knowledge bottleneck” when challenges arose. Trying to scale that support wasn’t sustainable.

Solution

After a year operating OpenShift, the platform team decided to build its own vanilla Kubernetes platform — and ask developers to learn some Kubernetes in order to use it. “This is not a magical platform,” says Ben Tyler, Principal Developer, B Platform Track. “We’re not claiming that you can just use it with your eyes closed. …


The session was on the Automation Using Ansible-(Practical Implementation) by

  • Mr. SREEJITH ANUJAN

I got to know :

  1. Automation is to optimize our program to do task by it’s own using less human interaction .


What is Ansible?

Ansible is an open-source automation tool, or platform, used for IT tasks such as configuration management, application deployment, intraservice orchestration, and provisioning. Automation is crucial these days, with IT environments that are too complex and often need to scale too quickly for system administrators and developers to keep up if they had to do everything manually. Automation simplifies complex tasks, not just making developers’ jobs more manageable but allowing them to focus attention on other tasks that add value to an organization.

What is Hadoop ?

The Hadoop Distributed File System (HDFS) is a distributed file system designed to run on commodity hardware. It…


Ansible is a software tool that provides simple but powerful automation for cross-platform computer support. It is primarily intended for IT professionals, who use it for application deployment, updates on workstations and servers, cloud provisioning, configuration management, intra-service orchestration, and nearly anything a systems administrator does on a weekly or daily basis. Ansible doesn’t depend on agent software and has no additional security infrastructure, so it’s easy to deploy.

CISCO ENABLES DEVOPS


What is Ansible?

Ansible is an open-source automation tool, or platform, used for IT tasks such as configuration management, application deployment, intraservice orchestration, and provisioning. Automation is crucial these days, with IT environments that are too complex and often need to scale too quickly for system administrators and developers to keep up if they had to do everything manually. Automation simplifies complex tasks, not just making developers’ jobs more manageable but allowing them to focus attention on other tasks that add value to an organization.

What is Docker?

Docker is a set of platform as a service (PaaS) products that use OS-level virtualization to deliver software…


Automation is the technology by which a process or procedure is performed with minimal human assistance. The process of creating software and systems to replace repeatable processes and reduce manual intervention.

I have created a menu-driven program which gives the user the power to set up and manage Linux operations, Docker, Hadoop, AWS.

You just have to a Run command

python3 automation.py 

Explaination to whole program and its implementation is explained in this video :

Link to the Github : https://github.com/sarthak-sriw/arth_automation_task

Main Menu :


AWS Cloudfront

CloudFront is a CDN (Content Delivery Network). It retrieves data from Amazon S3 bucket and distributes it to multiple datacenter locations. It delivers the data through a network of data centers called edge locations. The nearest edge location is routed when the user requests for data, resulting in lowest latency, low network traffic, fast access to data, etc.

How AWS CloudFront Delivers the Content?

AWS CloudFront delivers the content in the following steps.

Step 1 The user accesses a website and requests an object to download like an image file.

Step 2 DNS routes your request to the nearest CloudFront edge location to serve the user…

Sarthak Srivastava

I’m an undergraduate student at IIIT Ranchi, pursuing my B-Tech in Electronics and Communication Engineering.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store