<?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 Olanrewaju Yusuf on Medium]]></title>
        <description><![CDATA[Stories by Olanrewaju Yusuf on Medium]]></description>
        <link>https://medium.com/@Lanrewells?source=rss-366d932900e------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Stories by Olanrewaju Yusuf on Medium</title>
            <link>https://medium.com/@Lanrewells?source=rss-366d932900e------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 05:53:31 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@Lanrewells/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[Terrascan for Infrastructure]]></title>
            <link>https://medium.com/@Lanrewells/terrascan-for-infrastructure-15b8487d5ea4?source=rss-366d932900e------2</link>
            <guid isPermaLink="false">https://medium.com/p/15b8487d5ea4</guid>
            <dc:creator><![CDATA[Olanrewaju Yusuf]]></dc:creator>
            <pubDate>Wed, 20 Dec 2023 22:02:23 GMT</pubDate>
            <atom:updated>2023-12-20T22:02:23.437Z</atom:updated>
            <content:encoded><![CDATA[<p>🚀 Excited to share my latest discovery in the world of DevSecOps! 🛡️ Just came across Terrascan, an amazing tool that has completely transformed how I approach infrastructure security in my projects. 🔒💼</p><p>🔍 Terrascan offers a comprehensive approach to scanning and evaluating Terraform configurations, helping me identify potential security risks and compliance violations early in the development lifecycle. This means I can now ensure my infrastructure code is not only efficient but also rock-solid secure. 💪🔐</p><p>🔥 What I love about Terrascan:<br>1️⃣ Automated Scanning: Terrascan automatically scans Terraform files for misconfigurations, vulnerabilities, and compliance issues, saving me valuable time and reducing manual effort.<br>2️⃣ Extensive Policy Library: With its vast library of pre-defined policies, Terrascan covers a wide range of security best practices and industry standards, ensuring my infrastructure aligns with the latest requirements.<br>3️⃣ Real-time Feedback: The tool provides real-time feedback during development, ensuring that I catch and fix issues as they arise, rather than dealing with them later in the process.<br>4️⃣ Integration Capabilities: Terrascan seamlessly integrates into my CI/CD pipeline, allowing me to enforce security checks at every stage of the deployment process.<br>5️⃣ Customization: I can easily customize policies to fit my project’s specific security and compliance needs, giving me the flexibility I require.</p><p>🙌 If you’re into DevSecOps and Terraform, I highly recommend checking out Terrascan. It’s a game-changer that enhances both the security and efficiency of your infrastructure development. Give it a spin and let me know what you think!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=15b8487d5ea4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Infrastructure Deployment and Configuration Management in AWS VPC]]></title>
            <link>https://medium.com/@Lanrewells/infrastructure-deployment-and-configuration-management-in-aws-vpc-ff6d2126456c?source=rss-366d932900e------2</link>
            <guid isPermaLink="false">https://medium.com/p/ff6d2126456c</guid>
            <dc:creator><![CDATA[Olanrewaju Yusuf]]></dc:creator>
            <pubDate>Wed, 20 Dec 2023 14:32:36 GMT</pubDate>
            <atom:updated>2023-12-20T14:32:36.580Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Objective:</strong> Terminate all previous instances and establish a new, secure infrastructure in Amazon Web Services (AWS) comprising a Virtual Private Cloud (VPC) named VPC-1 with specific CIDR blocks, two subnets (subnetA and subnetB), and two EC2 instances (master and slave). Additionally, configure secure communication between the instances using SSH keys.</p><p><strong>Steps:</strong></p><p>1. Terminate Previous Instances:</p><p>· Terminate existing instances using the AWS Management Console, AWS CLI, or SDKs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/739/1*ecyZxpJSFOgG18rv3--_pQ.png" /></figure><p>2. Create VPC and Subnets:</p><p>· AWS Console:</p><p>o Navigate to the VPC Dashboard.</p><p>o Create VPC-1 with CIDR block 172.56.0.0/16.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/633/1*1t_QUY0xH46KDKH7c4dPUg.png" /></figure><p>o Create subnetA with CIDR block 172.56.1.0/24.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/453/1*Dtxqfewsk3sC_TGV1E4R-A.png" /></figure><p>o Create subnetB with CIDR block 172.56.16.0/24.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/531/1*Ldgr_fr34Y6IzWkB4cAM9A.png" /></figure><p>· Attach Internet Gateway to VPC:</p><p>o Navigate to the Internet Gateways section.</p><p>o Create an Internet Gateway and attach it to VPC-1.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/569/1*EOJqm8vD9Pe0NmwetjZjWw.png" /></figure><p>o Update the route tables of subnetA and subnetB to route traffic through the Internet Gateway.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/569/1*aPA32NotN2Rqgeiq2wygnQ.png" /></figure><p>3. Launch EC2 Instances:</p><p>· AWS Console:</p><p>o Launch the master instance in subnetA (CIDR block: 172.56.1.0/24).</p><p>§ Enable AutoAssign IP Address.</p><p>§ Open port 22 for SSH.</p><p>§ Save SSH key as master.pem.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/620/1*FA20b3UvT2bUVhPqHhNDJA.png" /></figure><p>o Launch the slave instance in subnetB (CIDR block: 172.56.16.0/24).</p><p>§ Enable AutoAssign IP Address.</p><p>§ Open port 22 for SSH.</p><p>§ Save SSH key as slave.pem.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/585/1*Ur-khGChffarxcCEbxP20A.png" /></figure><p>4. Configure Master Instance:</p><p>· SSH into Master:</p><p>§ ssh -i master.pem ec2-user@&lt;Master-Instance-Public-IP&gt;</p><p>· On Master Instance:</p><p>§ Create ‘master’ user with sudo privileges “sudo adduser master”</p><p>§ sudo usermod -aG wheel master</p><p>§ # Generate SSH key pair ssh-keygen</p><p>§ cat ~/.ssh/master_key.pub</p><p>§ Copy the public key.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*3hB1fzLl079uDvJ31miwng.png" /></figure><p>5. Configure Slave Instance:</p><p>· SSH into Slave:</p><p>§ ssh -i slave.pem ec2-user@&lt;Slave-Instance-Public-IP&gt;</p><p>· On Slave Instance:</p><p>§ # Create ‘slave’ user with sudo privileges “sudo adduser slave”<br> sudo usermod -aG wheel slave</p><p>§ # Open sshd_config and make necessary changes “sudo nano /etc/ssh/sshd_config”</p><p>§ Comment out password authentication, uncomment public key authentication, and save changes.</p><p>§ # Restart SSH daemon “sudo systemctl restart sshd“</p><p>§ bashCopy code</p><p>§ # Go to .ssh directory and create authorized_keys file cd /home/slave/.ssh touch authorized_keys nano authorized_keys</p><p>§ Paste the copied public key from the master server.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/849/1*5ro03bWy3MQueBarshNbvQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*CcEF_3o-RJP0QABsAbDjrg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/809/1*ODYCupdClJKuXa2X-1bb_A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/809/1*ODYCupdClJKuXa2X-1bb_A.png" /></figure><p>6. Verify Configuration:</p><p>· On Master Instance:</p><p>§ ssh -i master.pem slave@&lt;Slave-Instance-Private-IP&gt;</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/771/1*xtKxLppdZUEGxCOeYaagwQ.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ff6d2126456c" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>