Integration All Concepts using Python


  1. Redhat Linux OS
  2. Docker containers
  3. Hadoop
  4. AWS

Redhat Linux os

Linux can serve as the basis for nearly any type of IT initiative, including containers, cloud-native applications, and security.

By Linux Script you can see date & calender, create a directory, see your memory details, see your Hard Disk details, setup webserver, check the connection, change to the root user, install any software, start any service or daemon, Reboot your machine and shut down your machine by just pressing 1, 2 and 3.

Docker Container

Container images become containers at runtime and in the case of Docker containers — images become containers when they run on Docker Engine.

With the help of python and docker integration, you can check the status of docker, check docker info, check the images available, check the containers launched and launch a container by just pressing 1and 2.


Typically one machine in the cluster is designated as the NameNode and another machine as the ResourceManager, exclusively. The rest of the machines in the cluster act as both DataNode and NodeManager. These are the workers.

Configuring Hadoop in Non-Secure Mode

Read-only default configuration — core-default.xml, hdfs-default.xml, yarn-default.xml and mapred-default.xml.

Site-specific configuration — etc/hadoop/core-site.xml, etc/hadoop/hdfs-site.xml, etc/hadoop/yarn-site.xml and etc/hadoop/mapred-site.xml.

Additionally, you can control the Hadoop scripts found in the bin/ directory of the distribution, by setting site-specific values via the etc/hadoop/ and etc/hadoop/

To configure the Hadoop cluster you will need to configure the environment in which the Hadoop daemons execute as well as the configuration parameters for the Hadoop daemons.

HDFS daemons are NameNode, SecondaryNameNode, and DataNode.

Integration of python and Hadoop is done as just by giving the details about namenode, data node and client you can configure and start the nodes automatically. A complete cluster is formed.

Amazon Web Services

The AWS technology is implemented at server farms throughout the world, and maintained by the Amazon subsidiary. Fees are based on a combination of usage (known as a “Pay-as-you-go” model), hardware, operating system, software, or networking features chosen by the subscriber required availability, redundancy, security, and service options. Subscribers can pay for a single virtual AWS computer, a dedicated physical computer, or clusters of either.

By python and AWS integration you can automate AWS.

By just pressing few numbers you can Create Key Pair, Create Security Group, Add Ingress Rules to Existing Security Group, Launch Instance on Cloud, Create EBS Volume, Attach EBS Volume to EC2 Instance, Configure WebServer, Create Static Partition and Mount /var/www/html folder on EBS volume, Create S3 Bucket, Object inside S3 bucket and make it public accessible, to remove specific Object from S3 bucket, delete Specific S3 Bucket, create Cloudfront distribution providing S3 as Origin, delete Key Pair, Stop EC2-Instances, Start Ec2-Instances, terminate Ec2-Instances, delete Security group and Go back to the previous menu.

and here's our first team task is completed!

THANKS to Vimal Sir for sharing his knowledge, time and support.
This would not have been possible without the support of my team so thanks to everyone Ashish Dwivedi Abhishek Sharma Ankit Pramanik KRUSHNA PRASAD SAHOO