Image for post
Image for post

Hello Guys ✨

Hope you all are doing great. This blog is about the Automation using Ansible - Demo ( Practical Implementation) session which I attended on 28th December 2020. Being a technical student it’s always great to attend sessions like this from industry experts and to see and learn what real use cases industries are solving with that particular technology.

The session was with two of the best experts from the industry Mr. Sreejith Anujan & Mr. Arun Eapen.👨‍💻.

" Mr. Sreejith Anujan", The Principal Instructor at Red Hat. He is primarily responsible for empowering Red Hat customers with tailor-made enablement services…


Image for post
Image for post

What is Kubernetes?

Kubernetes, also known as K8s, is an open-source system for automating deployment, scaling, and management of containerized applications. The name Kubernetes originates from Greek, meaning helmsman or pilot. Google open-sourced the Kubernetes project in 2014.

Why Kubernetes is so useful?

Let’s take a look and understand how applications were deployed and managed earlier.


Image for post
Image for post

In this blog, I am going to set up Python Interpreter on a docker container and run python code on a Docker container. The prerequisite for this practical is that the docker engineer should be running.

Step 1: Launch the docker container with centos image

In this step, we will launch the container with a centos image.

docker run -it — name pythonos centos


Image for post
Image for post

In this blog, I am going to configure the HTTPD web server on the Docker container. For this practical, I am going to use Redhat 8 Operating System and Apache HTTPD software for the webserver.

Step 1: Install Docker-CE software on Redhat 8

We directly cannot install the docker-ce software on Redhat 8. To install the docker-ce software on Redhat 8 first we have to create the repo for the software.


Image for post
Image for post

In this blog, I am going to discuss how to resize the static partition in Linux with the help of the resize2fs command. The basic prerequisite for this task is Linux partition.

Linux Partition:

A hard disk can be divided into several partitions. Each partition functions as if it were a separate hard disk. There are several reasons why we create the partition:

  • multiple operating systems on the same disk.
  • different file systems on different partitions.
  • more efficient disk space management.
  • different security settings on different partitions.
  • easier backup procedure.

Task Description:

In this task, we have to increase or decrease the size of…


Image for post
Image for post

In this blog, I am going to discuss how we can integrate LVM with Hadoop to provide elasticity to the Data node storage. Let me first explain about the task which I and going to perform.

Task Description :

In this task, we have to make the data node storage elastic so that whenever we required to change the size of data node storage we can achieve it without shutting down the data node or without stopping the service of the data node.

For this task, there are some prerequisites

Prerequisite :

  • Basic knowledge of Hadoop
  • Knowledge of Linux Partition and LVM

Hadoop :

Hadoop is an…


Image for post
Image for post

Have you ever wonder how Netflix, YouTube, or search engines like Google or social media like Facebook, Twitter give the best results to their customers or how Tesla is working on Autonomous cars. If yes then this blog is for you. I am going to talk about the core concepts which powers many of the services that we use today. Yes, the process called machine learning is behind all the services that we use today. Be its product recommendation, voice assistance, email Spam and Malware filtering, customer support, fraud detection, and many more. …


Image for post
Image for post

Task Description

  1. Write an Infrastructure as code using terraform, which automatically deploy the Wordpress application
  2. On AWS, use RDS service for the relational database for Wordpress application.
  3. Deploy the Wordpress as a container either on top of Minikube or EKS or Fargate service on AWS
  4. The Wordpress application should be accessible from the public world if deployed on AWS or through workstation if deployed on Minikube.

Terraform Code

1. Give provider details for aws and kubernetes

// AWS Provider
provider “aws” {
profile = “aditya”
region = “ap-south-1”
}

// Kubernetes Provider
provider “kubernetes” {
config_context_cluster = “minikube”
}

2. Create the VPC

resource “aws_vpc” “main” {
cidr_block = “10.10.0.0/16” …


Image for post
Image for post

Problem Statement

We have to create a web portal for our company with all the security as much as possible. So, we use Wordpress software with dedicated database server. Database should not be accessible from the outside world for security purposes. We only need to public the WordPress to clients also add an additional feature to be added that is NAT Gateway to provide the internet access to instances running in the private subnet.

So here are the steps that we need to follow :

1. Write an Infrastructure as code using terraform, which automatically create a VPC.

2. In that VPC we have to create 2 subnets:

(a). public subnet [ Accessible…

Aditya Raj

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