Posts

Showing posts from January, 2021

WordPress on the top of EC2 instance and AWS RDS

Image
There are few steps you need to follow to Launch WordPress on the top of AWS EC2 instance and AWS RDS for databases :  1. Create an AWS EC2 instance   2.  Configure the instance with Apache Webserver.   3. Install php  4.  Download php application name "WordPress".  5.  Setup a MySQL server using AWS RDS service.  6.  Provide the endpoint/connection string to the WordPress application. 1.  Launch EC2 instance : So first we need to launch EC2 instance and in that instance we will configure our webserver. For this, to check how to launch instance in AWS step by step, go through my this blog: AWS - Create EBS, Launch instance and attach 2.  Configure the instance with Apache Webserver : Install apache web server using this command :  yum install httpd 3. Install php :   Because WordPress is a website written in php, we need to install php. And for this we need to install php version 7.4 that is compatible with wordPress version 5.6. Command To install php 7.4 : amazon-linu

Chat Server using UDP

Image
  Create Chat Server  Specifications : Use Socket Programming Use UDP Data Transfer protocol Create server and receiver both Use multi-threading to get and receive data parallely Now creating Chat Server with above given specifications. This is the code for Chat Server using UDP protocol and using Socket programming. Here same program can send receive messege both at the same time. I've used multi-threading concept to send and receive data parallely from multiple Server sides. These are the two servers that I used for my chat server - chatApp : And using multi-threading , i sent data parallely from two servers. one from Linux and another one from windows : Hope you liked it :)

Industrial Use Case of KUBERNETES

Image
WHAT IS KUBERNETES ? Kubernetes is a cluster management system for managing containerized applications across multiple hosts, providing mechanisms for deployment, maintenance, and scaling of applications. It groups containers that make up an application into logical units for easy management and discovery. Kubernetes builds upon years of experience at Google running production workloads at scale using a system called  Borg , combined with best-of-breed ideas and practices from the community. Google released Kubernetes in 2014, donated it as a seed technology for the founding of the  Cloud Native Computing Foundation  in 2015, and continues actively using and developing the project. Kubernetes Master The Kubernetes master is the primary control unit for the cluster. The master is responsible for managing and scheduling the workloads in addition to the networking and communications across the entire cluster. These are the components that run on the master: Etcd Storage  – Is an open-s