Image for post
Image for post

Networking is the exchange of information and ideas among people with a common profession or special interest, usually in an informal social setting. Networking often begins with a single point of common ground.

In my previous article, I have talked about networking and many other concepts related to it and which is required to understand today's practical so if you are new to networking you can go through my article using this link for better understanding of this demo.

In this article I would be creating a custom network by which we can able to ping system A from B & C and vice versa but system B and C cannot able to ping each other despite having a connection, So to achieve this network topology we will be using route tables.


Image for post
Image for post

Here you will get the solution to many problems like why it is important to use Load Balancer and how haproxy is solving our problems related to security as well as of load balancing, we will also deploy Web servers on the AWS instances through Ansible. These webservers are accessible for the client through the Load balancer.

In this article we will setup same setup on the AWS cloud with 1 system as Load Balancer and 2 system as backend server and in my last article I have configure this setup on Virtual Machines in my local system.

When we set up a system to work as a webserver it can handle some limited number of clients, so for the best user experience company runs many servers which provide the same services so the client can access the services without any interruption but every webserver is having its own IP address so the client has to remember every IP address which is not possible and if the client can directly interact with backend server its also a serious problem as the attacker can access my critical information. …


Image for post
Image for post

Configuration Management has always been an important task, mostly for installing, uninstalling, tracking and controlling software changes or rather we can say in an Operating System. But manually configuring multiple no. of OS or servers is a tedious & error-prone job. Generally in companies, we have 100s or1000s or millions of servers depending upon the scale of the companies. Hence, there is no other way other than Automation.

In this article we would be configuring 1 system as Haproxy and 2 systems as webserver using ansible automation.

So what is HaProxy?

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). It is used in many high-profile environments, including GitHub, Imgur, Instagram, and Twitter. …


Python’s success revolves around several advantages it provides for beginners and experts alike

Image for post
Image for post

Python is both popular and widely used, as the high rankings in surveys like the Tiobe Index and the large number of GitHub projects using Python attest. Python runs on every major operating system and platform, and most minor ones too. Many major libraries and API-powered services have Python bindings or wrappers, letting Python interface freely with those services or directly use those libraries.

So let's start with how Data Handling is done in Python?

Let's understand different methods python use for data handling

Python numbers: Python supports integers, floating-point numbers and complex numbers. They are defined as int, float and complex classes in Python. Integers and floating points are separated by the presence or absence of a decimal point. For instance, 5 is an integer whereas 5.0 …


Image for post
Image for post

Hello everyone, welcome to another exciting blog that demonstrates the use of Routing Table. Routing Table is the only thing that helps us to create, send, receive the internet packets.

In this article I would be creating a network by which we can able to connect with google but not with facebook in spite of having internet connectivity, So to achieve this network topology we will be using route tables.

So firstly let’s understand the basic terminology of networking world which we would require in this article

  • Networking: Networking is the exchange of information and ideas among people with a common profession or special interest, usually in an informal social setting. …


Image for post
Image for post

Ansible is a tool which is used for Configuration Management. In Ansible we only declare “what to do”. We don’t need to specify “How to do” because Ansible already knows that on each type of Operating System as Ansible is a Declarative language. This intelligence of Ansible comes from modules. Modules know “How to do operate on different OS”. We don’t require to give a particular OS command. Ansible doesn’t perform any operation on the OS. It is done by respective OS command. Ansible module knows which command is required to run on a specific OS.

In this article, I would be achieveing Apache webserver restart serivce with the ability of idempotence using ansible…


Image for post
Image for post

Python is an interpreted, high-level and general-purpose programming language. Python’s design philosophy emphasizes code readability with its notable use of significant whitespace. Its language constructs and object-oriented approach aim to help programmers write clear, logical code for small and large-scale projects.

Python is dynamically typed and garbage-collected. It supports multiple programming paradigms, including structured (particularly, procedural), object-oriented, and functional programming. Python is often described as a “batteries included” language due to its comprehensive standard library.

In this article, I will answer some common and interesting question

→ Is Python interpreted or compiled? Are there ways to compile the code?

→ Which is faster in python — Searching in a list or a dictionary. And why? …


Image for post
Image for post

Yesterday I got an opportunity of having an exciting session on Industry Use cases on Automation using Ansible. All thanks to Mr Sreejith Anijan (Principal Instructor in Redhat), Mr Arun Eapen (Director, APAC Service Delivery, GLS RedHat Asia Pacific) for imparting us wonderful session for real use cases of Ansible.

Got to learn many new things, the first point of attraction was the welcome note from Mr Arun Eapen on the subject why industries need to automate their trivial works from manual to digital and from digital to automated and due to pandemic situation this has speeded up and wanted all the possible works to be…


Image for post
Image for post

Automation is one of the most vital technologies in the current industry. Most companies have to deal with a large number of systems daily which needs to be configured and maintained for the smooth functioning. Although system configuration can be done manually too it makes the process very lengthy, time-consuming and prone to more types of error.

First, let's talk about what is Hadoop

Apache Hadoop is a collection of open-source software utilities that facilitates using a network of many computers to solve problems involving massive amounts of data and computation. …


Image for post
Image for post

When containers were first introduced in 2008, Virtual Machines, or VMs, were the state-of-the-art option to optimize a data centre’s physical resources. This arrangement worked well enough but had some flaws like Virtual machines utilized too many resources because they required both a complete operating system and emulated instructions to reach the physical CPU.

To solve this problem, a common kernel is shared with all applications that can choose any operational resources as necessary. Containers can run on bare metal while sharing resources, but without being able to access other containers’ resources. How do containers ensure high availability, disaster recovery, or scalability? …

Yash Agarwal

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