Posts

Deploy-a-Microservices-Application-on-AWS-EC2-using-Kubernetes

 Deploy-a-Microservices-Application-on-AWS- EC2-using-Kubernetes How to Deploy a Microservices Application on AWS EC2 using Kubernetes: Setting up AWS EC2 Instances: We created two  t2.medium  instances on AWS EC2, one for the master node and one for the worker node. We also configured the security groups and SSH keys for these instances. Installing Kubernetes on AWS EC2 Instances: We installed Kubernetes on both instances using  kubeadm ,  kubelet , and  kubectl . We also initialized the master node and joined the worker node to the cluster. Deploying the Microservices Application on Kubernetes: We deployed a microservices application that consists of a MongoDB database and a taskmaster service. The taskmaster service is a web app that allows us to create and manage tasks. The app is written in Node.js and uses MongoDB as the database. We deployed the persistent volume and persistent volume claim, the  MongoDB  database, the  ClusterIP  service for MongoDB, the  taskmaster  service, a

SHELL

  Shell Scripting 💭  What is Shell?  Why shell? 💭 Shell - Shell is a command-line interpreter. It translates commands entered by the users and converts them into a language that is understood by the kernel. (Kernel Heart of a computer) Kernel - The computer programs that allocate the system resources and coordinate all the details of the computer's internals are called Kernel or OS. CLI -    Command-line interface is a text-based interface used to interact with software & OS by typing commands into the interface & receive a response in the same way. (Fastest ways, runs faster) Graphical User Interface Command Line Interface Graphical Representation Console Representation Ease of use(depend upon comfort)😔 Ease of use (depend upon comfort)😊 OS is Slower Faster OS Less control Granular Control Shell Script - A Shell script is a command containing a text file that contains one or more commands. Advantage Facilitates us to develop our own OS with relevant features. Superblo