What is K-Means clustering ?

K-Means clustering is a Machine Learning algorithm that helps in making groups or clusters in our data. But why do we want to our data to be grouped in that way? Grouping data provides a better understanding of the data even if its already been presented in a graphical way.

Not only this, grouping our data can be helpful segregate different types of things in different categories for example Market segmentation, document clustering. …

What is JavaScript?

JavaScript in simple terms is a web development language. It works with HTML and CSS to do the manipulative and interactive things rather than just showing the static things on the web page which is the work of HTML and CSS. CSS is used to make our page a little more creative and animated. But the things like what happens if someone press this or that button is taken care of by JavaScript.



In this article I’ve tried to tell a little about the types of IDS systems and confusion matrix and how confusion matrix plays a vital role in it in simple language.

IDS stands for Intrusion Detection Systems. An IDS identifies different kinds of malicious network traffic and computer usage, which cannot be identified by a traditional firewall.

This is vital to achieving high protection against actions that compromise the security of computer systems especially when this happens for an important organization like a bank or some national/international agency.

On the basis of how the intrusion is detected IDS systems can…


In this article we’ll be running a Basic ML code on top of Docker container, having CentOS image, on the top of Redhat Linux 8 virtual machine.

Setting up Container

Get the latest CentOS docker image from the online docker repository using

docker pull centos 


In this article we are going to launch WordPress on an RHEL AWS instance and use AWS RDS with MySQL as its database. I tried to explains the steps as much as I could considering that you’re very new to this.

What is WordPress?

In technical terms, WordPress is free and open-source web-creation platform written in PHP that can work with MySQL and MariaDB databases. Simply put, WordPress lets you create your own website or blog. WordPress has become the most popular web publishing platform since its release in 2003. …

By-default any container that you run on docker is in CLI mode. It is so because the main use of containers are to deploy apps while running programs in the background. This is how it is used for the best to give an isolated environment with an amazing performance.

What is the need to launch a container in GUI mode?

There are times when you need to evaluate an application and you do not want it to mess with your host operating system. So, launching that application in an isolated environment will be a good idea using a docker container.


Unlike the regular operating systems docker containers do not have any…

What is MongoDB?

MongoDB is an open-source, schemaless, document-oriented platform also classified as NoSQL database program. In simple terms what happens in MongoDB is, unlike the traditionally used method of creating tables where you create a separate field (column) for every new information you want to add in any record (row) in relational database like SQL, you can create records with there own metadata. The way the data is stored in MongoDB is not in rows and columns but in key-value pairs using JSON.

So, along with providing the features that SQL do, it provides features more than that classifying it to be…


  • Basic knowledge of Hadoop Cluster
  • Ansible-playbook


In this article we will set up a Hadoop cluster with the help of Ansible notebook on Redhat OS which will take as many slave nodes and client nodes in the cluster as you like.

I tried my best to highlight the confusing points you face while creating the playbook.

First, let’s discuss on basic terms what is a hadoop cluster and ansible-playbook.

Hadoop Cluster:

A Hadoop cluster is a collection of computers, known as nodes, that are networked together to perform these kinds of parallel computations on big data sets.


Ansible-Playbook is a file that…


This article is divided into two parts:

  • How to make a dynamic inventory and configure AWS instances using ansible playbook.
  • How to create a role to Configure K8S Multi Node.


  • Ansible basics
  • AWS EC2 instances
  • Kubernetes basics


Make sure you have ansible installed with the basic requirements like boto for the dynamic inventory. A collection of the commands you need to run from zero level would be:

yum install python3 -y
pip3 install boto3
yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm -y
yum install ansible -y

This will install ansible and python with required library for you.

Now let’s make the inventory. In dynamic…

What is Kubernetes?

It groups containers that make up an application into logical units for easy management and discovery. Kubernetes builds upon 15 years of experience of running production workloads at Google, combined with best-of-breed ideas and practices from the community.

What is Azure Kubernetes Service?

Microsoft Azure is a world-renown cloud platform for SMBs to large scale business, while Kubernetes is a modern-day approach that is rapidly becoming the regular methodology to manage cloud-native applications in a production environment. Azure Kubernetes Service (AKS) has brought both solutions together that allow customers to create fully-managed Kubernetes clusters quickly and easily.

AKS is an open-source fully managed container orchestration…

Rahul Bhardwaj

Technology enthusiast with a passion to learn new things and skills.

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