This application is built for predicting whether the person might affect by a Brain stroke or not. The application is built from a machine learning model which is hosted on Flask framework with HTML webpages. The Operations are carried out by, GIT GITHUB, Docker, AWS, AWS_ECR, Jenkins, Kubernetes.

Let's Quick Start the project with some concepts of MachineLearning!

Machine learning is based on algorithms that can learn from data without relying on rules-based programming. Simply, we can define it as machines learn algorithms and trains by datasets to perform tasks. Machine Learning algorithms /problems are classified into supervised learning and unsupervised learning.

Our Data set: — https://www.kaggle.com/fedesoriano/stroke-prediction-dataset


* Create an Ansible role myapache to configure Httpd WebServer.

  • Create another ansible role myloadbalancer to configure HAProxy LB.
  • We need to combine both of these roles controlling web server versions
  • and solving challenges for host ip’s addition dynamically over each ManagedNode in HAProxy.cfg file.

For configuring webservers I used 3 ec2 instances and for haproxy 1 ec2-instance.


Ansible Playbook will dynamically load the variable file named the same as OS_name and just by using the variable names we can Configure our target node.

(Note: No need to use when keyword here.)

The playbook should dynamically load the variable file named the same as os_name-> so we launched two instances one is RedHat and other is ubuntu.


Ansible playbook that will retrieve new Container IP and update the inventory. So that further Configuration of the Web Server could be done inside that Container.

In this blog, → first thing is to retrieve the container IP, save it in the Ansible inventory file dynamically, and then by ansible configure the webserver inside the container.

Prerequisite: Docker should be installed → This can be done through ansible here is the article on how to install docker by ansible.

Centos image by default doesn't have ssh, so we cant go inside the docker container for this we have to create a docker image that has ssh facility.

Here I created a docker image that has ssh ability and the username and password are…


DESCRIPTION:-Create a network Topology Setup in such a way so that System A can ping to two Systems System B and System C but both these systems should not be pinging each other without using any security rule e.g firewall etc.

Let’s check the IP and routing table of three VMS and whether they are pinging each other or not!!

SYSTEM -A -IP is #192.168.1,15#

This can ping to google and B and C and have two routes in the routing table!


Task Details:

  • Use Ansible Playbook to configure reverse proxy and update its configuration file automatically each time a new managed node joins the inventory.
  • This setup on AWS cloud.

Ansible

Ansible is an agent-less software platform that automates cloud provisioning, configuration management, application deployment, intra-service orchestration, and many other IT needs. It can configure both Unix-like systems as well as Microsoft Windows.

Ansible portrays a wide range of features that can enhance current processes, migrate applications for better optimization, and provide a single language for DevOps practices across the organization.

haproxy

HAProxy, which stands for High Availability Proxy, is a popular open-source software TCP/HTTP…


7.1 →ELASTICITY TASK!

DESCRIPTION

# Integrating LVM with Hadoop and providing Elasticity to Datanode Storage.

# Increase or Decrease the size of the static partition in Linux.

# Automating lvm with python-script

→ First, we have to configure the Hadoop cluster.

Setting up Namenode:

  • Install JDK and Hadoop with rpm command for Hadoop use — force
  • Create a folder in /
  • In /etc/hadoop → we have to configure two files.
  1. hdfs-site.xml file 2. Core-site.xml file
  • Now we should format the name node
  • Now we should start the name node

check by jps command

Setting Up Datanode:


KUBERNETES!

Kubernetes is also known as K8s, is an open-source system for automating deployment, scaling, and management of containerized applications.

Kubernetes is a program or tool which keeps on monitoring the containers, if any container goes down, behind the scenes it launches another container with the same data.

In docker, we have a tool docker swarm that works the same as Kubernetes but docker swarm is only applicable to docker, but Kubernetes is for all containers {podman, cri-o, docker}.

CASE STUDY OF ADIDAS


MESSAGE QUEUE?

A message queue provides an asynchronous communications protocol, which is a system that puts a message onto a message queue and does not require an immediate response to continuing processing. Email is probably the best example of asynchronous communication. When an email is sent, the sender continues to process other things without needing an immediate response from the receiver. This way of handling messages decouples the producer from the consumer so that they do not need to interact with the message queue at the same time.

A message queue is a form of asynchronous service-to-service communication used in serverless and…


KUBERNETES?

Kubernetes, also known as K8s, is an open-source system for automating deployment, scaling, and management of containerized applications.

Kubernetes automates operational tasks of container management and includes built-in commands for deploying applications, rolling out changes to your applications, scaling your applications up and down to fit changing needs, monitoring your applications, and more — making it easier to manage applications

AZURE AKS!!

Venkateshsandupatla

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