<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Spandanaerukulla on Medium]]></title>
        <description><![CDATA[Stories by Spandanaerukulla on Medium]]></description>
        <link>https://medium.com/@spandanaerukulla?source=rss-386ab67cb092------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*ZDnzDP8hfIHodwxf</url>
            <title>Stories by Spandanaerukulla on Medium</title>
            <link>https://medium.com/@spandanaerukulla?source=rss-386ab67cb092------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 01:51:31 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@spandanaerukulla/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Horizontal vs. Vertical Scaling: What’s the Difference?]]></title>
            <link>https://medium.com/@spandanaerukulla/horizontal-vs-vertical-scaling-whats-the-difference-fdd6f919fd5b?source=rss-386ab67cb092------2</link>
            <guid isPermaLink="false">https://medium.com/p/fdd6f919fd5b</guid>
            <dc:creator><![CDATA[Spandanaerukulla]]></dc:creator>
            <pubDate>Sat, 02 Aug 2025 10:06:00 GMT</pubDate>
            <atom:updated>2025-08-02T10:06:00.356Z</atom:updated>
            <content:encoded><![CDATA[<p>When applications grow and user demand increases, systems need more resources to handle the load. This is where <strong>scaling</strong> comes in — the process of increasing a system’s capacity.</p><p>There are two main ways to scale: <strong>Horizontal Scaling</strong> and <strong>Vertical Scaling</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/0*cWSD2yU4ZQf1XqB2" /></figure><h3>1 Vertical Scaling (Scaling Up)</h3><h3>✅ What is it?</h3><ul><li>Adding <strong>more power</strong> to your <strong>existing server</strong>.</li><li>Example: Upgrading your EC2 instance from <strong>t2.micro</strong> (1 vCPU, 1GB RAM) to <strong>m5.4xlarge</strong> (16 vCPUs, 64GB RAM).</li></ul><h3><strong>How it works</strong></h3><ul><li>You take <strong>one machine</strong> and make it <strong>stronger</strong> by adding:</li><li>More CPU</li><li>More RAM</li><li>Faster storage</li></ul><h3><strong>Pros</strong></h3><p>✔ Simple to implement (just upgrade the machine).<br> ✔ No need for complex architecture.</p><h3>Cons</h3><p>❌ There’s a <strong>hardware limit</strong> (you can’t upgrade forever).<br> ❌ Expensive after a certain point.<br> ❌ If the server fails, your whole app is down (<strong>single point of failure</strong>).</p><h3>2️ Horizontal Scaling (Scaling Out)</h3><h3>✅ What is it?</h3><ul><li>Adding <strong>more servers</strong> to your system, rather than upgrading just one.</li></ul><h3>How it works</h3><ul><li>Instead of one giant server, you have <strong>multiple smaller servers</strong> (nodes) working together.</li><li>Traffic is distributed via a <strong>Load Balancer</strong>.</li></ul><h3>Pros</h3><p>✔ Almost <strong>no limit</strong> to scaling (just keep adding servers).<br> ✔ More <strong>fault-tolerant</strong> — if one server fails, others keep running.<br> ✔ Often <strong>cheaper long-term</strong> because you use many smaller, affordable machines.</p><h3>⚠ Cons</h3><p>❌ More <strong>complex setup</strong> (load balancers, networking, distributed systems).<br> ❌ Applications must be designed to work across multiple machines (stateless design).</p><h3>🔄 When to Use Which?</h3><ul><li><strong>Vertical Scaling</strong> = Good for <strong>simple apps</strong> or when starting out.</li><li><strong>Horizontal Scaling</strong> = Best for <strong>large, growing applications</strong> (e.g., Netflix, Amazon, Facebook).</li></ul><h3>📊 Diagram Idea</h3><p>✅ <strong>Left Side: Vertical Scaling</strong></p><ul><li>One server getting bigger (CPU/RAM arrows pointing <strong>up</strong>).</li></ul><p>✅ <strong>Right Side: Horizontal Scaling</strong></p><ul><li>Multiple servers being <strong>added side by side</strong> (servers + load balancer).</li></ul><h3>Conclusion</h3><ul><li><strong>Vertical scaling</strong> means “buying a bigger machine.”</li><li><strong>Horizontal scaling</strong> means “adding more machines.”</li></ul><p>In modern cloud systems (AWS, Azure, GCP), <strong>horizontal scaling</strong> is more common because it provides <strong>better fault tolerance</strong> and <strong>infinite growth potential</strong>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fdd6f919fd5b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Simple explanation of how how Auto Scaling works in AWS with EC2 instances, launch templates, and…]]></title>
            <link>https://medium.com/@spandanaerukulla/simple-explanation-of-how-how-auto-scaling-works-in-aws-with-ec2-instances-launch-templates-and-867f8a5379d5?source=rss-386ab67cb092------2</link>
            <guid isPermaLink="false">https://medium.com/p/867f8a5379d5</guid>
            <category><![CDATA[alb]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[auto-scaling-groups]]></category>
            <category><![CDATA[gt]]></category>
            <dc:creator><![CDATA[Spandanaerukulla]]></dc:creator>
            <pubDate>Wed, 09 Jul 2025 01:58:29 GMT</pubDate>
            <atom:updated>2025-07-09T01:58:29.791Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Simple explanation of how how Auto Scaling works in AWS with EC2 instances, launch templates, and availability zones. Here’s a breakdown:</strong></p><p><strong>dig for better understanding</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*40wRFIcjgN9CCFLW.png" /></figure><h3>Components Explained</h3><h4>1. User + AWS Management Console</h4><p>The <strong>user</strong> configures auto scaling using the <strong>AWS Management Console</strong></p><p>They define:</p><p><strong>Minimum capacity</strong>: 2</p><p><strong>Desired capacity</strong>: 2</p><p><strong>Maximum capacity</strong>: 2<br>This means AWS will always try to keep <strong>exactly 2 instances</strong> running.</p><h3><strong>2.Launch Template</strong></h3><p>A <strong>Launch Template</strong> defines how EC2 instances should be launched:</p><ul><li><strong>AMI</strong> (Amazon Linux 2)</li><li><strong>Instance type</strong> (e.g., t2.micro)</li><li>Configuration like security groups, key pairs, etc.</li></ul><h4>3. Auto Scaling Group (ASG)</h4><ul><li>Uses the <strong>launch template</strong> to create or terminate instances based on the <strong>desired capacity</strong>.</li><li>If an instance fails, it will <strong>replace it automatically</strong> to maintain the desired number.</li></ul><h4>4. Availability Zones (AZs)</h4><p>AWS automatically distributes instances across <strong>multiple AZs</strong> (here: AZ1 and AZ2) for high availability.</p><ul><li>In this case:</li><li>One instance runs in <strong>AZ1</strong></li><li>Two in <strong>AZ2</strong> — but one has failed (shown with an “X”).</li></ul><h4>5. Failure Handling</h4><p>When an instance fails (e.g., hardware issue or health check fails), Auto Scaling:</p><ul><li><strong>Terminates</strong> the unhealthy instance.</li><li><strong>Launches</strong> a new instance to <strong>maintain 2 running EC2s</strong>, as per the desired capacity.</li></ul><h3>Workflow Summary</h3><ol><li>User sets up the scaling configuration via AWS Console.</li><li>Launch Template defines what kind of EC2 instances to create.</li><li>Auto Scaling Group maintains <strong>2 running EC2s</strong> (based on the user-defined values).</li><li>Instances are launched in <strong>multiple Availability Zones</strong> for fault tolerance.</li><li>If an instance dies, a <strong>new one is automatically launch</strong></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=867f8a5379d5" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>