<?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 ZEYNEP PEKTAŞ on Medium]]></title>
        <description><![CDATA[Stories by ZEYNEP PEKTAŞ on Medium]]></description>
        <link>https://medium.com/@zeynep.pektas?source=rss-85eb583a94f7------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*z29Yt1dZKSJS1-A1</url>
            <title>Stories by ZEYNEP PEKTAŞ on Medium</title>
            <link>https://medium.com/@zeynep.pektas?source=rss-85eb583a94f7------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 09:04:26 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@zeynep.pektas/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 Deployment to Destruction: How I Pushed an AWS EC2 Application to Its Breaking Point]]></title>
            <link>https://medium.com/@zeynep.pektas/from-deployment-to-destruction-how-i-pushed-an-aws-ec2-application-to-its-breaking-point-25950e4876f9?source=rss-85eb583a94f7------2</link>
            <guid isPermaLink="false">https://medium.com/p/25950e4876f9</guid>
            <category><![CDATA[cloud-engineering]]></category>
            <category><![CDATA[system-architecture]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[k6]]></category>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[ZEYNEP PEKTAŞ]]></dc:creator>
            <pubDate>Mon, 12 Oct 2026 13:16:17 GMT</pubDate>
            <atom:updated>2026-10-12T13:16:17.711Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introduction: The Engineering Philosophy</h3><p>Most tutorials teach you how to deploy an application to the cloud and stop as soon as it works on localhost or a single instance. However, in real-world production environments, &quot;working&quot; is merely the baseline.</p><p>As an aspiring Cloud &amp; DevOps Engineer, I wanted to go beyond basic deployment. I wanted to answer critical infrastructure questions: <strong>When, why, and how does a cloud system fail under heavy traffic? What are its exact architectural bottlenecks?</strong></p><p>In this project, I built an end-to-end (E2E) Node.js and SQLite application, deployed it on AWS EC2, and systematically pushed it until the system completely crashed. Here is the technical journey, the challenges I faced, the root cause analysis, and the architectural scaling solutions.</p><h3>Infrastructure &amp; Application Architecture</h3><p>To simulate a real web application, I set up a complete full-stack environment co-located on a single AWS EC2 instance (t2.micro running Amazon Linux 2023 with 1 vCPU and 1 GB RAM).</p><ul><li><strong>Frontend:</strong> Interactive HTML/JS client for dynamic Task Management.</li><li><strong>Backend:</strong> Node.js with Express.js exposing RESTful CRUD endpoints (GET, POST, DELETE).</li><li><strong>Database:</strong> Embedded SQLite for persistent data storage.</li><li><strong>Process Management:</strong> PM2 running in daemon mode to ensure 24/7 background execution and auto-recovery.</li><li><strong>Security &amp; Network:</strong> AWS Security Groups configured for Port 22 (SSH) and Port 3000 (HTTP Web App).</li></ul><h3>Phase 1: Load Testing &amp; Uncovering Latency Spikes</h3><p>Using <strong>Grafana k6</strong>, I designed a multi-stage load test to observe how the single-threaded Node.js runtime and limited virtual hardware handled increasing concurrent traffic.</p><h4>1. Baseline Load Test (300 Concurrent Users)</h4><p>At 300 Virtual Users (VUs), the single instance performed flawlessly:</p><ul><li><strong>Throughput:</strong> ~1,445 Requests Per Second (RPS)</li><li><strong>Average Latency:</strong> 29.94 ms</li><li><strong>Error Rate:</strong> 0.00%</li><li><strong>Takeaway:</strong> The single t2.micro handled read/write workloads effortlessly within its resource capacity.</li></ul><h4>2. Stress Test &amp; Queueing (1,000 Concurrent Users)</h4><p>Scaling up to 1,000 VUs pushed the instance toward its limits:</p><ul><li><strong>Total Requests:</strong> 71,812 requests processed in 35 seconds</li><li><strong>Error Rate:</strong> 0.00% (Zero HTTP failures)</li><li><strong>Average Latency:</strong> 215.71 ms (with peak response times spiking up to 16 seconds)</li><li><strong>Engineering Insight:</strong> Node.js operates on a single-threaded Event Loop. Without multi-core clustering or load balancing, incoming requests began queuing up in memory. While no requests failed, user experience degraded significantly.</li></ul><h3>Phase 2: Destructive Testing &amp; Root Cause Analysis (RCA)</h3><p>To identify the absolute break-point, I executed a destructive test: <strong>3,000 concurrent virtual users executing continuous </strong><strong>POST write requests with zero delay (</strong><strong>sleep 0).</strong></p><h4>What Happened When It Crashed?</h4><p>Within seconds, CPU utilization reached 100%, memory queue filled up, the SSH terminal froze, and the k6 test timed out due to total system unresponsiveness.</p><h4>Root Cause Analysis:</h4><ol><li><strong>Database Write-Locks (I/O Bottleneck):</strong> Unlike client-server databases (e.g., PostgreSQL), SQLite relies on file-level locking. Simultaneous write attempts from thousands of sessions created severe I/O contention.</li></ol><p><strong>2.Event Loop Blocking:</strong> High CPU saturation blocked the Node.js event loop, preventing the server from accepting new TCP connections.</p><p><strong>3.Single Point of Failure (SPOF):</strong> Co-locating the frontend, backend API, and embedded database on a single instance meant that resource starvation in one layer caused total system breakdown.</p><h3>Production-Ready Architectural Solutions</h3><p>Crashing the server provided clear insights on how to re-architect this application for high availability and fault tolerance:</p><ol><li><strong>Decouple the Database Layer:</strong> Migrate from embedded SQLite to <strong>AWS RDS (Managed PostgreSQL/MySQL)</strong>. This offloads database write-locks from the application server and isolates database compute.</li><li><strong>Horizontal Scaling (Scale-Out):</strong> Implement an <strong>AWS Application Load Balancer (ALB)</strong> in front of an <strong>Auto Scaling Group (ASG)</strong> to dynamically add EC2 instances when CPU utilization exceeds 70%.</li><li><strong>Multi-Core Utilization:</strong> Enable <strong>PM2 Cluster Mode</strong> (pm2 start server.js -i max) to leverage all available CPU cores across larger instances.</li><li><strong>Caching Layer:</strong> Introduce <strong>Redis</strong> to serve frequently accessed GET endpoints directly from in-memory storage, reducing database round-trips.</li></ol><h3>Conclusion</h3><p>Building a system that works is easy; understanding where it breaks and how to re-engineer around its hardware limits is what true Cloud Engineering is about.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=25950e4876f9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[From Networking Fundamentals to AWS VPC & EC2 Infrastructure]]></title>
            <link>https://medium.com/@zeynep.pektas/from-networking-fundamentals-to-aws-vpc-ec2-infrastructure-2a19b2dcdf9c?source=rss-85eb583a94f7------2</link>
            <guid isPermaLink="false">https://medium.com/p/2a19b2dcdf9c</guid>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[networking]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[cloud]]></category>
            <dc:creator><![CDATA[ZEYNEP PEKTAŞ]]></dc:creator>
            <pubDate>Sun, 27 Sep 2026 11:08:27 GMT</pubDate>
            <atom:updated>2026-09-27T11:08:27.883Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>A hands-on dive into AWS IAM, Linux system administration, Security Groups, and real-world troubleshooting</strong></p><p>Building a career in Cloud Engineering isn’t just about clicking buttons in the AWS Management Console; it’s about understanding the underlying networking protocols, OS-level service management, and security boundaries.</p><p>Before diving straight into AWS services, I spent time strengthening my fundamentals in <strong>Networking (CIDR, Subnetting, Routing)</strong> and <strong>Linux System Administration</strong>. This week, I put that knowledge into practice by architecting a secure AWS base infrastructure and deploying a live web service on Amazon EC2.</p><p>Here is a breakdown of the architecture, key security practices, and the real-world technical blockers I encountered along the way.<br>Architecture &amp; Key AWS Components</p><pre>┌──────────────────────────────────────────────────────────────────                                 <br>                   │               AWS CLOUD                  │        <br>                   │   ┌──────────────────────────────────┐   │<br>                   │   │         Public Subnet            │   │<br>                   │   │                                  │   │<br>Internet ─────────&gt;│──&gt;│ Security Group (Port 80/22)      │   │<br>                   │   │    └──&gt; EC2 Instance (Linux)     │   │<br>                   │   │           └──&gt; Apache (httpd)    │   │<br>                   │   └──────────────────────────────────┘   │<br>                   └──────────────────────────────────────────┘</pre><h4>1. Identity &amp; Access Management (IAM) &amp; Security</h4><ul><li><strong>Root Account Hardening:</strong> Enforced Multi-Factor Authentication (MFA) on the Root Account and locked away Root API keys.</li><li><strong>Least Privilege Principle:</strong> Configured granular IAM policies for daily administrative tasks instead of using administrator wildcard permissions.</li><li><strong>IAM Roles over Access Keys:</strong> Rather than embedding hardcoded AWS Access Keys inside the EC2 instance, I structured an <strong>IAM Role with AWS STS (Security Token Service)</strong> integration to grant temporary, rotating credentials to services.</li></ul><p><strong>2. Compute &amp; Web Service Deployment (EC2 &amp; Apache)</strong></p><p>Provisioned an <strong>Amazon Linux 2023</strong> instance and configured Systemd services to run Apache (httpd):</p><p>Bash</p><pre># Package installation and service management<br>sudo dnf install -y httpd<br>sudo systemctl start httpd<br>sudo systemctl enable httpd</pre><h3>Real-World Troubleshooting &amp; Technical Blockers</h3><p>The most valuable part of this implementation was diagnosing and resolving unexpected engineering edge-cases:</p><h4>🔴 Challenge 1: Windows OpenSSH Permission Denied (Unprotected Private Key File)</h4><ul><li><strong>Issue:</strong> When initiating an SSH session from Windows PowerShell using a .pem key, OpenSSH rejected the connection because file permissions were too open. Native Linux commands like chmod 400 are not available in PowerShell.</li><li><strong>Resolution:</strong> Used the native Windows icacls utility via PowerShell to strip inherited permissions and grant explicit read-only access strictly to the current user context:</li><li>PowerShell<br>icacls.exe &quot;key.pem&quot; /reset <br>icacls.exe &quot;key.pem&quot; /grant:r &quot;$($env:USERNAME):(R)&quot; <br>icacls.exe &quot;key.pem&quot; /inheritance:r</li></ul><h4>🔴 Challenge 2: EC2 Web Server Inbound Connection Timeout</h4><ul><li><strong>Issue:</strong> Although the Apache daemon (httpd) was active on the Linux instance, HTTP requests to the Public IP timed out.</li><li><strong>Resolution:</strong> Inspected the <strong>Security Group (Stateful Firewall)</strong> rules attached to the Elastic Network Interface (ENI). Identified that Inbound rules lacked explicit authorization for HTTP traffic. Added HTTP (Port 80) -&gt; 0.0.0.0/0 to resolve the network block.</li></ul><h4>🔴 Challenge 3: Cost Management &amp; Billing Access Restrictions on IAM Accounts</h4><ul><li><strong>Issue:</strong> Accessing the AWS Billing &amp; Cost Management Dashboard via an IAM User produced an Access Denied error despite administrative policies.</li><li><strong>Resolution:</strong> Identified that AWS disables IAM user access to financial telemetry by default. Authenticated via Root User to explicitly delegate IAM Billing Access controls.</li></ul><h3>Next Steps on the Roadmap</h3><ul><li>Deep dive into <strong>AWS S3</strong> Object Storage (Bucket Policies, Lifecycle Rules, Versioning) and <strong>EBS</strong> block storage management.</li><li>Architecting multi-tier environments with <strong>AWS RDS</strong>.</li><li>Migrating manual console configurations into <strong>Infrastructure as Code (IaC)</strong> using <strong>Terraform</strong>.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2a19b2dcdf9c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Cloud Journey — Week 1: Getting Hands-On with Linux & Deploying My First AWS Instance]]></title>
            <link>https://medium.com/@zeynep.pektas/cloud-journey-week-1-getting-hands-on-with-linux-deploying-my-first-aws-instance-ae7f62678edc?source=rss-85eb583a94f7------2</link>
            <guid isPermaLink="false">https://medium.com/p/ae7f62678edc</guid>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[devops]]></category>
            <dc:creator><![CDATA[ZEYNEP PEKTAŞ]]></dc:creator>
            <pubDate>Wed, 09 Sep 2026 16:53:16 GMT</pubDate>
            <atom:updated>2026-09-09T16:53:16.207Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*4XdFTlWjkwKH-rcz" /><figcaption>Photo by <a href="https://unsplash.com/@6heinz3r?utm_source=medium&amp;utm_medium=referral">Gabriel Heinzer</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplas</a>h</figcaption></figure><p><strong>1. Introduction<br></strong> This week marks the official start of my Cloud &amp; DevOps learning journey. I strongly believe that building a successful career in cloud computing requires a solid foundation in system administration. Instead of getting lost in complex cloud services right away, I decided to dedicate my first week to mastering <strong>Linux fundamentals through practical application</strong>.</p><p><strong>2. What I Covered This Week</strong> <br>Rather than setting an unrealistic goal of “learning all of Linux in a week,” I focused on the essential building blocks needed for cloud environments:</p><ul><li><strong>Basic Commands &amp; Terminal Practice:</strong> Spent time navigating the CLI, managing files/directories, and practicing daily essential commands.</li><li><strong>Linux Directory Structure:</strong> Worked on understanding the filesystem hierarchy and its underlying logic.</li></ul><p><strong>Log Management:</strong> Researched where system logs live (/var/log), how to inspect them, and why log analysis is critical for troubleshooting in production.</p><ul><li><strong>SSH Concepts:</strong> Explored how Secure Shell works, understanding key pairs, ports, and secure remote access</li></ul><p><strong>3. From Theory to Practice: Deploying an EC2 Instance on AWS</strong> To make sure the theoretical knowledge stuck, I put it into practice with a hands-on exercise:</p><ol><li>Launched a <strong>Linux EC2 instance</strong> on AWS.</li></ol><p>2. Configured Security Groups to allow inbound SSH traffic.</p><p>3. Connected directly to my cloud server from my local terminal using <strong>SSH</strong>.</p><p>4. Executed administrative commands and inspected system logs directly inside the live cloud environment.</p><p><strong>4. Key Takeaways &amp; Initial Challenges<br></strong> Connecting my local terminal directly to a remote server in the cloud was a great “lightbulb moment” for me.</p><p><strong>Challenge:</strong> Configuring proper key permissions (<strong>chmod 400</strong>) and setting up AWS network security rules required some troubleshooting. However, working through these issues gave me a much clearer picture of authentication and network access control.</p><p><strong>5. Plan for Week 2</strong></p><ul><li>Deepen my Linux knowledge slightly further (user permissions, process management, and basic system services).</li><li>Start exploring core Networking concepts (IP addressing, Subnets, and CIDR blocks).</li></ul><p><em>I’d love to hear from experienced cloud engineers — what advice would you give regarding Linux priorities in the first month of learning? Feel free to share your thoughts!</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ae7f62678edc" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>