In this blog, we will use a GUI application(like firefox) in Docker using the DISPLAY and /tmp/.X11-unix file redirecting the GUI operations to the base OS use the GUI applications using the concept.

Before moving to the procedure, let’s get familiar with the display in Linux.


In this blog, we’re going to set up a machine learning environment and code on the Docker container using Dockerfile.

Linear Regression:

Linear Regression is the machine learning algorithm that learns using the formula y=mx+c, where y needs to be predicted and x is the predictor. It works on the continuous data where the correlation forms a linear line. Slope(m) and intercept(c) is learnt over a time.

We’re using Salary dataset for linear regression without any hyperparameters tunning.

We need to import the modules given in the below screenshot.


What is S3 Bucket ?

S3 is an object storage service that offers industry-leading scalability, data availability, security, and performance. This means customers of all sizes and industries can use it to store and protect any amount of data for a range of use cases, such as data lakes, websites, mobile applications, backup and restore, archive, enterprise applications, IoT devices, and big data analytics.

What is Route 53 ?

Route 53 is a highly available and scalable cloud Domain Name System (DNS) web service. It is designed to give developers and businesses an extremely reliable and cost effective way to…


Task Description 📝:

Configure the Hadoop cluster using Ansible.

Steps in order to achieve the goal:

  1. Transfer the JDK and Hadoop installation files.
  2. Install the JDK.
  3. Install the Hadoop.
  4. Make a name node/data node directory.
  5. Update the config files i.e. core-site.xml, hdfs-site.xml.
  6. Format the name node.
  7. Start the name node and data node services.
  8. Get the Hadoop cluster report.

I’m using data_node_conf and name_node_conf for keeping the configuration files template, ip.txt is an inventory, hadoop-setup.yml is a playbook, rpm modules, and vars_file.yml and named the groups as namenode and datanaode.


Cloud Front

Task Description📄

🔰 Create High Availability Architecture with AWS CLI 🔰

🔅The architecture includes-

✨Webserver configured on EC2 Instance

✨Document Root(/var/www/html) made persistent by mounting on EBS Block Device.

✨Static objects used in code such as pictures stored in S3

✨Setting up Content Delivery Network using CloudFront and using the origin domain as S3 bucket.

✨Finally place the Cloud Front URL on the webapp code for security and low latency.

Prerequisites:

  • Created an AWS account.
  • Install AWS CLIv2 in OS.
  • Configure AWS CLIv2 with IAM user.
  • Some Basics of How to configure WebServer

What is a Web-Server?

A web server is…


Hi all, in this blog I will try to do some of the tasks in AWS using AWS-CLI as well as the use of Cloud formation.

  1. Create a key pair
  2. Create a security group
  3. Launch an instance using the above created key pair and security group.
  4. Create an EBS volume of 1 GB.
  5. The final step is to attach the above created EBS volume to the instance I have created in the previous steps.

Here is the Youtube link for the demo version of the same

I have automated the above AWS tasks using Python Scripting using AWS-CLI.

You…


Hello everyone !!

In this article, I’m going to set up my system such that the system is able to ping Google but not able to ping Facebook.

Firstly, we will get familiar with some networking terms which we are going to use in this setup.

What is a Router?

A Router is a networking device that guides and directs network data using packets over the internet that contains various kinds of data like webpages, emails, audio, video, and many more. It is usually connected to a number of data lines from different networks. …


Kubernetes is a workload distribution and orchestration system for servers in a data center that are clustered. It ensures resource availability and accessibility, as well as balanced execution for multiple servers running at the same time.

Kubernetes, as a distributed data processing mechanism, can allow any number of servers of different types to share workloads for a common client at the same time, regardless of their location. Clients are then faced with these workloads as resources. Kubernetes uses this framework to allow the client system to connect to services over the network, transfer data, and receive responses.

Many data points…


Beginning a business can be energizing, yet overwhelming. You realize your thought merits imparting to other people, yet how would you support and advance that thought? Where do you start? Furthermore, when you start, how would you make all the difference for your energy?

Luckily, there are accessible assets, and quite possibly the most supportive assets is Amazon Web Services (AWS). AWS is a cloud administrations stage that proposals more than 50 administrations to help you assemble, dispatch, and scale your business, regardless of what stage it’s in. You can have on-request admittance to every one of these sources and…


Importance of Openshift in the current industry and its use cases

Containers are a great way to build and deploy apps because they are so effective.
As the use of containers grows, the difficulty of managing containers through the entire IT infrastructure grows exponentially, necessitating the use of a container management framework at the enterprise level.

While containers can be thought of as a next-generation approach to virtualization, they share one downside with virtual machines: container sprawl (rather than VM sprawl). …

Rahulbhatia1998

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