Hello Connections!😃

👉In this article, You will find some very interesting and fascinating things , you can say a step toward Future Technological Goals⚡. This article is all about integration of some core concepts. Here, I have integrate the AWS services, configuring Hadoop-Cluster, Launch a container on Docker and configuring a webserver on the top of Redhat-8 OS and many more using Python-code. I have created an automation menu script so that by one click , you will be able to launch any of the above service instead of manual operations.

Now, Let’s discuss about LINUX-GUN🎗️:

💠 Linux Gun is a Linux based tool written in Python. It had been developed in order to easily use the Linux without commands and through this program, we can also run the commands in remote login also.

You can say we completely automated the Linux by the help Of python like:-

-> For The Some basic commands(Pings/Retrieving The Data From The Clipboard.....)
-> For some Directory & File Related Commands
-> For the Package Management/Software Management/configure yum/Install software!
-> For Networking Purpose (transfer file to other system/ running the program(GUI Base or CLI based)) !
-> For The User Settings (Add user/Delete user/change password/....)!
-> Configure Webserver !
-> Getting information about (IP/Port Scanning/to run script for get the that system is vulnerable or not) BY THE HELP OF TOOL(NMAP) !
-> Configure Router Gateway !
-> Partition !
-> Docker (setup/configure/pull/lunch)
-> Run AWS Services like EC2, EBS, S3 and CloudFront Distribution
-> Increase the storage dynamically through LVM Concept

👉 Pre-requisite: Hardware —

1. Operating System : Linux (prefer RedHat Linux(RHEL-8))
2. RAM : More than 1 GB
3. Storage : Bare Minimum Requirements

👉 Installation:

Use the package manager pip to install os module, getpass module, pyfiglet.

pip install os
pip install getpass
pip install pyfiglet

Let’s learn about some basic topics and concepts highly used here:-

♦️ What is AWS?

Amazon Web Services (AWS) is the world’s most comprehensive and broadly adopted cloud platform, offering over 175 fully featured services from data centers globally. Millions of customers — including the fastest-growing startups, largest enterprises, and leading government agencies — are using AWS to lower costs, become more agile, and innovate faster.


♦️ What is AWS-CLI?

AWS-CLI(Amazon web services-Command line interface) is an open-source tool that enables you to interact with AWS services using commands through our command prompt in command line. This AWS-CLI provides the same functionality as WEB-UI based on AWS management console.


♦️ What is WEBSERVER?

A Web-Server delivers content for a website to a client that requests it, like a web browser. The HTTP server is a product of Apache Community . Apache is a popular open-source, cross-platform web server that is, by the numbers, the most popular web server in existence. A web server communicates with a web browser using HTTP. The main job of a web server is to display website content through storing, processing and delivering webpages to users.


♦️ What is Hadoop-Cluster?

The Hadoop Cluster is a special type of computing cluster designed to perform Big-data analysis and also to store and manage huge amounts of data. It is a collection of commodity hardware interconnected with each other and working together as a single unit. It basically consists of a master(or namenode), Client and some slaves(or datanodes).

In this , we are going to Create an AWS Account and launch the EC2 instances and install jdk and hadoop in all the instances created . Also, Configure all the instances or nodes(i.e. NameNode, DataNodes, Hadoop-Client) which you have created in the Hadoop-Cluster in AWS Cloud. After Configuring , Start the Hadoop Daemon in all nodes.


♦️ What is DOCKER?

Docker is a set of platform as a service (PaaS) products that use OS-level virtualization to deliver software in packages called containers. Containers are isolated from one another and bundle their own software, libraries and configuration files, they can communicate with each other through well-defined channels. All containers are run by single operating system kernel and therefore, use fewer resources than virtual machines. The software that hosts the containers is called Docker Engine. Docker has a capability to launch OS in 1 second which is called as docker container. It is highly efficient with low latency and high speed.


📌All these things , we going to configure upon REDHAT Linux version-8 (RHEL-8) and on AWS. (Should have taken Base-OS as RHEL-8)☑️


📌 For Python Code, Visit my GitHub Repo:- https://github.com/akshrasharma2666/PythonAutomateScript

📌I have done this task with My TeamMate- Shashwat Singh (GitHub Link:- https://github.com/Shashwatsingh22/LinuxGun)

Now, You can proceed with your work easily….🌻!!

✳️For any queries, Comment below👇 and if you like my article and able to see the efforts💁 then, Don’t forget to clap👏 down👇.


Aeromodeller|Passionate|Technoholic|Learner|Technical writer