<?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 Ralph Hines IV on Medium]]></title>
        <description><![CDATA[Stories by Ralph Hines IV on Medium]]></description>
        <link>https://medium.com/@ralphhines4?source=rss-03b34d09b7a3------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*gLstBODchlNsKmJYchX1GA.jpeg</url>
            <title>Stories by Ralph Hines IV on Medium</title>
            <link>https://medium.com/@ralphhines4?source=rss-03b34d09b7a3------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 11:54:32 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ralphhines4/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[Infrastructure modernization, from on-premises to Microsoft Azure with backup solution using Azure…]]></title>
            <link>https://medium.com/@ralphhines4/infrastructure-modernization-from-on-premises-to-microsoft-azure-with-backup-solution-using-azure-af7490c5b7bf?source=rss-03b34d09b7a3------2</link>
            <guid isPermaLink="false">https://medium.com/p/af7490c5b7bf</guid>
            <category><![CDATA[powershell]]></category>
            <category><![CDATA[azure-cloud-shell]]></category>
            <category><![CDATA[azure-backup]]></category>
            <category><![CDATA[azure-files]]></category>
            <category><![CDATA[azure-recovery-service]]></category>
            <dc:creator><![CDATA[Ralph Hines IV]]></dc:creator>
            <pubDate>Mon, 10 Jun 2024 17:10:49 GMT</pubDate>
            <atom:updated>2024-06-10T17:10:49.435Z</atom:updated>
            <content:encoded><![CDATA[<h3>Infrastructure modernization, from on-premises to Microsoft Azure with backup solution using Azure Files, Azure Backup and Recovery Services Vault.</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_pvzODtLpNSM_wmNY5fD5g.png" /></figure><p>Let’s face it…. Storage is BORING. Yet crucial You are glad that you have it and you’re freaking out when you run out of space and rooms. Kind of like a house on its own it’s just a house… but the decor and its people make it home. Just like the On-premise and cloud storage, you don’t know what you need until you NEED IT!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/914/1*FdGJA7awOdunMXjvh5SOPA.png" /><figcaption>Just releasing you ran out of space to download your next video game 😃</figcaption></figure><p>So let’s make this a little bit more interesting; We’re going to turn my little project Into a story about a storage company “Scooter Storage Company”. That will physically move into the Azure Neighborhood(Not an actual place)</p><p>Let’s Begin…</p><p>Scooter Storage Company had been using outdated methods for years — paper files, tape backups, and a cramped on-premises server room. But the mobility world was evolving, and Scooter Storage needed to modernize to stay ahead of the competition.</p><p>That’s when they hired Sam, a tech-savvy Cloud Specialist, to lead their digital transformation. Sam’s mission? To migrate Scooter Storage’s operations to the cloud, ensuring their data and systems were secure, reliable, and always available for scooting adventures.</p><p>The first step was setting up a new virtual headquarters in the Microsoft Azure cloud. Sam created a Resource Group, like a well-organized storage unit, to keep all the necessary resources together. Within this group, she built a Virtual Network (VNet) with a subnet, a cozy virtual neighborhood where Scooter Storage’s two main Application VMs would reside.</p><p>But Sam knew file sharing was crucial for a scooter storage business. So, she set up Azure Files, a shared file system solution that allowed the Application VMs to access and collaborate on important scooter documents, just like a team working together to safely store mobility vehicles.</p><p>With the infrastructure in place, Sam turned her attention to backups. Gone were the days of unreliable tape backups. Instead, she implemented Azure Backup with Azure Recovery Services, providing a secure and highly available (99.9% uptime!) cloud backup solution. It was like having a team of backup specialists, always ready to safeguard Scooter Storage’s precious data.</p><p>Finally, Sam configured Azure Backup to regularly move the files from the shared file system to the Recovery Services Vault, ensuring that even if disaster struck, Scooter Storage’s data would be safe and sound in the cloud.</p><p>Thanks to Sam’s efforts, Scooter Storage Company had successfully modernized its operations. Their data was now streamlined, secure, and ready to support scooting adventures for years to come. And as for Sam? Well, she was already planning her next cloud migration escapade…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BhkfgZ2KpBkMZNXZ23WNIg.png" /><figcaption>The actual project topology</figcaption></figure><p>….Still here?</p><p>Below is the Technical stuff for the Techies;</p><p>In this project based on a real-world scenario, I acted as a Cloud Specialist to modernize and migrate an on-premises infrastructure environment to Microsoft Azure. I deployed a set of Virtual Machines, the infrastructure, and a shared file system and replaced backups from tape to cloud backups with 99.9% (3-nines) availability.</p><p>I used a Resource Group to organize resources, a VNet with a subnet where we would have the provisioning of 2 Application VMs and Azure Files as a shared file system solution between our Application VMs.</p><p>All the power and reliability of Azure Backup with Azure Recovery Services have been used to configure the backup of files in the shared file system. Once again, Azure Backup has been used to move the files to the Recovery Services Vault.</p><p>Bonus I created a Powershell script combined with Azure CloudShell to speed up the deletion process for storage because if you don’t it can get a little frustrating.</p><p>See Below to see it in action:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/993/1*L9nyLLKy53e7vY6bke6Ouw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/799/1*pXWQxK2ag5WGUWDPhAD8BQ.png" /></figure><h3><strong><em>TLDR of the project:</em></strong></h3><p><strong>Project Description</strong></p><p>- Modernize and migrate an on-premises infrastructure environment to Microsoft Azure<br>- Deploy a set of Virtual Machines (VMs) and infrastructure<br>- Implement a shared file system solution<br>- Replace tape backups with cloud backups, ensuring 99.9% (3-nines) availability</p><p><strong>Key Components</strong></p><p>- Resource Group for organizing resources<br>- Virtual Network (VNet) with a subnet<br>- Two Application Virtual Machines (VMs)<br>- Azure Files as a shared file system solution between Application VMs<br>- Azure Backup and Azure Recovery Services Vault<br> — Configure backup of files in the shared file system<br> — Move files to the Recovery Services Vault for cloud backup</p><p><strong>Benefits</strong></p><ul><li>Migrated infrastructure to the cloud (Microsoft Azure)<br>- Implemented a shared file system solution (Azure Files)<br>- Replaced traditional tape backups with cloud backups<br>- Achieved high availability (99.9%) for backups<br>- Leveraged Azure Backup and Recovery Services Vault for reliable and scalable backup solutions</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=af7490c5b7bf" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Home Office Solution during the COVID-19 Pandemic using Microsoft Azure VPN Gateway(or Any…]]></title>
            <link>https://medium.com/@ralphhines4/home-office-solution-during-the-covid-19-pandemic-using-microsoft-azure-vpn-gateway-or-any-527d6a4c4723?source=rss-03b34d09b7a3------2</link>
            <guid isPermaLink="false">https://medium.com/p/527d6a4c4723</guid>
            <category><![CDATA[security]]></category>
            <category><![CDATA[azure-vpn-gateway]]></category>
            <category><![CDATA[microsoft-azure]]></category>
            <category><![CDATA[azure-services]]></category>
            <category><![CDATA[powershell]]></category>
            <dc:creator><![CDATA[Ralph Hines IV]]></dc:creator>
            <pubDate>Mon, 10 Jun 2024 15:35:32 GMT</pubDate>
            <atom:updated>2024-06-10T15:35:32.204Z</atom:updated>
            <content:encoded><![CDATA[<h3>Home Office Solution during the COVID-19 Pandemic using Microsoft Azure VPN Gateway(or Any CloudProvider)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*a6yaIYqU15zWLyOHITmBhw.png" /></figure><p>The COVID-19 pandemic has accelerated the need for remote work for many corporations. While there is currently a strong emphasis on security and cybersecurity, this wasn’t always the main concern when it came to remote workers. Many companies and recruiters inundated me with emails stating that they were experiencing issues with the load on their firewalls or unstable VPN due to insufficient bandwidth.</p><p>As I was consulting for a company transitioning to the cloud, I recommended implementing AWS Client VPN and AWS Site-to-Site VPN for remote workers. These solutions support split-tunnel routing, allowing simultaneous access to cloud resources and on-premises networks, and they are highly available with redundant VPN tunnels. In a similar project, I will demonstrate how to set up the same process for Microsoft Azure using the Azure VPN gateway. This approach is cost-effective and robust, providing a dedicated VPN gateway for customers/users to access private or cloud data securely without relying on the public internet. Let me walk you through the process.</p><p>In this real-world project, I acted as a Cloud Specialist to create a solution for people working in the office to start working from home, normally accessing the environment in Microsoft Azure, and without exposing the entire environment to the internet.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VN8TT1HLxAqvatOY0cfRGA.png" /><figcaption>Project Topology</figcaption></figure><p>To solve this business problem and craft a solution compatible with the requirements, I defined that it was necessary to implement Point-to-Site (PS) VPNs so that employees working from home would close an encrypted tunnel between their computer and the Microsoft Azure environment.</p><p>Let’s start the process.</p><p><strong>First, create a VNet, which I will call VNetBootCamp.</strong></p><p>The next step is to create two virtual machines; I used Azure GUI to perform this step.</p><ol><li>TestVPN — one virtual machine to simulate a remote worker outside of the network with a public IP address.</li><li>VMapp01 — another virtual machine that simulates an application inside the private cloud network of our VNetBootCamp virtual network and it will not have a public IP address.</li></ol><p>Additionally, when I create these virtual machines, Azure will also auto-assign their own;</p><ul><li>network security groups</li><li>own network interfaces</li><li>disks for storage.</li></ul><p>We will have an SSH key to access the TestVPN(remote worker) to remote into Azure via VPN Gateway VMapp01.</p><p>Below are the Resources create and use for this project.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/831/1*-3576VPjpfVSe7hjmajcsg.png" /><figcaption>Azure Resources</figcaption></figure><p><strong>The next step is to create a virtual network gateway.</strong></p><p>I have the option to perform these steps on the Azure GUI but where is the fun in that? Remember, we want to “Azure Avengers Assemble”🦹🏽‍♂😅️…Insert sympathy clap 👏🏽 for a Bad Joke 😁. Anyway we will use the Azure cloud shell to perform this task</p><p>To create a virtual network gateway in Azure and allocate IPs in a separate subnet, follow these steps(Please Note this is different from on-premise environments):</p><ol><li>Create a Gateway Subnet<br>Before creating the virtual network gateway, I need to create a dedicated subnet called “GatewaySubnet” within my virtual network. This subnet will contain the IP addresses used by the virtual network gateway VMs and services.</li></ol><pre>$vnet = Get-AzVirtualNetwork -ResourceGroupName myResourceGroup -Name VNetBootcamp<br>Add-AzVirtualNetworkSubnetConfig -Name &quot;GatewaySubnet&quot; -VirtualNetwork $vnet -AddressPrefix 10.0.3.0/27<br>$vnet | Set-AzVirtualNetwork</pre><p>This example creates a GatewaySubnet with a /27 prefix (32 IP addresses). It’s recommended to use at least a /27 or larger subnet for most gateway configurations.</p><p>2. Create the Virtual Network Gateway<br>Once the GatewaySubnet is created, I can create the virtual network gateway, specifying the GatewaySubnet and other configuration options like gateway type (VPN or ExpressRoute), VPN type, SKU, etc.</p><pre>$pip = New-AzPublicIpAddress -ResourceGroupName myResourceGroup -Location &quot;West US&quot; `<br>  -Name &quot;vpnbootcampip&quot; -AllocationMethod Dynamic -Sku Standard<br>$ipconf = New-AzVirtualNetworkGatewayIpConfig -Name &quot;vnetGatewayIpConfig&quot; `<br>  -SubnetId $vnet.Subnets[0].Id -PublicIpAddressId $pip.Id<br>New-AzVirtualNetworkGateway -ResourceGroupName myResourceGroup -Location &quot;West US&quot; `<br>  -Name &quot;vpnbcgateway&quot; -IpConfigurations $ipconf -GatewayType &quot;Vpn&quot; `<br>  -VpnType &quot;RouteBased&quot; -GatewaySku &quot;VpnGw1&quot;</pre><p>This creates a VPN gateway named “vpnbcgateway” in the West US region using the VpnGw1 SKU and RouteBased VPN type. The gateway is configured to use the GatewaySubnet and a public IP address.[</p><p>By creating the GatewaySubnet separately, you ensure virtual network gateway VMs and services have dedicated IP addresses within this subnet range, isolated from other resources in your virtual network. This allows for proper routing and connectivity for your VPN gateway.</p><p><strong>The Second to Last step is to create and install the Certificates.</strong></p><p>To install public and private certificates on the Azure virtual network gateway and remote worker machine for a point-to-site (P2S) VPN connection using PowerShell, follow these steps:</p><p>Generate Root and Client Certificates<br>Generate a self-signed root certificate on your local machine:</p><pre>$cert = New-SelfSignedCertificate -Type Custom -KeySpec Signature `<br>-Subject &quot;CN=P2SRootCert&quot; -KeyExportPolicy Exportable `<br>-HashAlgorithm sha256 -KeyLength 2048 `<br>-CertStoreLocation &quot;Cert:\CurrentUser\My&quot; -KeyUsageProperty Sign -KeyUsage CertSign<br></pre><p>Export the root certificate public key as a Base64 encoded X.509 .cer file:</p><pre>$certPath = &quot;C:\cert\P2SRootCert.cer&quot;<br>$thumb = $cert.Thumbprint<br>$cert = (Get-ChildItem -Path cert:\CurrentUser\My\$thumb)<br>$certData = [System.Convert]::ToBase64String($cert.RawData)<br>$certData | Out-File $certPath</pre><p>Generate a client certificate from the root certificate:</p><pre>New-SelfSignedCertificate -Type Custom -DnsName P2SChildCert -KeySpec Signature `<br>-Subject &quot;CN=P2SChildCert&quot; -KeyExportPolicy Exportable `<br>-HashAlgorithm sha256 -KeyLength 2048 `<br>-CertStoreLocation &quot;Cert:\CurrentUser\My&quot; `<br>-Signer $cert -TextExtension @(&quot;2.5.29.37={text}1.3.6.1.5.5.7.3.2&quot;)</pre><p>Upload the root certificate public key to Azure:</p><pre>$P2SRootCertName = &quot;P2SRootCert.cer&quot;<br>$filePathForCert = &quot;C:\cert\P2SRootCert.cer&quot;<br>$cert = New-Object System.Security.Cryptography.X509Certificates.X509Certificate2($filePathForCert)<br>$CertBase64 = [System.Convert]::ToBase64String($cert.RawData)<br>Add-AzVpnClientRootCertificate -VpnClientRootCertificateName $P2SRootCertName `<br>-VirtualNetworkGatewayname &quot;vpnbcgateway&quot; -ResourceGroupName &quot;myResourceGroup&quot; -PublicCertData $CertBase64</pre><p>Install Client Certificate on Remote Machine<br>1. Export the client certificate with private key as a .pfx file.<br>2. Copy the .pfx file to the remote worker machine.<br>3. Import the .pfx file into the “Current User\Personal” certificate store on the remote machine(TestVPN).</p><p>By following these steps, I can generate a self-signed root certificate, create a client certificate from it, upload the root certificate public key to Azure, and install the client certificate on the remote worker machine. This allows the Azure VPN gateway to authenticate the remote client using certificate authentication for the P2S VPN connection.</p><p><strong>The Last Step(I promise 😃) test the VPN connection and simulate a work process on a real job.</strong></p><p>To establish a VPN connection from the TestVPN VM to the virtual network gateway and access the application privately while SSHing into VMapp01, follow these steps:</p><p>1. Configure the VPN client on TestVPN VM<br>- Open the VPN client software (e.g., Windows built-in VPN client).<br>- Enter the public IP address(vpnbootcampip) of the Azure virtual network gateway(vpnbcgateway).<br>- Select the client certificate you imported for authentication.<br>- Save the VPN connection entry.</p><p>2. Establish the P2S VPN connection<br>- Connect to the configured VPN connection from the TestVPN VM.<br>- Verify that the connection is successful by pinging the private IP of VMapp01.</p><p>3. SSH into VMapp01 over the VPN connection<br>- Once the VPN connection is established, I can SSH into VMapp01 using its private IP address from the TestVPN VM.<br>- The traffic will be routed through the encrypted VPN tunnel to access VMapp01 and the application privately.</p><p>By following this process, I can securely extend the corporate network to the TestVPN VM, allowing it to access resources like VMapp01 over the point-to-site VPN connection as if I were on the same private network. Check the image below that I’ve connected updated an installed an Apache server.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/676/1*9B9TwGptn4bH1Iok45brQA.png" /><figcaption>Note the Private IP Address inside of Azure in the web browser. Not accessible from the Web 😃</figcaption></figure><p>In conclusion, setting up a secure virtual network and a VPN connection in Azure involves several crucial steps, including creating VNets, virtual machines, network security groups, and network gateways. It’s important to pay attention to details such as subnet allocation and certificate installation to ensure the security and functionality of the VPN connection. With a well-established VPN connection, users can securely access applications and resources within the Azure cloud network, enabling efficient and secure remote work processes.</p><p>Take note the project was completed using 3 different APIs; Azure GUI, Azure Cloudshell, and PowerShell. Feel free to use the API that you are most comfortable with.</p><p>The same steps can be applied to AWS, Google Cloud, and Oracle.</p><p>Thank you for your time and stay tuned for more cloud nonsense 😜</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=527d6a4c4723" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Azure Kubernetes Service (AKS)MultiCloud ExperienceVoting App.]]></title>
            <link>https://medium.com/@ralphhines4/azure-kubernetes-service-aks-multicloud-experiencevoting-app-141834ec035d?source=rss-03b34d09b7a3------2</link>
            <guid isPermaLink="false">https://medium.com/p/141834ec035d</guid>
            <category><![CDATA[redis]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[python-flask]]></category>
            <category><![CDATA[azure-kubernetes-service]]></category>
            <category><![CDATA[kubernetes-cluster]]></category>
            <dc:creator><![CDATA[Ralph Hines IV]]></dc:creator>
            <pubDate>Wed, 15 May 2024 10:41:51 GMT</pubDate>
            <atom:updated>2024-05-15T10:41:51.196Z</atom:updated>
            <content:encoded><![CDATA[<p>Is Software Development Scary?</p><p>Short Scary Story Time!!</p><p>The coding coven had gathered around their terminals, chanting in unison as the eldritch runes materialized on their screens. Line after ominous line of code spilled forth, an incantation to summon an ancient evil from the depths of the darkest repositories. With each compile, the air grew thicker, heavier, as if tainted by some unspeakable force. Beads of sweat formed on their brows as they continued weaving the unholy tapestry, heedless of the creeping dread encroaching all around them. Somewhere, a machine whirred to malevolent life, its sickly LEDs blinking in sadistic glee. Too late, they realized the grave mistake they had made. The demon software, a stitched-together Frankenstein’s monster of illicit code and forbidden libraries, had been loosed upon the world. As the first screams rang out in the hallway outside, they shared one final, horrified look before the door burst open and…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/930/1*H3UwstUvWSHnTuUF_9uWZw.png" /></figure><p>Software development can be SCARY! That’s why I shied away from it early in my IT career. Learning to code, the myriad programming languages, and coding the frontend application while managing the backend databases seemed daunting. I hid in the networking field buried in switches, routers, firewalls, etc. Nevertheless, I had to face my fears with the cloud technologies and DevOps framework blurring lines. Thankfully, ENCAPSULATION is one of the first concepts I learned in networking and can be applied to software development. Encapsulation is the bundling of data with the methods that operate on that data and restricting direct access to some of the object’s components from external code. This concept applies perfectly to Containers, which is the perfect segway to my next project.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aX_GAHKy36Gozt6Cre5Tng.png" /></figure><p>In this project scenario, I welcomed a new team member who does not know DevOps, Kubernetes, or Containers. My mission was to show this new team member how to deploy an application on a Kubernetes cluster. This cluster is part of a project by The Cloud Bootcamp, and I’m preparing this new team member to deploy this application that was prepared for the MultiCloud Experience. In this online event, participants will have the opportunity to learn about Cloud technologies.</p><p>We will use Azure Kubernetes Services (AKS) to create a managed cluster of Kubernetes, Docker, Redis, and other services to support the deployment. Remember that keyword “encapsulation?” Well, Docker containers provide a form of encapsulation by bundling, or coupling, an application and its dependencies into a single package, isolating them from the host system. Furthermore, we used Docker-Compose to define and run multi-container applications by using a single declarative configuration file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/393/1*Ro3qcZYd_hmB_M8HXmVkog.png" /></figure><p>To couple Azure Kubernetes Service (AKS), Docker, Redis, and other services into a project, you can follow these steps:</p><p><strong>Provisioning Resources</strong><br><em>1. Create an Azure Container Registry (ACR) to store your Docker images.<br>2. Create an Azure Kubernetes Service (AKS) cluster to deploy and manage your containerized applications.<br>3. Create an Azure Redis Cache instance to use as a distributed in-memory data store.</em></p><p><strong>Developing and Deploying</strong><br><em>1. Build your application Docker image and push it to the ACR.<br>2. Create Kubernetes manifests (deployment, service, etc.) to define your application’s desired state.<br>3. Configure Redis as a service dependency in your application by injecting the Redis connection string as an environment variable or Kubernetes secret.<br>4. Deploy your application to the AKS cluster using the Kubernetes manifests, which will pull the Docker image from ACR and create the necessary resources.<br>5. Expose your application using a Kubernetes Service (LoadBalancer or Ingress) to make it accessible from outside the cluster.</em><br><br>By following this approach, we can leverage the managed Kubernetes service (AKS) to orchestrate your containerized applications while utilizing Azure Container Registry for Docker image storage, Azure Redis Cache for caching and data storage, and other Azure services as needed, creating a robust and scalable solution on the Azure cloud platform.</p><p>In our case, we created a Voting App for Favorite serverless computing service utilizing containers or pods, a webpage application built with Python coupled/encapsulated with Redis database managed by Kubernetes Cluster.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0pwQ4ZJYL_1Kc0jiWUuAuQ.png" /></figure><p>In conclusion, the new team member gained real-world experience with containers and Kubernetes. Hopefully, this article and story will help us all understand and conquer our fears in the “shadows of software development.” See, it&#39;s not so scary….. or is it? 👻</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=141834ec035d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Implementation of a set of EC2 instances using Terraform and AWS Systems Manager configuration with…]]></title>
            <link>https://awstip.com/implementation-of-a-set-of-ec2-instances-using-terraform-and-aws-systems-manager-configuration-with-ccb0d48738ed?source=rss-03b34d09b7a3------2</link>
            <guid isPermaLink="false">https://medium.com/p/ccb0d48738ed</guid>
            <category><![CDATA[aws-sns]]></category>
            <category><![CDATA[aws-system-manager]]></category>
            <category><![CDATA[automation]]></category>
            <category><![CDATA[terraform]]></category>
            <category><![CDATA[devsecops]]></category>
            <dc:creator><![CDATA[Ralph Hines IV]]></dc:creator>
            <pubDate>Thu, 02 May 2024 14:10:21 GMT</pubDate>
            <atom:updated>2024-05-14T16:41:21.137Z</atom:updated>
            <content:encoded><![CDATA[<h3>Implementation of a set of EC2 instances using Terraform and AWS Systems Manager configuration with Amazon Simple Notification Service for automated installation of security officers</h3><p>Reflecting on my past experience as a Network and Security Engineer, I remember the resistance to automation from the Security and Operations teams. One of the main concerns was the potential security risks that could arise during the implementation of automation. The idea with automation is to remove humans from repetitive tasks; however, there is still a “user” completing the tasks on our behalf. This user, in the form of a robot or automation server, could potentially be exploited by malicious actors, leading to serious security breaches. This raised questions such as: How many permissions does our robot/automation server need to complete the tasks? What are the triggers or events that initiated the tasks? How can we confirm if the task failed or succeeded? Let’s have a little fun, shall we?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*0ZGKEsLKibKReWxfOncmTQ.png" /></figure><p>Imagine a frantic movie scene where dozens of servers must be built quickly and securely. That was me, but instead of a Hollywood cliche action hero, I used my DevSecOps superpower to deploy an entire cloud infrastructure with just a few lines of code!</p><p>Our mission was clear: to swiftly and securely set up a fleet of virtual servers (EC2 instances) and all the necessary systems on the cloud. To accomplish this, I leveraged Terraform, a powerful tool that functions like a blueprint, automatically constructing the infrastructure. It’s akin to a magical recipe that flawlessly builds the server network every single time, demonstrating the efficiency and reliability of DevSecOps tools.</p><p>However, a robust infrastructure alone is not enough. We needed a vigilant security system for each server. This is where the AWS Systems Manager stepped in. It functions as a remote control for all the servers, enabling me to install the security agent on each one — automatically, of course! This eliminated the need to physically access hundreds of virtual servers, ensuring their protection with a single click, underscoring the importance of robust security measures in cloud infrastructure deployment.<br>To keep everyone informed, I used Amazon SNS, a high-tech messenger that sent out email updates. No more waiting in the dark — everyone knew exactly where we were in the process, from building the base to deploying the guard dogs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*2JFCgAfStu8C3A4aOboQMw.png" /></figure><p>This project was all about efficiency and security. By automating everything, I saved tons of time and ensured every server had the best protection available. So, the next time you see a smooth-running cloud operation, remember, it might just be a DevSecOps engineer working their magic behind the scenes!</p><p>Again, thank you for your time, and I will see you in the Sequel!</p><p>MOVIE CREDITS!!!….</p><p>…If you prefer a more technical Deep Dive into the magic with AWS tools:</p><p><strong>Automating Cloud Security and Efficiency: A DevSecOps Approach</strong><br>This project demonstrates a real-world scenario where I, as a DevSecOps engineer, implemented an automated solution for deploying and securing a set of EC2 instances on the AWS cloud. The approach focused on two key aspects: infrastructure as code (IaC) and automation for enhanced security and operational efficiency.</p><p><strong>Infrastructure Provisioning with Terraform</strong></p><p>Terraform, a powerful IaC tool, was central to this project. I leveraged Terraform scripts to define and provision the infrastructure components, including EC2 instances, VPCs, subnets, and security groups. This IaC approach offers several advantages:</p><p>&gt;&gt;Repeatability and Consistency: Terraform scripts ensure consistent infrastructure deployments across environments, minimizing the risk of human error and configuration drift.<br>&gt;&gt;Version Control: By storing Terraform scripts in a version control system, we can track changes, roll back deployments if necessary, and maintain a clear audit trail.<br>&gt;&gt;Scalability: Terraform facilitates scaling infrastructure up or down quickly, adapting to changing needs.</p><p><strong>Automating Security Agent Installation with AWS Systems Manager</strong><br>Security is paramount in any cloud environment. To ensure all deployed EC2 instances have the necessary security agent installed, I utilized AWS Systems Manager’s Command Run feature. This functionality allowed me to execute scripts remotely on the instances for automated agent installation and configuration.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JscfVyZW3JKj0K4sTaHE1Q.png" /></figure><p>This approach offers significant benefits:<br>&gt;&gt;Reduced Manual Work: Automating agent installation eliminates the need for manual intervention on each instance, saving time and effort.<br>&gt;&gt;Consistency and Reliability: Scripted deployments ensure consistent configuration across all instances, minimizing the risk of security gaps due to manual errors.<br>&gt;&gt;Improved Security Posture: By automating agent deployment, we can guarantee that all instances have the latest security measures.</p><p><strong>Communication and Monitoring with Amazon SNS</strong><br>I integrated Amazon Simple Notification Service (SNS) into the workflow to enhance transparency and enable rapid response to potential deployment issues. SNS sends email notifications to stakeholders at various stages of the deployment process, keeping everyone informed about the project’s status and any critical issues.<br>This notification system is crucial for:<br>&gt;&gt;Proactive Monitoring: Stakeholders receive alerts if deployments encounter problems, allowing quick intervention.<br>&gt;&gt;Improved Transparency: The notification system informs everyone about progress and potential roadblocks.</p><p><strong>Conclusion</strong><br>By combining Terraform for IaC, AWS Systems Manager for automated configuration, and SNS for communication, this project demonstrates a successful DevSecOps approach to cloud infrastructure deployment and management. This approach streamlines the process, improves security posture, and ensures consistent and reliable deployments, paving the way for efficient and secure cloud operations.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ccb0d48738ed" width="1" height="1" alt=""><hr><p><a href="https://awstip.com/implementation-of-a-set-of-ec2-instances-using-terraform-and-aws-systems-manager-configuration-with-ccb0d48738ed">Implementation of a set of EC2 instances using Terraform and AWS Systems Manager configuration with…</a> was originally published in <a href="https://awstip.com/">AWS Tip</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Implementation of a Scalable Web Application using AWS services: Elastic Beanstalk, DynamoDB, Cloud…]]></title>
            <link>https://medium.com/@ralphhines4/implementation-of-a-scalable-web-application-using-aws-services-elastic-beanstalk-dynamodb-cloud-80034105af09?source=rss-03b34d09b7a3------2</link>
            <guid isPermaLink="false">https://medium.com/p/80034105af09</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[elastic-beanstalk]]></category>
            <category><![CDATA[dynamodb]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <dc:creator><![CDATA[Ralph Hines IV]]></dc:creator>
            <pubDate>Wed, 01 May 2024 19:15:36 GMT</pubDate>
            <atom:updated>2024-05-01T19:15:36.357Z</atom:updated>
            <content:encoded><![CDATA[<h3>Implementation of a Scalable Web Application using AWS services: Elastic Beanstalk, DynamoDB, Cloud Front, and Edge Location</h3><p>“Resources are lean at this time, despite the availability and ease of access.” Is this by design from the “money-hungry CEOs”?….This is not that kind of article. Ironically, the quote is the perfect motto for a Cloud Engineer to be cost-effective.</p><p>In this project, based on a real-world scenario, I was responsible for implementing an application that needed to support the high demand of a large number of users accessing it simultaneously. This application was used in a large conference that had more than 10,000 people, in-person and online, with participants from all over the world.<br>This event was broadcast online and in person, and 10 vouchers for 3 Cloud certifications were drawn. At that moment, more than 10,000 people in the audience registered their e-mails to guarantee their participation in the raffle.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vyyUmMJxKPSGow2Ns1FIsw.png" /></figure><p>I used AWS Elastic Beanstalk services to deploy the web application, DynamoDB to store emails, and CloudFront to cache static and dynamic files in an Edge Location close to the user.</p><p>Nowadays, you don’t have to be a web developer to build a decent-looking yet functional website. Users enter their email to register for the raffle on the website. I can construct the website with templates and static images on the Front End with a package like Flask. Then, it will be coupled with another package like “wtforms” to collect emails from users using a familiar data type, input validation(for those pesky SQL injectors, lol), and format it nicely to send to the backend.</p><p>On the backend, the emails are placed into a serverless database(DynamoDB) via API calls using another package boto3, built specifically to be consumed with AWS services. I can’t forget the highly underrated package “os” to interact with the remote server&#39;s operating system.</p><p>This website won’t win any UI/UX awards, but it gets the job done to help users register and potentially win a certification voucher. The best part is that it&#39;s temporary. Once the event is done, we deconstruct the website and release the AWS infrastructure back into the cloud.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Fh-2rrUNSN2eMAFC2HaBsQ.png" /></figure><p>With 10,000 users attending from across the world, how do I address latency, load, and Single point of failure? Good question… CloudFront can assist by caching the website files at Edge Locations across the globe. Furthermore, we can package our app in a zip file and assign it to an auto-scaling group with the Elastic LoadBalancer service. Finally, we automate everything with the Elastic BeanStalk (EBS)service to monitor EC2 instances, Load balancers, URL creation, Auto-Scaling, and Security. Wow!</p><p>And since we don’t want to end up like many AAA video game companies during launch, let&#39;s forget testing. specifically stress testing; luckily, we don’t need fancy Amazon or Python to accomplish this task. Install a simple Bash command called stress to simulate a load against a server does the trick. EBS will monitor the server&#39;s health, and once the load hits our custom threshold, 60%, for example, it automatically creates a new instance, and once it dips below the threshold, EBS will destroy it.</p><p>In Conclusion, as a cloud engineer, I can set up a secure website to collect data and scale to an application&#39;s needs with zip files and AWS services. I suggest you hire a professional website designer, and when you do, send them my way. Thank you for your time, and Stay Tuned for the next episode!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=80034105af09" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Migration of a Workload running in a Corporate Data Center to AWS using the Amazon EC2 and RDS…]]></title>
            <link>https://medium.com/@ralphhines4/migration-of-a-workload-running-in-a-corporate-data-center-to-aws-using-the-amazon-ec2-and-rds-0f7678d99175?source=rss-03b34d09b7a3------2</link>
            <guid isPermaLink="false">https://medium.com/p/0f7678d99175</guid>
            <dc:creator><![CDATA[Ralph Hines IV]]></dc:creator>
            <pubDate>Fri, 26 Apr 2024 14:27:56 GMT</pubDate>
            <atom:updated>2024-04-26T14:27:56.256Z</atom:updated>
            <content:encoded><![CDATA[<h3><em>Migration of a Workload running in a Corporate Data Center to AWS using the Amazon EC2 and RDS service</em></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MYrkt1lvCnZ1olMs3npi1w.png" /></figure><p>In another project based on a real-world scenario, I was the Cloud Specialist responsible for migrating a workload running in a Corporate Data Center to AWS.<br> The application and database were migrated to AWS using the Lift &amp; Shift (rehost) model, moving both application and database data.</p><p>I followed some migration steps:</p><p><strong>Planning (sizing, prerequisites, resource naming)</strong></p><p><strong>Execution (resource provisioning, best practices)</strong></p><p><strong>Go-live (validation test — Dry-run, final migration — Cutover)</strong></p><p><strong>Post Go-live (ensuring the operation of the application and user access).</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0Y_jNDDOvBs6UwkMYSFa2g.png" /></figure><p>I leverage advanced automation techniques to effortlessly set up Amazon EC2 and RDS instances in a groundbreaking move toward seamless cloud deployment. By harnessing the power of shell commands like ‘sed’ and scripting languages like Python, the process has been streamlined to an efficiency never seen before in the industry.</p><h3>Automated Configuration with ‘sed’ and Shell Commands</h3><p>Traditionally, configuring server environments involved tedious manual tasks. Most modern developers would say to adopt the latest programming language. However, with the integration of ‘sed’ commands in shell scripts, administrators can precisely automate server configuration changes. From tweaking networking settings to fine-tuning security configurations, ‘sed’ empowers administrators to script complex changes effortlessly.</p><h3>Scripted Server Updates and Package Installation</h3><p>Gone are the days of manual package installations and server updates. With a simple bash script, administrators can update servers and install essential packages like Python and MySQL clients in one go. This saves time and ensures consistency across multiple instances, reducing the risk of human error.</p><h3>Seamless Migration with S3 Bucket Integration</h3><p>Migrating on-premise applications and databases to the cloud has never been smoother. By leveraging Amazon S3 buckets, administrators can seamlessly transfer application files and database dumps to AWS. This eliminates the need for complex data transfer protocols and simplifies the migration process significantly.</p><h3>Enhanced Security and Access Control</h3><p>Security is paramount in cloud deployments, and automation is crucial in ensuring a robust security posture. Administrators can create security rules and fine-tune access privileges using automated scripts, thereby fortifying the EC2 server’s communication with the RDS database. This proactive approach to security minimizes vulnerabilities and enhances overall data protection.</p><h3>Effortless Database Website Initialization with Python</h3><p>To top it all off, initiating a database-driven website on AWS is now a breeze, thanks to Python scripting. Administrators can perform database operations seamlessly by connecting to the RDS database using a Python script, paving the way for dynamic and responsive web applications.</p><h3>Conclusion: A New Era of Efficiency and Reliability</h3><p>Integrating automation tools and scripting languages in cloud deployments marks a new era of efficiency and reliability. With streamlined processes for EC2 and RDS instance creation, automated server configuration, seamless application migration, enhanced security protocols, and effortless website initialization, IT professionals can focus more on innovation and less on mundane tasks. As cloud technology evolves, automation will undoubtedly remain at the forefront, driving unprecedented efficiency and agility in IT operations.</p><p>Thought? Have a good day</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0f7678d99175" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Automated user migration and management of AWS Identity and Access Management (IAM) resources]]></title>
            <link>https://aws.plainenglish.io/automated-user-migration-and-management-of-aws-identity-and-access-management-iam-resources-f73e4ac38952?source=rss-03b34d09b7a3------2</link>
            <guid isPermaLink="false">https://medium.com/p/f73e4ac38952</guid>
            <category><![CDATA[azure]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[google-cloud-platform]]></category>
            <category><![CDATA[oracle-cloud]]></category>
            <dc:creator><![CDATA[Ralph Hines IV]]></dc:creator>
            <pubDate>Tue, 27 Feb 2024 02:06:18 GMT</pubDate>
            <atom:updated>2024-05-14T16:15:58.291Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jdK6qaygPGSPH-ajQu82ow.png" /></figure><p>In this project based on a real-world scenario, I acted as Cloud Specialist with the mission to migrate users in an automated way and manage AWS IAM (Identity and Access Management) resources.</p><p>100 users needed to be migrated and have MFA (Multi-factor authentication) enabled on their accounts, as this is a security best practice.</p><p>I needed to think about automating the processes to avoid repetitive and manual tasks in the AWS console.</p><p>Using GitBash with AWS CLI and Shell Script, …I automated the creation of 100 users assigned to the groups using a simple bash script. I could see how beneficial this could be in the projects that I will be working on as a Cloud Infrastructure Engineer. It’s amazing with all the designer programming languages like Python, Rust, etc.; a project can still be automated using a bash script and file conversion tools.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AE_ZAX_PBZlbp9eByk9L8g.png" /></figure><h3>In Plain English 🚀</h3><p><em>Thank you for being a part of the </em><a href="https://plainenglish.io/"><strong><em>In Plain English</em></strong></a><em> community! Before you go:</em></p><ul><li>Be sure to <strong>clap</strong> and <strong>follow</strong> the writer ️👏<strong>️️</strong></li><li>Follow us: <a href="https://twitter.com/inPlainEngHQ"><strong>X</strong></a><strong> | </strong><a href="https://www.linkedin.com/company/inplainenglish/"><strong>LinkedIn</strong></a><strong> | </strong><a href="https://www.youtube.com/channel/UCtipWUghju290NWcn8jhyAw"><strong>YouTube</strong></a><strong> | </strong><a href="https://discord.gg/in-plain-english-709094664682340443"><strong>Discord</strong></a><strong> | </strong><a href="https://newsletter.plainenglish.io/"><strong>Newsletter</strong></a></li><li>Visit our other platforms: <a href="https://stackademic.com/"><strong>Stackademic</strong></a><strong> | </strong><a href="https://cofeed.app/"><strong>CoFeed</strong></a><strong> | </strong><a href="https://venturemagazine.net/"><strong>Venture</strong></a><strong> | </strong><a href="https://blog.cubed.run/"><strong>Cubed</strong></a></li><li>Tired of blogging platforms that force you to deal with algorithmic content? Try <a href="https://differ.blog/"><strong>Differ</strong></a></li><li>More content at <a href="https://plainenglish.io/"><strong>PlainEnglish.io</strong></a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f73e4ac38952" width="1" height="1" alt=""><hr><p><a href="https://aws.plainenglish.io/automated-user-migration-and-management-of-aws-identity-and-access-management-iam-resources-f73e4ac38952">Automated user migration and management of AWS Identity and Access Management (IAM) resources</a> was originally published in <a href="https://aws.plainenglish.io/">AWS in Plain English</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>