Flow:User → ELB (ALB Listener) → Target Group → EC2 Instances (in different AZs) šŸ“Œ Introduction In this guide, you will learn how to: We will use: šŸ”¹ Step 1: Launch EC2 Instances (in Different AZs) šŸ› ļø Create First Instance (AZ-1) šŸ‘‰ User Data: #!/bin/bashyum update -yyum install -y httpdsystemctl…

Operators perform operations on variables and values. Python groups them into several types — below each type I give a short explanation plus runnable examples. 1. Arithmetic operators Used with numeric values for basic math. 2. Assignment operators Used to assign values to variables; augmented forms modify the variable in…

Kubernetes (often abbreviated as K8s) is an open-source container orchestration system for automating the deployment, scaling, and management of containerized applications. šŸ”¹ Key Points about Kubernetes: šŸ”¹ Why is Kubernetes important? āœ… In simple words:Kubernetes is like a traffic controller and caretaker for containers. It makes sure your applications always…

EBS is like a hard drive or SSD for your EC2 instances in the cloud. Key Points: Common Use Cases: šŸ‘‰ In short:EBS = Durable, scalable, and secure storage for EC2 instances. Types of Amazon EBS volumes.AWS offers different EBS volume types based on performance and cost. Great šŸ‘ Let’s…

Below is the clean and correct command sequence for practicing Kubernetes Deployment, Scaling, Rolling Update, Rollout History, and Rollback. 1. Create a Deployment YAML file Use this YAML: Save and exit: 2. Create the Deployment Check the Deployment: Watch the Deployment: Press: to stop watching. 3. Check all resources Check…

The main topics I practiced were: 1. Checking Kubernetes Nodes I started by checking the nodes in the cluster: kubectl get nodes Example: NAME STATUS ROLES VERSIONcontrolplane Ready control-plane v1.35.1node01 Ready <none> v1.35.1 My practice cluster contains two nodes: controlplanenode01 Both nodes were in the Ready state. 2. Working with…

Google Kubernetes Engine (GKE) provides a managed Kubernetes environment on Google Cloud. In this hands-on class, I created a GKE Standard cluster, explored its nodes and underlying Compute Engine VMs, deployed an NGINX Pod, created a ReplicationController, tested self-healing, and finally simulated node removal. This practical exercise helped me understand…

Category: Kubernetes, CKA, ReplicaSet, Labels, Selectors Introduction One of the biggest improvements of ReplicaSet over the old ReplicationController is its more expressive label selectors. ReplicationController supports only simple equality-based selectors such as: ReplicaSet introduces set-based selectors, allowing you to create much more flexible selection rules using matchExpressions. In this hands-on…

In this blog, I will demonstrate: What is ReplicationController? A ReplicationController (RC) ensures that a specified number of Pod replicas are always running. If a Pod crashes or is deleted accidentally, Kubernetes automatically creates another Pod. Responsibilities Lab-1: Create a Single Pod Create an nginx Pod. Output Check the Pod.…

A Kubernetes cluster consists of two main components: The recommended upgrade order is: In this tutorial, we will upgrade a Kubernetes cluster from v1.35.1 to v1.35.2 using kubeadm. Kubernetes Cluster Architecture Prerequisites Before starting the upgrade, ensure that: Current Cluster Version Example Output Part 1 — Upgrading the Control Plane…