<?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 Oyesola Ibrahim on Medium]]></title>
        <description><![CDATA[Stories by Oyesola Ibrahim on Medium]]></description>
        <link>https://medium.com/@oyesolaibrahim14?source=rss-3095e893c360------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*0oYP-erGrN6EbnuQ</url>
            <title>Stories by Oyesola Ibrahim on Medium</title>
            <link>https://medium.com/@oyesolaibrahim14?source=rss-3095e893c360------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 01:30:53 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@oyesolaibrahim14/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[Building a Self-Backing-Up Private Server on AWS: My Karatu Cloud Engineering Project]]></title>
            <link>https://medium.com/@oyesolaibrahim14/building-a-self-backing-up-private-server-on-aws-my-karatu-cloud-engineering-project-65fa5823a951?source=rss-3095e893c360------2</link>
            <guid isPermaLink="false">https://medium.com/p/65fa5823a951</guid>
            <category><![CDATA[aws-s3]]></category>
            <category><![CDATA[bastion-host]]></category>
            <category><![CDATA[altschool-africa]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[Oyesola Ibrahim]]></dc:creator>
            <pubDate>Fri, 20 Nov 2026 17:13:50 GMT</pubDate>
            <atom:updated>2026-11-20T17:13:50.481Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Building a Self-Backing-Up Private Server on AWS: My Karatu Cloud Engineering Project</strong></p><p><em>How I built a private server that automatically backs up its data, protects old backups from deletion and records every new backup without human involvement.</em></p><p><strong>Introduction: What if your server could look after its own backups?</strong></p><p>Imagine running a company application that stores important information every day. It could be customer records, business transactions, reports or other valuable data.</p><p>Now imagine that the server storing all this information suddenly develops a problem. Perhaps somebody accidentally deletes an important file. Maybe an attacker gains access to the server. Or perhaps the machine simply stops working.</p><p>One question immediately comes to mind: <strong>Where is the backup?</strong></p><p>Backups are important but creating them manually is not always reliable. People get busy, forget scheduled tasks or make mistakes. There is also another problem: what happens if somebody gains access to the server and deletes the backups too?</p><p>This was the problem I set out to solve in my Karatu Cloud Engineering first-semester project examination.</p><p>The goal was to build an automated backup system on Amazon Web Services (AWS). The application server would have no public IP address, would automatically create and upload backups and would not have permission to delete existing backups. Every new backup would also be recorded automatically in a database.</p><p>In simple terms, I wanted a server that could back itself up while making it difficult for someone who compromised that server to destroy the backups.</p><p>And guess what? We are going to build our way through how I achieved this.</p><p>So, before we begin, grab your popcorn, find a comfortable seat and let’s take this little AWS adventure together 🍿</p><p>I will try to explain the technical parts in plain English, share the challenges I encountered and show the evidence of what worked. No need to panic if some AWS terms sound unfamiliar. We will unpack them as we go.</p><p><strong>1. Understanding the architecture before building</strong></p><p>Before creating resources, I needed to understand how the different parts would communicate.</p><p>I used Amazon Virtual Private Cloud (VPC) to create an isolated network for the project. Think of a VPC as a private compound inside AWS. Within that compound, I created two subnets:</p><ul><li><strong>Public subnet:</strong> This contained the bastion server, which acted as the controlled entrance into the private network.</li><li><strong>Private subnet:</strong> This contained the application server. It had no public IP address and was not directly accessible from the internet.</li></ul><p>The bastion server was important because I still needed a way to administer the private application server. Instead of exposing the application server to the internet, I connected to the bastion first and then used SSH to reach the private server.</p><p>I also configured security groups, which act like virtual security guards. The bastion accepted SSH connections only from my permitted IP address, while the application server accepted SSH connections only from the bastion’s security group.</p><p>This meant that the application server did not need to be publicly exposed just because I needed to manage it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*1zV_vg3zIiw2fnqMrB4-Qw.png" /></figure><p>Are you still with me? I hope the idea of a private compound with a controlled entrance makes sense. The important thing to remember is that the application server lives in the private subnet while the bastion provides a controlled way to reach it.</p><p>If that makes sense, let’s move on. The interesting part is about to begin!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*nWb40LxKGNoGV2ih7DU7Mw.png" /><figcaption><strong>VPC resource map</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*G1OfgH4N8Ny2lJ65Fa4C6g.png" /><figcaption><strong>public subnet</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*kF8loJUMB72xwao-SA7vJw.png" /><figcaption><strong>private subnet</strong></figcaption></figure><p><strong>2. Getting into the private server safely</strong></p><p>One of the first practical things I had to achieve was connecting to the application server without giving it a public IP address.</p><p>I used SSH agent forwarding to connect through the bastion. The idea is straightforward: instead of copying my private key file onto the bastion server, I kept the key on my own computer and forwarded the authentication process through the connection.</p><p>This is important because private SSH keys should be protected. Copying them onto another server creates an unnecessary security risk.</p><p>After establishing the connection, I successfully reached the application server through the bastion. The application server remained private throughout the process.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*yM-so25fa8izmzEwJ7sNrA.png" /><figcaption><strong>Successful SSH connection through the bastion to the private application server</strong></figcaption></figure><p><strong>3. Giving the server permission without giving it too much power</strong></p><p>The next challenge was allowing the application server to upload backups to Amazon S3.</p><p>Amazon S3 is AWS’s object storage service. You can think of it as a secure online storage space where applications can store files such as documents, images, and backup archives.</p><p>However, I did not want the application server to have unrestricted control over the backup bucket.</p><p>I created an IAM role and attached it to the EC2 application server. IAM means Identity and Access Management. It is the AWS service used to control who or what can access resources.</p><p>The role used a least-privilege policy that allowed the application server to perform only the required action: s3:PutObject on objects inside the bucket’s backups/ folder.</p><p>It did not grant permission to delete backups.</p><p>Why use an IAM role instead of access keys?</p><p>Access keys are credentials that applications can use to authenticate with AWS. If someone steals them, that person may be able to use the permissions associated with those credentials. Keys also need to be stored, rotated, and protected.</p><p>An IAM role provides temporary credentials to an authorised AWS resource, such as an EC2 instance. This avoids storing long-term access keys on the server and makes access easier to manage.</p><p>I tested the restriction by uploading a backup successfully and then attempting to remove a backup using the AWS CLI. The upload worked, but the delete operation returned <strong>Access Denied</strong>.</p><p>That was exactly the behaviour I wanted.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*grpa5XR9yWWYJumaKxWBgQ.png" /><figcaption><strong>IAM role policy</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*XZEwrb5csEmCiNOdZCiNCQ.png" /><figcaption><strong>Proof that the role is attached to the application EC2 instance</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*3DrSpQW7zbNov0pGWMSSdg.png" /><figcaption><strong>Terminal aws s3 rm attempt returning access denied</strong></figcaption></figure><p><strong>4. Making the application generate data automatically</strong></p><p>A backup system is not very useful if there is no changing data to back up. I therefore created a small data generator on the application server.</p><p>I created the directory /var/app/data and configured a Linux systemd service called data-generator.service.</p><p>The service ran a small process that appended a timestamped line to /var/app/data/app.log every 30 seconds.</p><p>Systemd is the service manager used by many Linux distributions. It allows administrators to start, stop, monitor, and automatically manage background services.</p><p>I configured the service to start when the server booted and to restart if it stopped unexpectedly.</p><p>This gave me a simple but useful application-data simulation. The log file continued growing, giving the backup script something to archive.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*EGqIeJ2uNVKj4nO1C5Qr5w.png" /><figcaption><strong>systemctl status data-generator and a few lines from /var/app/data/app.log</strong></figcaption></figure><p>Now, I hope you haven’t finished your popcorn yet because we are approaching the heart of the project!</p><p><strong>5. Creating the automatic backup script</strong></p><p>This was one of the central parts of the project.</p><p>I created a Bash script called backup.sh, located at:</p><p>/usr/local/bin/backup.sh</p><p>The script was designed to perform a few tasks automatically:</p><ol><li>Start with strict Bash settings using set -euo pipefail.</li><li>Create a compressed archive of /var/app/data.</li><li>Give the archive a timestamped filename using the format backup-YYYY-MM-DD-HHMM.tar.gz.</li><li>Upload the archive to the S3 bucket’s backups/ folder using the AWS CLI.</li><li>Record the result, including a timestamp, in /var/log/backup.log.</li><li>Delete the local archive after a successful upload.</li></ol><p>The script was scheduled to run every ten minutes using cron.</p><p>Cron is a Linux utility that runs scheduled commands automatically. I used root’s crontab because the script needed to write to /var/log/backup.log.</p><p>The schedule was:</p><p>*/10 * * * * /usr/local/bin/backup.sh</p><p>This tells cron to execute the script every ten minutes.</p><p>The benefit is that the backup process no longer depends on someone remembering to run a command. Once configured, the server handles the work on its own.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*uEPJ8DppXV1sTRTdZefVEA.png" /><figcaption><strong>complete backup.sh script</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*19IHQExVGz33lIZYNvSVKg.png" /><figcaption><strong>Output of sudo crontab -l</strong></figcaption></figure><p>At this stage, we had a server generating data and a script that could package and upload that data automatically.</p><p><strong>Are you still following?</strong> I appreciate you sticking around. We have covered Linux services, Bash scripting, cron, IAM and S3. If those terms seemed intimidating at the beginning, I hope they are starting to make more sense now.</p><p>But there was still a networking question to solve: how could a private server upload to S3 without keeping an expensive NAT Gateway running?</p><p>Let’s find out.</p><p><strong>6. Uploading backups without keeping a NAT Gateway</strong></p><p>There was an important networking challenge in this project.</p><p>The application server was in a private subnet and had no public IP address. During initial setup, I needed internet connectivity to install the required software and AWS CLI.</p><p>For this temporary setup, I created a NAT Gateway. A NAT Gateway allows resources in a private subnet to initiate outbound internet connections without making those resources directly reachable from the internet.</p><p>However, NAT Gateways incur hourly charges. Keeping one running just to upload backups to S3 would be unnecessary.</p><p>The better solution for this particular requirement was an <strong>S3 Gateway VPC Endpoint</strong>.</p><p>A VPC Endpoint provides a private path from a VPC to a supported AWS service. In this case, the Gateway Endpoint allowed the application server to communicate with S3 without sending that traffic through a NAT Gateway or the public internet.</p><p>I attached the endpoint to the private route table. This allowed the application server to reach the S3 bucket privately.</p><p>After completing the setup, I deleted the NAT Gateway and released its associated Elastic IP address.</p><p>I then tested the result. A request to <a href="https://example.com/">https://example.com</a> failed because the private server no longer had a route to the public internet. However, running the backup script still successfully uploaded a backup to S3.</p><p>This was an important result: <strong>the server could reach the AWS storage service it needed without having general internet access.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*rGWOfxfevKRQ28lIrJvV3Q.png" /><figcaption><strong>Terminal showing the failed curl test after NAT deletion</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*v7GoAC12uNVBD41Gt2yizg.png" /><figcaption><strong>Terminal showing a successful backup upload after NAT deletion</strong></figcaption></figure><p>If you have followed this section, you have just seen one of the most interesting lessons from the project: losing general internet access does not necessarily mean losing access to every AWS service.</p><p>Thank you for your patience. We are getting closer to the finish line but one more important piece remains. How do we know that every backup was actually uploaded and recorded?</p><p><strong>7. Recording every backup automatically with Lambda and DynamoDB</strong></p><p>Uploading a backup was only part of the requirement. I also needed an automatic audit record every time a new backup arrived in S3.</p><p>For this, I used three AWS services:</p><ul><li><strong>Amazon S3:</strong> Stores the backup files.</li><li><strong>AWS Lambda:</strong> Runs code automatically when an event occurs.</li><li><strong>Amazon DynamoDB:</strong> Stores the audit records.</li></ul><p>I created a DynamoDB table named backup-log, using backup_id as its partition key and on-demand capacity.</p><p>I then created a Python Lambda function named karatu-backup-audit.</p><p>I configured an S3 event notification to invoke the Lambda function when a new object was created under the backups/ prefix. The function read details from the event and wrote a record to DynamoDB. The record included the backup identifier, file size, upload time, and bucket name.</p><p>I also created an execution role for the Lambda function. It had permission to write to the backup-log table using dynamodb:PutItem together with the permissions required for CloudWatch Logs.</p><p>The result was an automated audit trail. Whenever a backup was uploaded, Lambda was triggered and a corresponding record was written to DynamoDB. No person needed to open the database and enter the details manually.</p><p>Let me explain that flow in everyday language:</p><ol><li>The application server uploads a backup to S3.</li><li>S3 notices that a new object has been created.</li><li>S3 sends an event to Lambda.</li><li>Lambda processes the event and extracts the backup information.</li><li>Lambda writes the information into DynamoDB.</li><li>Lambda execution messages are available in CloudWatch Logs.</li></ol><p>It is almost like having a small assistant watching the storage bucket. Every time a new backup arrives, the assistant records what happened.</p><p>And the beautiful part? Nobody needs to sit in front of the computer clicking buttons to make it happen.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*nOOmJjWmqbKkzjteIgzhNw.png" /><figcaption><strong>Lambda function showing the S3 trigger</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*Tbz7pY8MFiisUOyBMZRygg.png" /><figcaption><strong>Lambda execution role and its attached permissions</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*8j3p0KSOwlR7Zvw3IVU10g.png" /><figcaption><strong>The inline IAM policy showing the restricted DynamoDB PutItem permission</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*0KwbDXUkF4mWFzz99paXwA.png" /><figcaption><strong>DynamoDB backup-log table</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*QgqkDH75NvB_lDOdh68New.png" /><figcaption><strong>CloudWatch log output showing a successful Lambda invocation and audit record creation</strong></figcaption></figure><p>Take a breath, stretch a little and let’s move to the final testing stage. We need to make sure all these individual pieces work together.</p><p><strong>8. Testing the complete pipeline</strong></p><p>A project is not complete simply because all the resources have been created. The important question is whether the system works as intended.</p><p>I checked that the data generator was running, the backup script could create archives, and the S3 bucket contained at least three backups.</p><p>I also checked that DynamoDB contained at least three matching audit records and that CloudWatch showed a successful Lambda invocation.</p><p>Finally, I tested the security and networking restrictions:</p><ul><li>The application server had no public IP.</li><li>SSH access to the application server was restricted to the bastion security group.</li><li>Uploading a backup to S3 worked.</li><li>Attempting to delete a backup returned Access Denied.</li><li>Public internet access failed after the NAT Gateway was deleted.</li><li>Uploading a backup still worked through the S3 Gateway VPC Endpoint.</li></ul><p>These tests were important because they demonstrated that the architecture was not just configured correctly on paper; its expected behaviour had been tested.</p><p>In other words, I wasn’t just collecting AWS resources like someone collecting trophies. I wanted to see the system actually doing what I had designed it to do.</p><p><strong>9. Challenges and lessons learned</strong></p><p>One major lesson was that cloud resources depend on one another. A problem with a security group, route table, IAM policy, or service configuration can prevent an otherwise correctly configured application from working.</p><p>The SSH connection required careful attention to the bastion-to-private-server path and SSH agent forwarding. This helped me understand why a private server should not be exposed directly just to make administration easier.</p><p>IAM permissions also taught me the value of testing both what a user or resource can do and what it must not be allowed to do. Seeing the S3 upload succeed and the delete attempt fail was a practical demonstration of least privilege.</p><p>Another important lesson was the difference between general internet connectivity and private access to an AWS service. After deleting the NAT Gateway, the curl test failed, but the S3 upload continued working. This made the purpose of a VPC Endpoint much clearer to me.</p><p>I also learned to pay attention to the AWS region selected in the console. Resources such as S3 buckets, Lambda functions, DynamoDB tables, and VPC Endpoints must be created and configured in the intended region for this architecture to work correctly.</p><p><strong>10. What I would improve in a real company</strong></p><p>This project met the required objectives, but a production system would need additional protections and operational improvements.</p><p>First, I would enable S3 Versioning. Versioning keeps multiple versions of an object, which can help recover from accidental overwrites or deletions. For stronger protection, I would also investigate S3 Object Lock where appropriate.</p><p>Second, I would introduce lifecycle rules to manage old backups. For example, older backups could move to a lower-cost storage class after a defined period, while backups beyond the company’s retention period could be removed according to an approved policy.</p><p>Third, I would configure monitoring and alerts. CloudWatch alarms could notify the operations team if backups stopped arriving, the Lambda function began failing, or storage usage changed unexpectedly.</p><p>I would also ensure that encryption was enabled for stored backups, document a tested restoration procedure, and regularly test recovery rather than assuming that a successful upload automatically means the backup is usable.</p><p>Finally, I would consider using infrastructure as code to make the environment easier to reproduce, review, and maintain.</p><p><strong>Conclusion: More than just uploading a file</strong></p><p>This project taught me that building a reliable cloud solution involves much more than launching an EC2 instance and uploading a file to S3.</p><p>I brought together private networking, controlled SSH access, IAM roles, Linux services, Bash scripting, cron, Amazon S3, VPC Endpoints, Lambda, DynamoDB, and CloudWatch to create an automated backup and audit pipeline.</p><p>The most satisfying part was testing the system after deleting the NAT Gateway. The application server could no longer reach a normal public website, but it could still upload its backup to S3 and trigger an audit record in DynamoDB.</p><p>That small test demonstrated the purpose of the architecture: give the server only the access it needs, automate repetitive work, and make the backup process more difficult to compromise.</p><p>Beyond the technical knowledge, the project taught me patience, troubleshooting, attention to detail and the importance of testing assumptions rather than simply trusting that a configuration will work.</p><p>And if you’ve made it all the way to this point, congratulations! You’ve officially finished this AWS adventure with me. 🎉</p><p>I hope you enjoyed the journey, learned something useful and perhaps picked up an idea or two that you can apply in your own cloud projects.</p><p>Thank you for reading, and remember: <strong>a backup that has never been tested is only a promise.</strong></p><p>Until the next cloud adventure, keep learning, keep building, and keep asking questions!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=65fa5823a951" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I built a Secure Two-Tier Network on AWS Using a Bastion Host]]></title>
            <link>https://medium.com/@oyesolaibrahim14/how-i-built-a-secure-two-tier-network-on-aws-using-a-bastion-host-09bc2258577b?source=rss-3095e893c360------2</link>
            <guid isPermaLink="false">https://medium.com/p/09bc2258577b</guid>
            <category><![CDATA[aws-bastion]]></category>
            <category><![CDATA[bastion]]></category>
            <category><![CDATA[bastion-host]]></category>
            <dc:creator><![CDATA[Oyesola Ibrahim]]></dc:creator>
            <pubDate>Sat, 24 Oct 2026 13:37:48 GMT</pubDate>
            <atom:updated>2026-10-24T13:37:48.503Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>How I built a Secure Two-Tier Network on AWS Using a Bastion Host</strong></p><p><strong>Introduction</strong></p><p>For my AltSchool Africa Cloud Engineering assessment, I built a two-tier network on Amazon Web Services (AWS). The goal was to create one public server that I could connect to from my computer and one private server that could only be accessed through the public server.</p><p>In simple terms, imagine a house with a security gate. Visitors are allowed to reach the gate but they cannot enter the house directly. They must pass through the controlled entrance first. In this project, the bastion host acts like that security gate.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*H9XElKrGqJumZVu74Kz70Q.png" /></figure><p><strong>What Is a Bastion Host?</strong></p><p>A bastion host is a server that provides a controlled entry point into a private network. Instead of allowing direct SSH connections to every server, you connect to the bastion first and then use it to reach the private server.</p><p>This approach reduces the number of servers exposed to direct internet access. It does not make a system completely secure by itself so the bastion must also be protected with strict security rules.</p><p><strong>Building the Network</strong></p><p>I created a Virtual Private Cloud (VPC) named assessment3-vpc in the AWS Ireland Region (eu-west-1). A VPC is like my own isolated network inside AWS.</p><p>Inside the VPC, I created two subnets in the same Availability Zone. The public subnet, assessment3-public-subnet, contains the bastion host. The private subnet, assessment3-private-subnet, contains the private EC2 instance.</p><p>I attached an Internet Gateway named assessment3-igw to the VPC. I then configured the public route table so that traffic destined for the internet (0.0.0.0/0) could use the Internet Gateway. The private route table contains only the local VPC route. I did not create a NAT Gateway.</p><p><strong>Securing Access with Security Groups</strong></p><p>I created two security groups to control access.</p><p>The bastion security group, assessment3-bastion-sg, allows SSH traffic on TCP port 22 only from my specified public IP address using a /32 rule. This limits SSH access to one IPv4 address.</p><p>The private instance uses assessment3-private-sg. Its inbound SSH rule accepts traffic from the bastion security group, rather than allowing SSH from every IP address. This helps ensure that the private instance is accessed through the intended entry point.</p><p>Connecting to Both Servers</p><p>I launched two Ubuntu EC2 instances using the t3.micro instance type. The bastion received a public IP address, while the private instance had only its private IP address, 10.0.2.215.</p><p>First, I connected to the bastion using SSH and my private key. From my Ubuntu environment, I then used an SSH proxy command to connect to the private instance through the bastion. I kept my private key in my own environment instead of copying it onto the bastion.</p><p><strong>Challenges and How I Solved Them</strong></p><p>Initially, I received a Permission denied (publickey) error while connecting to the bastion. I checked the key-pair fingerprint and used SSH’s verbose diagnostic output to investigate the problem. The detailed output eventually confirmed that authentication succeeded, and I was able to log in to the bastion.</p><p>I then connected to the private instance through the bastion and confirmed its private IP address. This helped me understand the difference between a network connectivity problem and an SSH authentication problem.</p><p><strong>Conclusion</strong></p><p>This project helped me understand how public and private subnets work together in AWS. I also learned how route tables, security groups, SSH keys, and a bastion host can be used to control access to cloud servers.</p><p>The most important lesson was that a private server does not need a public IP address to be managed remotely. With a carefully configured network and a secure entry point, it can be accessed through a bastion host while remaining off direct internet access.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=09bc2258577b" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>