<?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 Lonyama Daniella on Medium]]></title>
        <description><![CDATA[Stories by Lonyama Daniella on Medium]]></description>
        <link>https://medium.com/@daniellalonyama68?source=rss-29d7d03cfedb------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*lYbI0PGOaNWcr_sX</url>
            <title>Stories by Lonyama Daniella on Medium</title>
            <link>https://medium.com/@daniellalonyama68?source=rss-29d7d03cfedb------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 11:47:29 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@daniellalonyama68/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[My First Web Server with Nginx on Linux]]></title>
            <link>https://medium.com/@daniellalonyama68/my-first-web-server-with-nginx-on-linux-5fe3aa616f2c?source=rss-29d7d03cfedb------2</link>
            <guid isPermaLink="false">https://medium.com/p/5fe3aa616f2c</guid>
            <category><![CDATA[web-server-with-nginx]]></category>
            <dc:creator><![CDATA[Lonyama Daniella]]></dc:creator>
            <pubDate>Sun, 08 Mar 2026 18:51:14 GMT</pubDate>
            <atom:updated>2026-03-08T18:51:14.963Z</atom:updated>
            <content:encoded><![CDATA[<p>When you start learning about cloud computing or system administration, there is a moment that feels particularly satisfying: deploying your first web server.</p><p>It may seem like a simple step, but it helps you understand something fundamental. Behind every website on the Internet, there is simply a server receiving requests and returning files.</p><p>In this article, I’m sharing a small lab I worked on: installing Nginx on a Linux server and displaying my own web page.</p><h4>What does a web server actually do?</h4><p>Before jumping into the commands, it’s helpful to understand what really happens when you open a website.</p><p>You can imagine the server as a library, and the web server as the librarian.</p><p>When someone types a website address into their browser, the browser sends a request to the server. The web server receives that request, looks for the requested file (for example an HTML page or an image) in the server’s file system, and sends it back to the browser.</p><p>The browser then displays that content on the screen.</p><p>In the end, a web server doesn’t do anything mysterious. It simply serves files to users who request them.</p><h4>Why Nginx?</h4><p>Nginx (pronounced Engine-X) is one of the most widely used web servers today. It is well known for being lightweight and efficient. Even when handling many simultaneous connections, it uses relatively few system resources.</p><p>Another reason for its popularity is its versatility. Nginx can also be used as a reverse proxy or a load balancer, which is why it is commonly found in modern cloud architectures.</p><h4>Installing Nginx</h4><p>In my case, I’m using a Linux server running on an EC2 instance.</p><ol><li>Updating the system</li></ol><p>Before installing any software, I usually update the available packages on the system.</p><p><strong>sudo dnf update</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*k5Zxg8pyxAtxM2b1kjJmng.png" /></figure><p>The sudo command allows you to execute the command with administrator privileges</p><p>2. Updating the system</p><p>Before installing any software, I usually update the available packages on the system.</p><p><strong>sudo dnf update -y</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Jua6wqS_FftS_Hb-NJuecw.png" /></figure><p>Within a few seconds, the web server is installed.</p><p>3. Checking that the service is running</p><p>In Linux, applications that run in the background are called services.</p><p>To check if Nginx is working properly:</p><p><strong>sudo systemctl status nginx</strong></p><p>If the service is not active (as you can see in the photo), you can simply start it:</p><p><strong>sudo systemctl start nginx</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DEGzV5xozQOVppDACso5cg.png" /></figure><p>4. Test that the server is responding</p><p>Before opening the browser, I prefer to check that the server is responding locally:</p><p><strong>curl -I localhost</strong></p><p>If everything is working correctly, you will get a response similar to (as you can see in the photo): <strong>HTTP/1.1 200 OK</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/784/1*dgllhUIaZa0twxfzsuNgrg.png" /></figure><p>In the case of an EC2 instance, you must also check that port 80 is allowed in the Security Group, otherwise the server will not be accessible from the outside.</p><h4>Test in the browser</h4><p>Next, simply open a browser and enter the public IPv4 address of the instance.</p><p>If everything is configured correctly, the default Nginx page will appear:</p><p><strong>Welcome to nginx!</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*S1z3J7XTz8RdKk3r5Iz3Mw.png" /></figure><p>It’s always a satisfying moment the first time you see it.</p><h4>Customize the web page</h4><p>Once the server is up and running, you can modify the displayed page.</p><p>The website files are usually located in this folder:</p><p><strong>/usr/share/nginx/html</strong></p><p>To view its contents:</p><p><strong>ls -l /usr/share/nginx/html</strong></p><p>There should be a file called index.html.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sfKRWuiyDpakw1RvIp_XqA.png" /></figure><p>• Modify the page</p><p>To modify this file, first access the file with the command:</p><p><strong>cd /usr/share/nginx/htm</strong>l</p><p>Then:</p><p><strong>sudo nano index.html</strong></p><p>As the file belongs to the root user, you must use sudo.</p><p>Note: Once in the nano editor, delete all existing content. In my case, I simply replaced the content with a small custom page in HTML/CSS/JS.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-eV4RbAaLdJwJsinEQgorQ.png" /></figure><p>. Once the changes are complete:</p><p>. save with Ctrl + O</p><p>. exit with Ctrl + X</p><h4>Verification</h4><p>Then simply return to the browser and refresh the page.</p><p>The default Nginx page is now replaced by the page you created.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BGplYmeZMJ5z91qyNkRdtQ.png" /></figure><h4>Conclusion</h4><p>This exercise may seem simple, but it helps you understand an essential concept: how a website becomes accessible on the Internet.</p><p>With just a few Linux commands, you can deploy a functional web server and serve your own pages.</p><p>It’s also an excellent first step toward better understanding system administration, the cloud, and modern web architectures.</p><p>For me, this type of lab always reminds me of one thing: before complex architectures and automation tools, it all starts with understanding the basics.</p><p>See you soon for a new cloud challenge.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5fe3aa616f2c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Large-Scale Cloud Architecture: Creating a VPC with 2 Billion IP Addresses across 4 Availability…]]></title>
            <link>https://medium.com/@daniellalonyama68/large-scale-cloud-architecture-creating-a-vpc-with-2-billion-ip-addresses-across-4-availability-97fa8ffd8d67?source=rss-29d7d03cfedb------2</link>
            <guid isPermaLink="false">https://medium.com/p/97fa8ffd8d67</guid>
            <category><![CDATA[aws-vpc]]></category>
            <dc:creator><![CDATA[Lonyama Daniella]]></dc:creator>
            <pubDate>Wed, 04 Mar 2026 22:00:25 GMT</pubDate>
            <atom:updated>2026-03-05T10:36:29.747Z</atom:updated>
            <content:encoded><![CDATA[<h3>Large-Scale Cloud Architecture: Creating a VPC with 2 Billion IP Addresses across 4 Availability Zones</h3><p>As part of my AWS re/Start program provided by AWS in partnership with Orange RDC ,I was faced with a network architecture exercise that completely reshaped my perception of cloud computing.</p><p>The challenge was ambitious: design a VPC capable of supporting approximately 2 billion IP addresses, distributed across four distinct Availability Zones, with strictly identical capacity for each subnet. On paper, it looks like a simple subnetting exercise. In reality, it is a true engineering feat.</p><p>Not long ago, networking felt intimidating to me. CIDR, masks, powers of two, multi-AZ architecture… it all seemed abstract and complex. I still associated networking with cables, physical racks, and endless configurations.</p><p>But this exercise forced me to change my perspective. Here, it wasn’t about plugging in hardware. It was about thinking logically, reasoning mathematically, and designing a scalable architecture from the ground up.</p><p>This work helped me realize one essential thing: Cloud networking is not about hardware. It is about structure, anticipation, and precision.</p><p>So, before diving into CIDR calculations and advanced subnetting, let’s ask the real question: How do you theoretically design a VPC capable of supporting nearly 2 billion IP addresses? To answer that, we must return to the fundamentals: CIDR, binary calculation, and the logic of subnetting.</p><h3>1. Choosing the Address Range (The CIDR)</h3><p>In IPv6, we no longer count in millions, but in “billions of billions.”</p><p>To obtain approximately 2 billion addresses (or more precisely, to align with a manageable power of 2), we will use a block with a <strong>/95 mask</strong>.</p><ul><li><strong>Global VPC Range:</strong> fd00:db8:1234::/95</li><li><strong>Total Capacity:</strong> 2¹²⁸-⁹⁵ = 2³³ addresses, which is approximately <strong>8.5 billion addresses</strong>. This is the closest standard block that comfortably covers your 2-billion-address requirement.</li></ul><h3>2. Splitting into 4 Subnets (Subnetting)</h3><p>Once the main CIDR block is defined, the next step is to divide it into four identical subnets, each deployed in a distinct <strong>Availability Zone</strong>.</p><p>The goal is twofold: to ensure a balanced distribution of resources and to guarantee a consistent, scalable architecture.</p><h4>IPv4 Subnetting</h4><p>For IPv4, each subnet was configured with a <strong>/20 mask</strong>, providing identical capacity for each one.</p><p>A <strong>/20</strong> offers:</p><p>2³²-²⁰ = 4096 adresses IP addresses.</p><p>The subnets are structured sequentially to maintain clear addressing logic:</p><ul><li>10.0.0.0/20</li><li>10.0.16.0/20</li><li>10.0.32.0/20</li><li>10.0.48.0/20</li></ul><p>This steady progression improves readability, maintenance, and the overall scalability of the architecture.</p><h4>IPv6 Subnetting</h4><p>For IPv6, AWS imposes a specific constraint: <strong>each subnet must be configured as a /64.</strong></p><p>This choice ensures full compatibility with auto-configuration mechanisms (SLAAC) and IPv6 standards.</p><p>A single <strong>/64 subnet</strong> contains:</p><p>2⁶⁴ addresses.</p><p>That is roughly <strong>18 quintillion addresses</strong>, far exceeding the initial requirement.</p><p>The IPv6 blocks were assigned in a structured and incremental manner:</p><ul><li>2600:1f18:56ee:c600::/64</li><li>2600:1f18:56ee:c601::/64</li><li>2600:1f18:56ee:c602::/64</li><li>2600:1f18:56ee:c603::/64</li></ul><p>This organization ensures clear separation between Availability Zones while strictly adhering to AWS standards.</p><h3>Step 3: Step-by-Step Deployment Guide (AWS Example)</h3><p>If you are performing this on a Cloud Provider like AWS, here is the procedure to follow:</p><h4>1. Creating the VPC:</h4><ul><li>Go to the <strong>VPC Console</strong>.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*S-sphtoLp0JJWbMb5G32tA.png" /></figure><ul><li>Navigate to VPC &gt; Your VPCs &gt; Create VPC&gt;Select “VPC only”&gt;Name tag: My-Giant-VPC &gt;<strong> IPv4 CIDR:</strong> Even if you are aiming for 2 billion addresses in IPv6, Cloud providers often require an IPv4 block. Use the standard maximum: 10.0.0.0/16.&gt;<strong>Pv6 CIDR block:</strong> This is where the magic happens. Select <strong>“Amazon-provided IPv6 CIDR block”</strong> (or “Custom” if you have your own range).&gt;Click on “Create VPC”</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*w_LfEiadOlfFfzbQMoPlLA.png" /></figure><h3>Step 2: Create the 4 Subnets</h3><p>Now, we are going to divide this large space into 4 “neighborhoods” (one per Availability Zone).</p><ul><li><strong>Navigate to Subnets &gt; Create subnet&gt;VPC ID:</strong> Select your My-Giant-VPC.</li><li><strong>Subnet 1:Name:</strong> Subnet-AZ-1</li><li><strong>Availability Zone:</strong> Choose the first one (e.g., us-east-1a).</li><li><strong>IPv6 CIDR:</strong> Enter the first calculated range (see section 2, IPv6 Subnetting): 2600:1f18:56ee:c600::/64.</li><li><strong>IPv4 Subnet CIDR block:</strong> Enter the first calculated range from the IPv4 Subnetting section: 10.0.0.0/20.</li><li><strong>Repeat the process</strong> for the 3 remaining subnets, changing the <strong>Zone</strong> (AZ-2, AZ-3, AZ-4) and incrementing the corresponding <strong>IP range</strong>.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KHmJdXPzO03nhW6dzNhagA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0TS8L8HZ_uk53kGBkmSvfQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jzsUvQrBuXxta5AMM8Nyqw.png" /></figure><h3>Step 3: Opening the Door to the Outside World (Internet Gateway)</h3><p>By default, your VPC is a fully isolated fortress. Nothing goes out, and nothing comes in.</p><ul><li><strong>Navigate to Internet Gateways &gt; Create internet gateway.</strong></li><li><strong>Name tag:</strong> My-Internet-Gateway.</li><li>Once created, click on <strong>Actions &gt; Attach to VPC</strong> and select your VPC.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AiPrCNllN6PsWaNOx0rUJg.png" /></figure><h3>Step 4: Mapping the Routes (Route Table)</h3><p>This is the step where you tell your data packets: “If you want to reach the Internet, go through the door I just created.”</p><ul><li><strong>Navigate to Route Tables.</strong> A default table was created with your VPC. Select it.</li><li>Go to the <strong>Routes</strong> tab and click <strong>Edit routes</strong>.</li></ul><h3>Step 4: Mapping the Routes (Route Table)</h3><p>This is the step where you tell your data packets: “If you want to reach the Internet, go through the door I just created.”</p><ul><li><strong>Navigate to Route Tables.</strong> A default table was created with your VPC. Select it.</li><li>Go to the <strong>Routes</strong> tab and click <strong>Edit routes</strong>.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YVfDUtZtqydOUKZ_kPvnSw.png" /></figure><ul><li>Click <strong>Add route</strong>:</li><li><strong>Destination:</strong> ::/0 (This represents &quot;all external IPv6 traffic&quot;).</li><li><strong>Target:</strong> Select <strong>Internet Gateway</strong>, then choose your My-Internet-Gateway.</li><li><strong>Associate the subnets:</strong> Go to the <strong>Subnet associations</strong> tab, click <strong>Edit subnet associations</strong>, and check the boxes for your 4 subnets.</li></ul><h3>Step 5: Security (Security Groups)</h3><p>Even with 2 billion addresses at your disposal, you don’t want just anyone accessing them. Security Groups act as a virtual firewall for your instances.Here is how to configure your rules to support IPv6 — a critical step for your project:</p><h4>1. Inbound Rules</h4><p>This is where you authorize the outside world to reach your servers.</p><ul><li><strong>HTTP Rule:</strong></li><li><strong>Type:</strong> HTTP (Port 80).</li><li><strong>Source:</strong> Instead of “My IP,” select <strong>Anywhere-IPv4</strong> (0.0.0.0/0) AND click <strong>Add rule</strong> to include <strong>Anywhere-IPv6</strong> (::/0). This is crucial to ensure your billions of IPv6 addresses are accessible.</li><li><strong>SSH Rule (For your eyes only):</strong></li><li><strong>Type:</strong> SSH (Port 22).</li><li><strong>Source:</strong> Select <strong>My IP</strong>. This ensures that only you can administratively access and manage your instances.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*itPSNa_NEY1Z3pQC-CVirQ.png" /></figure><h4>2. Outbound Rules</h4><p>By default, Security Groups allow all outbound traffic. To keep it aligned with your architecture:</p><ul><li><strong>All Traffic:</strong> Ensure that both 0.0.0.0/0 (IPv4) and ::/0 (IPv6) are present. This allows your resources to reach the internet for updates or external communication.</li><li><strong>Pro Tip:</strong> Unlike Inbound rules, Outbound rules for SSH are rarely restricted to “My IP” because the initial handshake is already filtered by the Inbound rule.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CR10XgD254BvogecBfA9OA.png" /></figure><h3>Step 6: Launching the Instance</h3><p>Now that the infrastructure is ready, it’s time to deploy your first server.</p><h4>1. Launch the Instance</h4><ul><li><strong>Search:</strong> In the top search bar, type <strong>EC2</strong> and click the first result.</li><li><strong>Start:</strong> Click the orange <strong>Launch instance</strong> button.</li><li><strong>Name:</strong> My-IPv6-Server.</li><li><strong>Amazon Machine Image (AMI):</strong> Keep <strong>Amazon Linux 2023</strong> (it is Free Tier eligible and has excellent native IPv6 support).</li><li><strong>Instance Type:</strong> Select <strong>t2.micro</strong> (Free Tier eligible).</li><li><strong>Key Pair:</strong> If you don’t have one, click <strong>Create new key pair</strong>, give it a name, and download the .pem file. <strong>Keep it secure</strong>, as you will need it to access your server.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HhrHaoQRgQjEFvtgvK1gLA.png" /></figure><h4>2. Network Configuration (CRUCIAL Step)</h4><p>This is where you link your server to your massive VPC:</p><ul><li>Click <strong>Edit</strong> next to <strong>Network settings</strong>.</li><li><strong>VPC:</strong> Select your custom VPC (e.g., vpc-0d789...).</li><li><strong>Subnet:</strong> Choose one of your four subnets (e.g., Subnet-AZ-1).</li><li><strong>Auto-assign public IP:</strong> Set to <strong>Enable</strong>.</li><li><strong>Auto-assign IPv6 IP:</strong> Set to <strong>Enable</strong>. This is the key step that will pull an address from your pool of billions.</li><li><strong>Firewall (Security Groups):</strong> Choose <strong>Select existing security group</strong> and pick the Web-Access group you created earlier.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*m12qOWPQpbTXzMcQSL-iyg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1TbGg42au1DBhJphrGqg5w.png" /></figure><h3>Step 7: Verification and Testing</h3><ul><li><strong>Launch:</strong> Click <strong>Launch instance</strong>.</li><li><strong>Status Check:</strong> Once the instance status shows <strong>“Running”</strong>, click on the Instance ID to view its details.</li><li><strong>Find your IP:</strong> Look for the <strong>IPv6 address</strong> field. You should see a very long address (e.g., 2600:1f18:56ee:c600:xxxx...).</li></ul><h4>How to test?</h4><p>From your own computer (if your ISP supports IPv6), open a terminal and type: ping6 [YOUR_IPV6_ADDRESS]</p><h3><strong>Conclusion: From Theory to a Broader Visio</strong>n</h3><p>Designing a VPC capable of supporting 2 billion IP addresses was not just an academic exercise. For me, it was a shift in perspective.</p><p>At first, networking felt complex — almost intimidating. CIDR blocks, powers of two, multi-AZ architectures… it all seemed abstract. Yet, by breaking the problem down step by step, I realized something essential: behind the apparent complexity lies logic.</p><p>We moved from a very concrete vision cables, physical equipment, hardware constraints to a purely architectural approach, where everything depends on structure and anticipation. In the cloud, the limit is no longer the hardware. The limit is the quality of the design.</p><p>By mastering subnetting and binary logic, what once seemed unrealistic became structured, clear, and measurable. And with IPv6, I understood that we are entering an era where IP address scarcity is no longer a barrier, but an opportunity for innovation at scale.</p><p>Through the AWS re/Start program in partnership with Orange RDC, I also learned that network architecture is not just about assigning address blocks. Security, routing, connectivity everything must be embedded into the design from day one. A strong infrastructure is not improvised; it is intentionally built.</p><p>If I had to take away one lesson from this experience, it would be this: Cloud computing is not about machines. It is about vision. And today, I feel capable of designing architectures that, just a few months ago, I would have considered beyond my reach.</p><p>Perhaps that is the true meaning of scalability: growing at the same pace as the infrastructure you design.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=97fa8ffd8d67" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>