<?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 Josh Farah on Medium]]></title>
        <description><![CDATA[Stories by Josh Farah on Medium]]></description>
        <link>https://medium.com/@joshwfarah?source=rss-15c400ae7f8c------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*FnS3WYexLHTug53af2p5Ww.jpeg</url>
            <title>Stories by Josh Farah on Medium</title>
            <link>https://medium.com/@joshwfarah?source=rss-15c400ae7f8c------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 01:07:17 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@joshwfarah/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[From Confused to Confident: Building and Deploying a Next.js Website to AWS with Terraform]]></title>
            <link>https://medium.com/@joshwfarah/from-confused-to-confident-building-and-deploying-a-next-js-website-to-aws-with-terraform-1bd544eb38c9?source=rss-15c400ae7f8c------2</link>
            <guid isPermaLink="false">https://medium.com/p/1bd544eb38c9</guid>
            <category><![CDATA[infrastructure-as-code]]></category>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[terraform]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[cloud-engineering]]></category>
            <dc:creator><![CDATA[Josh Farah]]></dc:creator>
            <pubDate>Wed, 24 Jun 2026 00:18:44 GMT</pubDate>
            <atom:updated>2026-06-24T00:22:56.446Z</atom:updated>
            <content:encoded><![CDATA[<h3>Why I Built This Project</h3><p>Over the last several months, I’ve been working toward transitioning into cloud engineering.</p><p>Outside of my full-time role as a Team Leader at General Motors, I’ve been spending my evenings and weekends learning AWS, Terraform, Linux, Git, and cloud architecture. Rather than simply watching tutorials or completing quizzes, I wanted to build something that resembled the type of work I’d eventually be doing in a cloud engineering role.</p><p>The objective of this project was straightforward.</p><p>Deploy a static Next.js website to AWS using Infrastructure as Code with Terraform.</p><p>Although the final website is relatively simple, the process of getting there taught me far more than I expected.</p><h3>Project Overview</h3><p>This project consisted of deploying a statically exported Next.js application using AWS services that were provisioned entirely through Terraform.</p><p>The architecture included:</p><ul><li>Amazon S3 for static website hosting</li><li>Amazon CloudFront as a global Content Delivery Network</li><li>Terraform for Infrastructure as Code</li><li>AWS CLI for deployment</li><li>Git and GitHub for version control</li></ul><p>The goal wasn’t simply to make the website accessible online.</p><p>It was to understand how each AWS service worked together while creating infrastructure that could be recreated consistently through code.</p><h3>The First Attempt</h3><p>If I’m being honest, my first attempt at this project became a mess.</p><p>The tutorial I was following had been created using older versions of Terraform, Next.js, and portions of the AWS provider that have changed significantly over time.</p><p>At first, I assumed I was making mistakes.</p><p>I spent hours troubleshooting errors involving Terraform backend configuration, deprecated arguments, S3 bucket configuration, provider conflicts, execution policies in PowerShell, and several syntax differences between older and newer Terraform resources.</p><p>Eventually I reached a point where I had to make a decision.</p><p>Continue patching an outdated project or start over completely.</p><p>I chose to start over.</p><p>Looking back, that was one of the best decisions I made during this project.</p><p>Instead of copying outdated code and hoping it would work, I rebuilt everything using the latest versions of Terraform and Next.js while keeping the original project objectives intact.</p><h3>Challenges Along the Way</h3><p>Starting over didn’t suddenly make everything easy.</p><p>Throughout the project I encountered several problems that forced me to understand what Terraform and AWS were actually doing behind the scenes.</p><p>Some of the biggest challenges included:</p><p>PowerShell execution policies preventing Node commands from running.</p><p>Terraform backend configuration errors caused by outdated syntax.</p><p>AWS provider conflicts created by duplicate provider definitions.</p><p>S3 bucket region mismatches.</p><p>Public bucket policy errors caused by Block Public Access settings.</p><p>CloudFront deployment delays while distributions propagated globally.</p><p>Git merge conflicts when synchronizing my local repository with GitHub.</p><p>Initially I viewed these problems as setbacks.</p><p>Eventually I realized they were the project.</p><p>Every error required me to slow down, research documentation, understand the service I was working with, and fix the underlying problem rather than simply copying another command from the internet.</p><p>That process taught me much more than following a perfect tutorial ever could.</p><h3>Building the Infrastructure</h3><p>Once everything was rebuilt correctly, the deployment became much cleaner.</p><p>Terraform provisioned:</p><p>Amazon S3 Bucket</p><p>Bucket ownership controls</p><p>Public access configuration</p><p>Website hosting configuration</p><p>Bucket policy</p><p>CloudFront distribution</p><p>Outputs that displayed useful deployment information after Terraform Apply completed.</p><p>Rather than placing every resource inside a single main.tf file, I refactored the project into multiple Terraform files.</p><p>Separating the provider configuration, S3 resources, CloudFront resources, and outputs made the project significantly easier to understand and maintain.</p><p>This was another lesson I hadn’t expected to learn.</p><p>Infrastructure organization matters just as much as application organization.</p><h3>Deploying the Application</h3><p>After configuring Next.js for static export, I generated the production files using: [npm run build]</p><p>This created the out directory containing the static website.</p><p>From there I uploaded the files directly into my S3 bucket using the AWS CLI.</p><p>Once CloudFront finished deploying globally, the application became accessible through its CloudFront distribution URL.</p><p>Seeing the website load successfully after days of troubleshooting was incredibly rewarding.</p><h3>What I Learned</h3><p>This project reinforced several lessons.</p><p>Infrastructure as Code is much more than writing Terraform syntax.</p><p>Cloud services make far more sense when you build them yourself instead of simply reading about them.</p><p>Documentation changes over time.</p><p>Version differences matter.</p><p>Sometimes the best solution isn’t fixing broken code.</p><p>Sometimes it’s rebuilding correctly from the beginning.</p><p>Most importantly, I learned that real projects rarely follow the happy path.</p><p>Troubleshooting is part of cloud engineering.</p><p>The ability to investigate problems and adapt is every bit as valuable as knowing the correct commands.</p><h3>What’s Next</h3><p>This project is only the beginning.</p><p>Some improvements I’d like to make include:</p><p>Using Route 53 with a custom domain.</p><p>Adding AWS Certificate Manager for HTTPS certificates.</p><p>Automating deployments with GitHub Actions.</p><p>Expanding the project to include additional AWS services as my knowledge continues to grow.</p><h3>Final Thoughts</h3><p>One of the biggest mindset shifts I’ve had during this journey is realizing that watching tutorials can only take you so far.</p><p>Real confidence comes from building.</p><p>Making mistakes.</p><p>Starting over when necessary.</p><p>Understanding why something works.</p><p>I’m still early in my transition into cloud engineering, but projects like this remind me that progress isn’t measured by how quickly something works.</p><p>It’s measured by how much you understand when you’re finished.</p><p>If you’ve made a similar transition into cloud engineering, I’d genuinely love to hear about your experience and any advice you’d give someone early in their journey.</p><p><strong>Github Repository URL:</strong> <a href="https://github.com/WJF-227/terraform-portfolio-project">https://github.com/WJF-227/terraform-portfolio-project</a></p><p><strong>Loom walkthrough video:</strong> <a href="https://www.loom.com/share/f57c40d4874d4c5d8713da6d98694981">https://www.loom.com/share/f57c40d4874d4c5d8713da6d98694981</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PPdEP3XKceWDrjOuuinHgQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/490/1*AfB0x6G5Ae7FATNwf6bujw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hZmBvquPz7uKanRdbLo5kg.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1bd544eb38c9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Designing a Secure & Highly Available AWS VPC Architecture]]></title>
            <link>https://medium.com/@joshwfarah/designing-a-secure-highly-available-aws-vpc-architecture-0081de986d87?source=rss-15c400ae7f8c------2</link>
            <guid isPermaLink="false">https://medium.com/p/0081de986d87</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[self-improvement]]></category>
            <category><![CDATA[technology]]></category>
            <dc:creator><![CDATA[Josh Farah]]></dc:creator>
            <pubDate>Fri, 15 May 2026 16:06:21 GMT</pubDate>
            <atom:updated>2026-05-15T16:29:55.475Z</atom:updated>
            <content:encoded><![CDATA[<p>As part of my AWS Fundamentals training, I recently completed a project focused on designing a<strong> </strong>secure and highly available VPC architecture on AWS.</p><p>The goal was to design a cloud network that supports a web application with:</p><ul><li>a public-facing web layer</li><li>a private application layer</li><li>a private database layer</li></ul><p>while ensuring:</p><ul><li>high availability</li><li>secure network segmentation</li><li>controlled internet access</li><li>strong security boundaries</li></ul><h3>Architecture Overview</h3><p>The final design includes:</p><ul><li>1 VPC (10.0.0.0/16)</li><li>2 Availability Zones (ca-central-1a, ca-central-1b)</li><li>2 public subnets</li><li>2 private application subnets</li><li>2 private database subnets</li><li>Internet Gateway</li><li>NAT Gateway</li><li>Route Tables</li><li>Security Groups</li><li>Network ACLs</li><li>Application Load Balancer</li><li>EC2 application servers</li><li>Multi-AZ RDS database</li></ul><p>Traffic flow:</p><p>Users<br> ↓<br>Internet Gateway<br> ↓<br>Application Load Balancer<br> ↓<br>Private EC2 Application Servers<br> ↓<br>Private RDS Database</p><h3>Key Design Decisions</h3><h3>1. Multi-AZ Deployment</h3><p>I deployed resources across two Availability Zones to ensure fault tolerance and improve availability.</p><p>If one AZ fails, the application can continue running in the second AZ.</p><h3>2. Public vs Private Subnets</h3><p>Public subnets host:</p><ul><li>ALB</li><li>NAT Gateway</li></ul><p>Private subnets host:</p><ul><li>application servers</li><li>database instances</li></ul><p>This prevents sensitive resources from being directly exposed to the internet.</p><h3>NAT Gateway</h3><p>The NAT Gateway allows private resources to:</p><ul><li>install patches</li><li>download updates</li><li>access external repositories</li></ul><p>without allowing inbound internet traffic.</p><p>This improves security significantly.</p><h3>4. Route Tables</h3><p>Three separate route tables were created:</p><p><strong>Public Route Table</strong></p><ul><li>0.0.0.0/0 → Internet Gateway</li></ul><p><strong>Private App Route Table</strong></p><ul><li>0.0.0.0/0 → NAT Gateway</li></ul><p><strong>Private DB Route Table</strong></p><ul><li>local only</li></ul><p>This keeps the database fully isolated.</p><h3>5. Security Layers</h3><p>I implemented defense in depth using:</p><h4>Security Groups</h4><ul><li>ALB accepts HTTP/HTTPS</li><li>App servers accept traffic only from ALB</li><li>Database accepts MySQL only from app servers</li></ul><h4>Network ACLs</h4><ul><li>subnet-level traffic filtering</li><li>separate rules for public/app/db layers</li></ul><p>This ensures layered protection.</p><h3>Key Takeaways</h3><p>This project reinforced several important AWS concepts:</p><ul><li>VPC design</li><li>subnet segmentation</li><li>routing</li><li>NAT behavior</li><li>multi-AZ architecture</li><li>layered security</li><li>database isolation</li></ul><p>It was a great hands-on exercise in designing production-style cloud infrastructure.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OzTaT2-5bX4HVSjsmzwk8A.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0081de986d87" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Designing a Netflix-Style Video Platform]]></title>
            <link>https://medium.com/@joshwfarah/designing-a-netflix-style-video-platform-e9928d2d5178?source=rss-15c400ae7f8c------2</link>
            <guid isPermaLink="false">https://medium.com/p/e9928d2d5178</guid>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[cloud-engineering]]></category>
            <category><![CDATA[cloud-architecture]]></category>
            <category><![CDATA[netflix]]></category>
            <category><![CDATA[learning]]></category>
            <dc:creator><![CDATA[Josh Farah]]></dc:creator>
            <pubDate>Mon, 04 May 2026 15:59:57 GMT</pubDate>
            <atom:updated>2026-05-04T15:59:57.249Z</atom:updated>
            <content:encoded><![CDATA[<p>I recently worked on designing a simplified video-sharing platform inspired by Netflix. The goal was to build a system that can handle video uploads, processing, and global delivery with low latency.</p><h3>Video Upload &amp; Storage</h3><p>When a user uploads a video, the request is handled through <strong>Amazon API Gateway</strong>, which routes it to a backend function using <strong>AWS Lambda</strong>.</p><p>The video is then stored in <strong>Amazon S3</strong> as a high-resolution raw file.</p><p>This separation ensures that uploads are handled efficiently without overloading the system.</p><h3>Metadata Management</h3><p>Video metadata such as title, description, and tags is stored in <strong>Amazon DynamoDB</strong>.</p><p>A NoSQL database is ideal here because:</p><ul><li>It scales automatically</li><li>It supports flexible schemas</li><li>It provides fast read/write performance</li></ul><p>This is important for platforms handling large volumes of user-generated content.</p><h3>Video Processing Pipeline</h3><p>Once a video is uploaded to S3, it triggers an event.</p><p>This event invokes a Lambda function responsible for processing the video.</p><p>The processing includes:</p><ul><li>Transcoding into multiple resolutions (1080p, 720p, 480p)</li><li>Preparing the video for different devices and network conditions</li></ul><p>The processed videos are then stored back in S3.</p><h3>Content Analysis</h3><p>After processing, videos are passed through a content analysis step.</p><p>This can be integrated using services like <strong>Amazon Rekognition</strong>, which helps:</p><ul><li>Detect inappropriate content</li><li>Flag videos for review</li></ul><p>This step ensures platform safety and compliance.</p><h3>Video Delivery (CDN)</h3><p>To deliver videos globally with low latency, the platform uses <strong>Amazon CloudFront</strong>.</p><p>Here’s how it works:</p><ul><li>Users request videos through CloudFront</li><li>CloudFront serves cached content from edge locations</li><li>If not cached, it fetches from S3</li></ul><p>This dramatically reduces latency and improves user experience.</p><h3>Key Design Insight</h3><p>One of the most important takeaways from this design is the separation between:</p><ul><li><strong>Upload path (write-heavy, backend-driven)</strong></li><li><strong>Delivery path (read-heavy, CDN-optimized)</strong></li></ul><p>This separation allows the system to scale efficiently while maintaining performance.</p><h3>Final Thoughts</h3><p>Designing this system helped me better understand how modern platforms handle massive amounts of video data while maintaining speed, scalability, and reliability.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/335/1*3izad5uJC6d_6QJCF-dhOQ.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e9928d2d5178" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Architect’s Blueprint: Scaling an Instagram-Scale App from Zero to Millions]]></title>
            <link>https://medium.com/@joshwfarah/the-architects-blueprint-scaling-an-instagram-scale-app-from-zero-to-millions-cfdf4d981b3a?source=rss-15c400ae7f8c------2</link>
            <guid isPermaLink="false">https://medium.com/p/cfdf4d981b3a</guid>
            <category><![CDATA[aws-lambda]]></category>
            <category><![CDATA[cloud-engineering]]></category>
            <category><![CDATA[cloud-architecture]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[deep-learning]]></category>
            <dc:creator><![CDATA[Josh Farah]]></dc:creator>
            <pubDate>Sun, 03 May 2026 16:20:32 GMT</pubDate>
            <atom:updated>2026-05-03T16:21:12.507Z</atom:updated>
            <content:encoded><![CDATA[<p>Designing a global platform like Instagram requires infrastructure that can breathe with its users, expanding during viral moments and contracting to save costs during the quiet hours of the night. Choosing between a <strong>Traditional Server-Based</strong> approach and a <strong>Serverless</strong> architecture is one of the most significant decisions a cloud architect can make.</p><p>The following analysis breaks down these two distinct paths based on a recent project design for an Instagram clone.</p><h3>The Traditional Approach: Reliable &amp; Provisioned</h3><p>Traditional server-based models rely on an “always-on” philosophy. This model typically utilizes a 3-tier architecture consisting of a <strong>Load Balancer</strong>, a <strong>Compute Cluster (EC2)</strong>, and a <strong>Relational Database (RDS)</strong>.</p><h3>Scaling Strategy</h3><ul><li><strong>Horizontal Scaling:</strong> Utilizing an <strong>Auto Scaling Group (ASG)</strong> allows the system to add more virtual machines when CPU usage spikes. This provides a “safety in numbers” approach.</li><li><strong>Vertical Scaling:</strong> Scaling the database layer involves upgrading the hardware, such as adding more RAM or CPU to a single instance. While powerful, this usually requires a short maintenance window or downtime to implement.</li></ul><h3>The Trade-off</h3><p>This setup provides excellent <strong>cost predictability</strong>. Because payment is based on provisioned instances, the monthly bill remains steady. However, it is less efficient for spiky traffic; costs are incurred for idle servers just to remain ready for a potential surge.</p><h3>The Serverless Approach: Event-Driven &amp; Agile</h3><p>Redesigning for serverless removes the concept of “servers” from daily tasks. Instead, the application is broken down into specific functions that only run when an event occurs, such as a user clicking “Like” or uploading a photo.</p><h3>The Flow</h3><ul><li><strong>API Gateway</strong> acts as the front door, triggering <strong>AWS Lambda functions</strong> only when needed.</li><li><strong>DynamoDB</strong> provides a NoSQL data layer that scales automatically without manual instance upgrades.</li><li><strong>EventBridge</strong> handles background tasks, such as triggering notifications or image processing, without slowing down the user experience.</li></ul><h3>The Trade-off</h3><p>Serverless is the leader in <strong>operational efficiency</strong>. There are no operating systems to patch and no servers to manage. Payment is strictly for the milliseconds the code runs. The primary drawback is the “Cold Start” — a tiny latency delay that can occur if a function hasn’t been used recently.</p><h3>Side-by-Side Analysis</h3><p>The choice between these two systems often comes down to specific performance and cost goals:</p><ul><li><strong>Scaling Speed:</strong> <strong>Serverless</strong> provides near-instant scaling for every request, whereas <strong>Traditional</strong> horizontal scaling can take several minutes to boot up new instances.</li><li><strong>Cost Models:</strong> <strong>Traditional</strong> architecture uses a provisioned model where you pay for what you reserve. <strong>Serverless</strong> uses an on-demand model where you pay only for what you use.</li><li><strong>Maintenance:</strong> <strong>Traditional</strong> setups require high maintenance for OS patching and health checks. <strong>Serverless</strong> reduces this overhead to near zero as the cloud provider manages the underlying infrastructure.</li><li><strong>Best Use Cases:</strong> <strong>Traditional</strong> models are ideal for predictable, high-volume traffic. <strong>Serverless</strong> is better suited for spiky, unpredictable workloads or new applications where minimizing initial costs is a priority.</li></ul><h3>The Verdict</h3><p>For a modern social media startup, <strong>Serverless</strong> offers the most agility. It allows a small team to scale to millions of users without needing a massive operations budget. As the platform reaches a massive, constant global scale, a <strong>Traditional</strong> or hybrid approach may become more cost-effective for handling high-volume, baseline traffic.</p><p>This project was a deep dive into the core services of the cloud and was refined through invaluable feedback from the cloud community.</p><h3>Architecture Diagrams</h3><p>The images below provides a visual comparison between the Traditional VPC layout and the Serverless Event-Driven flow.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*upij27xSfGIzQr45nIT5Ew.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WKZxbd8VbQtSctcFbJjm2w.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cfdf4d981b3a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Designing a High-Availability Cloud Architecture for a YouTube-Scale Platform]]></title>
            <link>https://medium.com/@joshwfarah/designing-a-high-availability-cloud-architecture-for-a-youtube-scale-platform-08f532bb56dc?source=rss-15c400ae7f8c------2</link>
            <guid isPermaLink="false">https://medium.com/p/08f532bb56dc</guid>
            <category><![CDATA[cloud-engineering]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[cloud-services]]></category>
            <dc:creator><![CDATA[Josh Farah]]></dc:creator>
            <pubDate>Tue, 21 Apr 2026 15:45:17 GMT</pubDate>
            <atom:updated>2026-04-24T22:11:07.027Z</atom:updated>
            <content:encoded><![CDATA[<p>When I started working on this week’s project, I didn’t want to just build something for the sake of completing an assignment. I wanted to design something with a real-world use case in mind, something that would actually force me to think like a cloud engineer. So I built this architecture specifically to support a platform like YouTube.</p><p>A platform like YouTube isn’t just another web app. It deals with massive traffic spikes, global users, and heavy media delivery. That means performance, scalability, and reliability aren’t optional, they’re critical. Every component in this design was chosen with that in mind.</p><h3>Thinking From the Outside In</h3><p>I started by thinking about the user experience first. Users from all over the world are trying to access video content quickly and without buffering. That’s where <strong>Amazon CloudFront</strong> comes in.</p><p>CloudFront acts as a Content Delivery Network (CDN), caching static assets like video files closer to users geographically. Instead of every request hitting the core infrastructure, CloudFront offloads a huge amount of traffic and reduces latency. For a platform like YouTube, this is essential, without it, performance would suffer immediately under scale.</p><h3>Entry Point Into the Architecture</h3><p>Once traffic passes through CloudFront, it hits the <strong>Internet Gateway</strong>, which allows communication between the public internet and the resources inside the VPC. This is essentially the front door of the cloud environment.</p><p>From there, traffic is routed to the <strong>Application Load Balancer (ALB)</strong>.</p><p>The ALB plays a critical role. Instead of sending all traffic to a single server (which would be a disaster under heavy load), it distributes incoming requests across multiple EC2 instances. This ensures no single instance becomes a bottleneck and improves both performance and reliability.</p><h3>Compute Layer: EC2 + Auto Scaling</h3><p>At the core of handling requests are the <strong>Amazon EC2 instances</strong>, which act as the web servers.</p><p>But here’s the key: I didn’t just use EC2 instances, I placed them inside an <strong>Auto Scaling Group</strong> across multiple Availability Zones.</p><p>This decision was intentional.</p><p>For a platform like YouTube, traffic is unpredictable. A video can go viral at any moment, causing a sudden spike in demand. Auto Scaling allows the system to automatically spin up more EC2 instances when traffic increases and scale down when it drops. This ensures consistent performance while also being cost-efficient.</p><p>By distributing these instances across <strong>multiple Availability Zones</strong>, I also built in fault tolerance. If one data center goes down, the other continues handling traffic without interruption. That’s the foundation of high availability.</p><h3>Network Design: VPC, Subnets, and Isolation</h3><p>To structure everything properly, I used a <strong>Virtual Private Cloud (VPC)</strong> as the foundation of the architecture.</p><p>Inside the VPC, I separated resources into <strong>public and private subnets</strong>, which is something that really clicked for me this week.</p><p>Public subnets host components that need internet access, like the load balancer and EC2 instances serving web traffic. Private subnets, on the other hand, are used for more sensitive components, like the database.</p><p>This separation adds a layer of security and control. Not everything should be exposed to the internet, especially when dealing with user data.</p><h3>Data Layer: Amazon RDS</h3><p>For the database layer, I used <strong>Amazon RDS</strong>, deployed in a <strong>high-availability configuration across multiple Availability Zones</strong>.</p><p>Again, this was intentional.</p><p>A platform like YouTube can’t afford downtime, especially when it comes to data. By using a multi-AZ deployment, the database has a standby replica in another availability zone. If the primary database fails, failover happens automatically with minimal disruption.</p><p>This design ensures that the system is resilient, even at the data layer.</p><h3>Storage Layer: Amazon S3</h3><p>For storing static assets like video files, I used <strong>Amazon S3</strong>.</p><p>S3 is built for durability and scalability, making it perfect for storing massive amounts of media content. When paired with CloudFront, it becomes even more powerful, allowing content to be delivered quickly and efficiently to users around the world.</p><h3>Bringing It All Together</h3><p>What stood out to me while building this was how every component has a specific purpose. Nothing is random.</p><p>CloudFront improves speed and reduces latency.<br> The Internet Gateway allows external communication.<br> The Load Balancer distributes traffic efficiently.<br> EC2 handles compute.<br> Auto Scaling adapts to demand.<br> Availability Zones provide fault tolerance.<br> Private subnets secure sensitive resources.<br> RDS ensures reliable data storage.<br> S3 handles massive media storage.</p><p>This wasn’t just about learning services, it was about understanding how to think through a system and design for real-world problems.</p><h3>Final Thoughts</h3><p>This project pushed me to move beyond just “knowing” cloud concepts and actually applying them. Designing for a YouTube-scale platform forced me to consider performance, scalability, and reliability at every step.</p><p>I’m starting to see how cloud engineering isn’t just about tools, it’s about decision-making and understanding trade-offs.</p><p>And honestly, that shift in thinking has been the biggest takeaway for me so far.</p><h3>Architecture Design</h3><p>Below is the architecture I designed to support this use case:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7scGPia8MRUO4mr-0BAo7A.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=08f532bb56dc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Week 1 of My Cloud Engineering Journey — Starting to Think Like an Engineer]]></title>
            <link>https://medium.com/@joshwfarah/week-1-of-my-cloud-engineering-journey-starting-to-think-like-an-engineer-a33f890bfe92?source=rss-15c400ae7f8c------2</link>
            <guid isPermaLink="false">https://medium.com/p/a33f890bfe92</guid>
            <category><![CDATA[future]]></category>
            <category><![CDATA[self-improvement]]></category>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[cloud-engineering]]></category>
            <category><![CDATA[career-change]]></category>
            <dc:creator><![CDATA[Josh Farah]]></dc:creator>
            <pubDate>Wed, 15 Apr 2026 16:48:43 GMT</pubDate>
            <atom:updated>2026-04-15T16:48:43.378Z</atom:updated>
            <content:encoded><![CDATA[<p>Just wrapped up Week 1 of my cloud engineering journey and I didn’t expect things to start clicking this early. This week I focused on the fundamentals like cloud computing, AWS setup, networking basics, and understanding what actually happens behind the scenes when we use the internet every day. On the surface it sounds simple, but once you start getting hands-on, it’s a completely different experience.</p><p>One thing I realized quickly is that a lot of this comes down to understanding how machines communicate. For example, I learned how ping works. At a basic level, it’s your computer sending a signal to another server and waiting for a response. It tells you if something is reachable and how long it takes to get there. Right after that, I got into tracert which takes it a step further. Instead of just checking if a destination responds, it actually shows every step or hop your request takes across networks to get there.</p><p>I also had a moment this week where I got stuck trying to run a curl command. No matter what I did, it kept failing. After troubleshooting and getting some help, I realized I needed to use curl.exe — version instead of curl — version in PowerShell. That small fix honestly changed my perspective. It reminded me that problem-solving in tech isn’t always about knowing more, sometimes it’s about slowing down and figuring out what’s actually going wrong.</p><p>I also ran a tracert command to google.com and saw the real path my request takes across different networks. That was one of those moments where everything stops feeling theoretical and starts feeling real. The biggest takeaway from this week is that I’m already starting to think differently. I’m relying less on others and figuring things out on my own, which is a huge shift for me.</p><p>For context, I’m currently a Team Leader at General Motors and I’m making the transition into tech because I’ve always been curious about what’s happening behind the scenes of the systems we use every day. This is just Week 1, but I’m locked in. If you’re in cloud, tech, or even just starting out like me, let’s connect.</p><p>Seeing things visually made a huge difference for me, so I have included two diagrams below to show the difference between how Ping and Tracert work. Ping is like asking “are you there?” while tracert is like asking “how do I get to you, step by step?”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PwyQM2s1O9MoXL6Q-m_mGA.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a33f890bfe92" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>