Ravikant Kushwaha's articles AWS (Amazon Web Services) Understanding AWS Load Balancer Routing with Cloudflare and Different Clients When deploying web applications on AWS using multiple Network Load Balancers (NLBs), understanding how traffic is routed across different clients—such as browsers (Chrome, Edge, Firefox, Safari) and mobile apps (React Native-based)—is essential. This article explores how routing works when using Cloudflare DNS with and without the proxy feature enabled. 1. Overview of Routing Mechanisms When […] Written by Ravikant Kushwaha May 7, 2025July 21, 2025 Saving Bookmark this article Bookmarked Linux How to Write a Secure Shell Script to Run MySQL Queries via Cron Shell scripting is one of the most powerful tools available on Linux and UNIX-like systems, allowing developers and system administrators to automate repetitive tasks, run SQL queries, and maintain servers efficiently. One common use case is updating database records automatically using cron jobs. In this tutorial, we’ll walk you through creating a shell script that […] Written by Ravikant Kushwaha April 15, 2025April 15, 2025 Saving Bookmark this article Bookmarked Linux Mastering the grep Command in Linux – From Beginner to Advanced Whether you’re just starting with Linux or you’re a seasoned developer, the grep command is an essential tool in your command-line arsenal. If you need linux commands for common task, you can read this article, Linux CheatSheet for common tasks In this article, we’ll walk through: Let’s dive in! ✅ What is GREP in Linux? […] Written by Ravikant Kushwaha April 12, 2025April 15, 2025 Saving Bookmark this article Bookmarked AWS (Amazon Web Services) How to Set Up WordPress with CloudFront on AWS Using ALB and Private Subnets Looking to host a fast, secure, and scalable WordPress site on AWS? In this step-by-step tutorial, we’ll walk you through how to set up WordPress using Amazon CloudFront, an Application Load Balancer (ALB), and private subnets—perfect for both test and production environments. Using our demo domain wp.ituptodate.com, this guide is ideal for beginners looking to […] Written by Ravikant Kushwaha April 11, 2025April 11, 2025 Saving Bookmark this article Bookmarked AWS (Amazon Web Services) VPC Configuring an EC2 Instance as a NAT for Private Subnet EC2 – A Cost-Optimized Alternative to NAT Gateway In AWS, providing internet access to EC2 instances in private subnets is a common requirement for secure architectures. While AWS offers the managed NAT Gateway service for this purpose, it comes with a cost—approximately $32/month per gateway plus data transfer fees. For small-scale projects, startups, or cost-conscious developers, this can add up quickly. Fortunately, you […] Written by Ravikant Kushwaha April 8, 2025April 8, 2025 Saving Bookmark this article Bookmarked Cheat Sheet Linux Linux CheatSheet for common tasks 1. File and Directory Management ls -lah # List files with details (including hidden)cd /path/to/dir # Change directorypwd # Show current directorymkdir newdir # Create a directoryrmdir emptydir # Remove empty directoryrm -rf dir_or_file # Remove file or directory forcefullycp file1 file2 # Copy filemv file1 file2 # Move/rename filefind /path -name "*.txt" # Find […] Written by Ravikant Kushwaha March 13, 2025March 13, 2025 Saving Bookmark this article Bookmarked Cheat Sheet Git Git Cheatsheet Basic Git Commands Branching & Merging Stashing Changes Undoing Changes Viewing History Remote Repositories Tagging Git Configuration Written by Ravikant Kushwaha March 11, 2025March 11, 2025 Saving Bookmark this article Bookmarked Digital Ocean How I Scaled a WordPress Server Horizontally at Robu.in – A Self-Managed Success Story Scaling a WordPress server horizontally in a self-managed environment is no small feat, especially when you’re not leveraging fully managed cloud services like AWS, Azure, or GCP. This was one of the most challenging and rewarding projects I undertook during my time at Robu.in. By configuring and optimizing virtual machines (VMs) on DigitalOcean, we achieved […] Written by Ravikant Kushwaha March 11, 2025July 21, 2025 Saving Bookmark this article Bookmarked Cheat Sheet Docker Docker cheatsheet 🚀 Docker Basics Version & Help docker --version # Check Docker versiondocker info # Show system-wide informationdocker help # Show all commandsdocker <command> --help # Get help for a specific command 📦 Container Management Running Containers docker run hello-world # Run a test containerdocker run -it ubuntu bash # Run a container interactivelydocker run -d […] Written by Ravikant Kushwaha March 9, 2025March 9, 2025 Saving Bookmark this article Bookmarked Redis Session Persistence for Scalable WordPress Applications with Redis When scaling WordPress applications to handle high traffic, maintaining session persistence across multiple servers becomes a critical challenge. Without a centralized mechanism to manage session data, users may experience issues like login errors or inconsistent shopping carts. This article explores how Redis, an advanced in-memory data store, can be leveraged to ensure seamless session persistence […] Written by Ravikant Kushwaha February 10, 2025March 11, 2025 Saving Bookmark this article Bookmarked AWS (Amazon Web Services) Setting Up AWS CloudWatch Alarm for EC2 CPU Usage with Email Alerts Introduction Monitoring EC2 instances is crucial for ensuring optimal performance and preventing issues like underutilization or overloading. AWS CloudWatch allows users to track metrics and set up alarms to trigger notifications based on predefined conditions. In this guide, we’ll walk through setting up a CloudWatch alarm to send email alerts when an EC2 instance’s CPU […] Written by Ravikant Kushwaha January 6, 2025March 11, 2025 Saving Bookmark this article Bookmarked AWS (Amazon Web Services) DNS Networking Understanding AWS Load Balancer Routing with Cloudflare and Different Clients When deploying web applications on AWS using multiple Network Load Balancers (NLBs), understanding how traffic is routed across different clients—such as browsers (Chrome, Edge, Firefox, Safari) and mobile apps (React Native-based)—is essential. This article explores how routing works when using Cloudflare DNS with and without the proxy feature enabled. 1. Overview of Routing Mechanisms When […] Written by Ravikant Kushwaha December 24, 2024March 11, 2025 Saving Bookmark this article Bookmarked Loading Load more
AWS (Amazon Web Services) Understanding AWS Load Balancer Routing with Cloudflare and Different Clients When deploying web applications on AWS using multiple Network Load Balancers (NLBs), understanding how traffic is routed across different clients—such as browsers (Chrome, Edge, Firefox, Safari) and mobile apps (React Native-based)—is essential. This article explores how routing works when using Cloudflare DNS with and without the proxy feature enabled. 1. Overview of Routing Mechanisms When […] Written by Ravikant Kushwaha May 7, 2025July 21, 2025 Saving Bookmark this article Bookmarked
Linux How to Write a Secure Shell Script to Run MySQL Queries via Cron Shell scripting is one of the most powerful tools available on Linux and UNIX-like systems, allowing developers and system administrators to automate repetitive tasks, run SQL queries, and maintain servers efficiently. One common use case is updating database records automatically using cron jobs. In this tutorial, we’ll walk you through creating a shell script that […] Written by Ravikant Kushwaha April 15, 2025April 15, 2025 Saving Bookmark this article Bookmarked
Linux Mastering the grep Command in Linux – From Beginner to Advanced Whether you’re just starting with Linux or you’re a seasoned developer, the grep command is an essential tool in your command-line arsenal. If you need linux commands for common task, you can read this article, Linux CheatSheet for common tasks In this article, we’ll walk through: Let’s dive in! ✅ What is GREP in Linux? […] Written by Ravikant Kushwaha April 12, 2025April 15, 2025 Saving Bookmark this article Bookmarked
AWS (Amazon Web Services) How to Set Up WordPress with CloudFront on AWS Using ALB and Private Subnets Looking to host a fast, secure, and scalable WordPress site on AWS? In this step-by-step tutorial, we’ll walk you through how to set up WordPress using Amazon CloudFront, an Application Load Balancer (ALB), and private subnets—perfect for both test and production environments. Using our demo domain wp.ituptodate.com, this guide is ideal for beginners looking to […] Written by Ravikant Kushwaha April 11, 2025April 11, 2025 Saving Bookmark this article Bookmarked
AWS (Amazon Web Services) VPC Configuring an EC2 Instance as a NAT for Private Subnet EC2 – A Cost-Optimized Alternative to NAT Gateway In AWS, providing internet access to EC2 instances in private subnets is a common requirement for secure architectures. While AWS offers the managed NAT Gateway service for this purpose, it comes with a cost—approximately $32/month per gateway plus data transfer fees. For small-scale projects, startups, or cost-conscious developers, this can add up quickly. Fortunately, you […] Written by Ravikant Kushwaha April 8, 2025April 8, 2025 Saving Bookmark this article Bookmarked
Cheat Sheet Linux Linux CheatSheet for common tasks 1. File and Directory Management ls -lah # List files with details (including hidden)cd /path/to/dir # Change directorypwd # Show current directorymkdir newdir # Create a directoryrmdir emptydir # Remove empty directoryrm -rf dir_or_file # Remove file or directory forcefullycp file1 file2 # Copy filemv file1 file2 # Move/rename filefind /path -name "*.txt" # Find […] Written by Ravikant Kushwaha March 13, 2025March 13, 2025 Saving Bookmark this article Bookmarked
Cheat Sheet Git Git Cheatsheet Basic Git Commands Branching & Merging Stashing Changes Undoing Changes Viewing History Remote Repositories Tagging Git Configuration Written by Ravikant Kushwaha March 11, 2025March 11, 2025 Saving Bookmark this article Bookmarked
Digital Ocean How I Scaled a WordPress Server Horizontally at Robu.in – A Self-Managed Success Story Scaling a WordPress server horizontally in a self-managed environment is no small feat, especially when you’re not leveraging fully managed cloud services like AWS, Azure, or GCP. This was one of the most challenging and rewarding projects I undertook during my time at Robu.in. By configuring and optimizing virtual machines (VMs) on DigitalOcean, we achieved […] Written by Ravikant Kushwaha March 11, 2025July 21, 2025 Saving Bookmark this article Bookmarked
Cheat Sheet Docker Docker cheatsheet 🚀 Docker Basics Version & Help docker --version # Check Docker versiondocker info # Show system-wide informationdocker help # Show all commandsdocker <command> --help # Get help for a specific command 📦 Container Management Running Containers docker run hello-world # Run a test containerdocker run -it ubuntu bash # Run a container interactivelydocker run -d […] Written by Ravikant Kushwaha March 9, 2025March 9, 2025 Saving Bookmark this article Bookmarked
Redis Session Persistence for Scalable WordPress Applications with Redis When scaling WordPress applications to handle high traffic, maintaining session persistence across multiple servers becomes a critical challenge. Without a centralized mechanism to manage session data, users may experience issues like login errors or inconsistent shopping carts. This article explores how Redis, an advanced in-memory data store, can be leveraged to ensure seamless session persistence […] Written by Ravikant Kushwaha February 10, 2025March 11, 2025 Saving Bookmark this article Bookmarked
AWS (Amazon Web Services) Setting Up AWS CloudWatch Alarm for EC2 CPU Usage with Email Alerts Introduction Monitoring EC2 instances is crucial for ensuring optimal performance and preventing issues like underutilization or overloading. AWS CloudWatch allows users to track metrics and set up alarms to trigger notifications based on predefined conditions. In this guide, we’ll walk through setting up a CloudWatch alarm to send email alerts when an EC2 instance’s CPU […] Written by Ravikant Kushwaha January 6, 2025March 11, 2025 Saving Bookmark this article Bookmarked
AWS (Amazon Web Services) DNS Networking Understanding AWS Load Balancer Routing with Cloudflare and Different Clients When deploying web applications on AWS using multiple Network Load Balancers (NLBs), understanding how traffic is routed across different clients—such as browsers (Chrome, Edge, Firefox, Safari) and mobile apps (React Native-based)—is essential. This article explores how routing works when using Cloudflare DNS with and without the proxy feature enabled. 1. Overview of Routing Mechanisms When […] Written by Ravikant Kushwaha December 24, 2024March 11, 2025 Saving Bookmark this article Bookmarked