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 RavikantDk 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 RavikantDk December 24, 2024March 11, 2025 Saving Bookmark this article Bookmarked
AWS (Amazon Web Services) Enabling NAT Gateway for Private Subnets in AWS In Amazon Web Services (AWS), instances within a private subnet cannot access the internet directly. However, a NAT (Network Address Translation) Gateway allows these instances to securely send outbound traffic (e.g., downloading updates, accessing APIs) while remaining inaccessible from external sources. This guide will walk you through the step-by-step process of setting up a NAT […] Written by RavikantDk December 19, 2024March 11, 2025 Saving Bookmark this article Bookmarked
AWS (Amazon Web Services) Enabling Root User Login on an EC2 Instance If you are frustrated with always having to log in as the ubuntu user and prepend sudo before executing commands, this guide will help you enable direct root user login on an EC2 instance. Important Note: This is not a recommended best practice due to security concerns. Before enabling root login, ensure that your EC2 […] Written by RavikantDk December 9, 2024March 11, 2025 Saving Bookmark this article Bookmarked