<?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 Allison on Medium]]></title>
        <description><![CDATA[Stories by Ralph Allison on Medium]]></description>
        <link>https://medium.com/@ralph-allison?source=rss-0620e82f6d6b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*oeTWEaD0o_0K17CXmtSVag.jpeg</url>
            <title>Stories by Ralph Allison on Medium</title>
            <link>https://medium.com/@ralph-allison?source=rss-0620e82f6d6b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 17:51:12 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ralph-allison/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[HumanGov: Implementation Of Git Repositories For Application And Infrastructure Code Using AWS Code…]]></title>
            <link>https://ralph-allison.medium.com/humangov-implementation-of-git-repositories-for-application-and-infrastructure-code-using-aws-code-519d65fd3e41?source=rss-0620e82f6d6b------2</link>
            <guid isPermaLink="false">https://medium.com/p/519d65fd3e41</guid>
            <category><![CDATA[cloud-services]]></category>
            <category><![CDATA[aws-codecommit]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[github]]></category>
            <dc:creator><![CDATA[Ralph Allison]]></dc:creator>
            <pubDate>Mon, 29 Jan 2024 19:59:27 GMT</pubDate>
            <atom:updated>2024-01-29T19:59:27.058Z</atom:updated>
            <content:encoded><![CDATA[<h3><em>HumanGov: Implementation Of Git Repositories For Application And Infrastructure Code Using AWS Code Commit + Proof Of Concept (POC) Process Of Commit, Push And Revert Code Changes</em></h3><p>In this project based on a real-world scenario, I implemented Git repositories for application and infrastructure code using AWS CodeCommit, with hands-on experience on the Proof of Concept (PoC) process of commit, push, and revert code changes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*U1fObhflzzOpwhYUBCd9Dg.png" /><figcaption>Solution Architecture</figcaption></figure><p>The mission was to set up a Git repository using AWS CodeCommit for HumanGov, a hypothetical Software as a Service for government organization, and this was successfully achieved in addition to the Proof of Concept (PoC) process of commit, push and revert code changes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4_q0fVHf2x69W2RzJJaF8w.jpeg" /><figcaption>DevOps Services and Technologies</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*x9FD29DNkJTBxDuWminTXw.png" /><figcaption>Remote Repository Services</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=519d65fd3e41" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[100% Managed Wiki deployment using Microsoft Azure App Service (Docker-based) and Azure Database…]]></title>
            <link>https://ralph-allison.medium.com/100-managed-wiki-deployment-using-microsoft-azure-app-service-docker-based-and-azure-database-c0b00551dfed?source=rss-0620e82f6d6b------2</link>
            <guid isPermaLink="false">https://medium.com/p/c0b00551dfed</guid>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[azure-services]]></category>
            <category><![CDATA[azure-app-service]]></category>
            <category><![CDATA[azure-database-postgresql]]></category>
            <dc:creator><![CDATA[Ralph Allison]]></dc:creator>
            <pubDate>Wed, 13 Dec 2023 23:39:14 GMT</pubDate>
            <atom:updated>2023-12-13T23:39:14.562Z</atom:updated>
            <content:encoded><![CDATA[<h3><em>100% Managed Wiki deployment using Microsoft Azure App Service (Docker-based) and Azure Database for PostgreSQL Servers</em></h3><p>In this project, based on a real-world scenario, I worked as a Cloud Consultant to deploy a Wiki to the cloud, 100% web-based, with access for all members of the team. This enabled collaborative document creation, where all team members could see the latest version of the document and propose improvements, allowing the team to better organize and manage documents.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*H5M8lrUIfCckpl0fRT9GOQ.png" /><figcaption>Solution Architecture</figcaption></figure><p>For this solution deployment, Azure Database for PostgreSQL Servers and Azure App Service were used.</p><p>Importantly, procedural and operational documents, such as Runbooks and Knowledge Bases (KBs), which must always be available and are constantly updated, were no longer stored locally (standalone), thereby avoiding data inconsistencies.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*TWhuxa6jQ4yKYSX_Q9IHgw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*ytgdLbPIHDjwwx_Eg2KFTw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JB7z20fh81osOW18B63zBA.png" /><figcaption>Cloud Technologies &amp; Services</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c0b00551dfed" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Serverless website deployment fully automated in multiple environments (Test, QA and Production)…]]></title>
            <link>https://ralph-allison.medium.com/serverless-website-deployment-fully-automated-in-multiple-environments-test-qa-and-production-266992e07b1d?source=rss-0620e82f6d6b------2</link>
            <guid isPermaLink="false">https://medium.com/p/266992e07b1d</guid>
            <category><![CDATA[azure-devops]]></category>
            <category><![CDATA[ci-cd-pipeline]]></category>
            <category><![CDATA[azure-serverless]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[microsoft-azure]]></category>
            <dc:creator><![CDATA[Ralph Allison]]></dc:creator>
            <pubDate>Sun, 10 Dec 2023 20:50:18 GMT</pubDate>
            <atom:updated>2023-12-10T20:50:18.692Z</atom:updated>
            <content:encoded><![CDATA[<h3><em>Serverless website deployment fully automated in multiple environments (Test, QA and Production) using Azure DevOps Repos and Pipelines (CI/CD)</em></h3><p>In this Cloud project based on a real-world scenario, I worked as a Cloud Engineer using DevOps, where I deployed a serverless website, fully automated using Azure DevOps Repos and Azure DevOps Pipelines resources.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_Q4g4P8i1-kTeVFyotSJ_A.png" /><figcaption>Solution Architecture</figcaption></figure><p>Azure DevOps Organization and a new Project were created. The Azure DevOps Repos stored the website files, and the Continuous Integration (CI)/Continuous Deployment (CD) Pipelines were employed to automate the entire website deployment process in 3 different environments (Test, QA, and Production). These were successfully implemented, tested and fully deployed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*uFR3R6hpeLI5Ghp8wZmc8w.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*SIuozjPWvNuQjqSHh9jSOw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SrDsoUZu53s69MTs8_2JkQ.png" /><figcaption>Cloud Technologies and Services</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=266992e07b1d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Infrastructure modernization, from on-premises environment to Microsoft Azure with backup solution…]]></title>
            <link>https://ralph-allison.medium.com/infrastructure-modernization-from-on-premises-environment-to-microsoft-azure-with-backup-solution-954d7fb6454f?source=rss-0620e82f6d6b------2</link>
            <guid isPermaLink="false">https://medium.com/p/954d7fb6454f</guid>
            <category><![CDATA[microsoft-azure]]></category>
            <category><![CDATA[backup-and-restore]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[azure-services]]></category>
            <dc:creator><![CDATA[Ralph Allison]]></dc:creator>
            <pubDate>Tue, 05 Dec 2023 23:01:23 GMT</pubDate>
            <atom:updated>2023-12-05T23:01:23.422Z</atom:updated>
            <content:encoded><![CDATA[<h3><em>Infrastructure modernization, from on-premises environment to Microsoft Azure with backup solution using Azure Files, Azure Backup and Recovery Services Vault.</em></h3><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, a shared file system and replaced backups from tape to cloud backups with 99.9% (3-nines) availability.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tE_K-Ou_UJFxou0YqnwH8A.png" /><figcaption>Solution Architecture</figcaption></figure><p>In implementing this project, a Resource Group was used to organize the 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 the Application VMs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Fbi48PFbxmJEzbQgcpX4Yg.png" /><figcaption>Cloud Technologies and Services</figcaption></figure><p>It was interesting to see the power and reliability of Azure Backup with Azure Recovery Services being used to configure the backup of files in the shared file system. Once again, Azure Backup has been used to successfully move the files to the Recovery Services Vault and verified accordingly.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=954d7fb6454f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Home Office Solution for COVID-19 Pandemic using Microsoft Azure VPN Gateway]]></title>
            <link>https://ralph-allison.medium.com/home-office-solution-for-covid-19-pandemic-using-microsoft-azure-vpn-gateway-c912f2e966d5?source=rss-0620e82f6d6b------2</link>
            <guid isPermaLink="false">https://medium.com/p/c912f2e966d5</guid>
            <category><![CDATA[azure]]></category>
            <category><![CDATA[virtual-machine]]></category>
            <category><![CDATA[virtual-network-gateway]]></category>
            <category><![CDATA[virtual-networks]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <dc:creator><![CDATA[Ralph Allison]]></dc:creator>
            <pubDate>Sat, 02 Dec 2023 19:43:41 GMT</pubDate>
            <atom:updated>2023-12-02T19:43:41.368Z</atom:updated>
            <content:encoded><![CDATA[<p>In this real world-based project, and acting as Cloud Specialist to create a solution for regular office staff to start working from home, normally accessing the environment in Microsoft Azure, and without exposing the entire environment to the internet.</p><p>To solve this business problem and come up with a solution compatible with the requirements, it was necessary to define and implement Point-to-Site (P2S) VPNs, so that employees working from home would be able to close an encrypted tunnel between their computer and the Microsoft Azure environment, accessing their virtual network via a VPN Gateway, isolated from the internet.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*m9ewK7nvuE_rGTzuGqvV-A.png" /><figcaption>Solution Architecture</figcaption></figure><p>High-level summary for the Project Implementation:</p><ul><li>Create a Virtual Network (VNetBootcamp)</li><li>Create a Virtual Machine (app01)</li><li>Create a Virtual Network Gateway (vpnbootcamp)</li><li>Generate and Install Certificates (Root Cert, Client Cert)</li><li>Point-to-Site (P2S) configuration of Virtual Network Gateway</li><li>Download and Install VPN Client on remote home-office computer/client</li><li>Connect remote client to Virtual Private Network using Virtual Network Gateway’s private IP</li><li>Install Apache web server on VPN and verify Apache Service is started via browser</li><li>Enable/Disable remote client access via Azure Admin.</li></ul><p>NOTE:</p><p>It was very important to follow the Microsoft Azure documentation in order to generate and install the Certificates.</p><p>To configure mutual authentication with an Application Gateway, we need a client certificate to upload to the gateway. The client certificate will be used to validate the certificate the client will present to Application Gateway. To generate a client certificate we need to first generate a Root Certificate.</p><p>Download the certificates from Azure documentation</p><p>Install the exported client certificate on remote user computer. Each client that connects over a P2S connection requires a client certificate to be installed locally.</p><p>Once VPN Client is downloaded and installed, we then connect the remote client to Virtual Private Network using Virtual Network Gateway’s private IP</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/536/1*02YU3RK5b2I9WngcDiuwxw.png" /></figure><p>Once connected, test and see if you can ping the virtual machine using the private IP address — open Gitbash and ping the private IP address of the VM, i.e. app01.</p><p>Then, connect to the virtual machine.</p><p>Open a new ssh connection.</p><p>cd into the folder wherever your shh key is located on your local machine.</p><p>ssh azureuser@&lt;privateip&gt; -i &lt;privatekey&gt;</p><p>Now you are inside of the virtual machine using the private ip address, not over the public network (internet).</p><p>azureuser@app01:~$ install Apache server, Restart Apache server</p><p>sudo apt-get update<br>sudo apt-get install apache2<br>sudo systemctl restart apache2.service</p><p>Ensure Apache service is up and running. Test this by copying the private IP address and paste in a browser.</p><p>Now, we have successfully enabled remote connection setup for Work-from-home (remote) users!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*zv7aNYADy1ynPqD2MIJYNg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wDb-ikHdN32zTtsRFI48eg.png" /><figcaption>Cloud Technologies and Services</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c912f2e966d5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Application Deployment in a Kubernetes Cluster using Azure Kubernetes Service (AKS)]]></title>
            <link>https://ralph-allison.medium.com/application-deployment-in-a-kubernetes-cluster-using-azure-kubernetes-service-aks-5985209b573f?source=rss-0620e82f6d6b------2</link>
            <guid isPermaLink="false">https://medium.com/p/5985209b573f</guid>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[azure]]></category>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[microsoft-azure]]></category>
            <category><![CDATA[devops]]></category>
            <dc:creator><![CDATA[Ralph Allison]]></dc:creator>
            <pubDate>Sat, 02 Dec 2023 18:16:33 GMT</pubDate>
            <atom:updated>2023-12-02T18:16:33.008Z</atom:updated>
            <content:encoded><![CDATA[<p>In this project, based on a real-world scenario and acting in the capacity of DevOps Engineer, I had to show a new team member how to deploy a voting application in a Kubernetes Cluster.</p><p>This Cluster is part of The Cloud Bootcamp project, and I prepared this new team member to deploy the voting application that was developed for the MultiCloud Experience, an online event where participants had the opportunity to learn about Cloud technologies, and then share their experience afterwards through voting.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CPDXtIhx7Pfti7VJkf05Ug.png" /><figcaption>Solution Architecture</figcaption></figure><p>I deployed it to Microsoft Azure Cloud, where I first pushed the application’s Docker image to Azure Container Registry (ACR) and then used the Azure Kubernetes Service (AKS) to deploy a cluster managed by Microsoft Azure.</p><p>High-level summary:</p><ul><li>First, the application was converted to run on top of a Docker image.</li><li>Then, the Docker image was pushed to the Azure Container Registry (ACR) service so as to store the image.</li><li>Once there, the Kubernetes cluster was deployed using the Azure Kubernetes Service (AKS).</li><li>Then, inside the Kubernetes cluster, you deploy the application — which is a python web application and composed of 2 parts — the Python Flask and Redis.</li></ul><p>The Kubernetes service pulls the Docker image from the Azure Container Registry. The application was successfully deployed on the Kubernetes Cluster.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*sSPsLmAwwbfIBRJ1em4Rxg.png" /><figcaption>Application successfully accessed via the Load Balancer’s external IP address</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*81N1JJSIFJ7FquIrGieMPA.png" /><figcaption>Cloud Technologies and Services</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5985209b573f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Implementation of an E-Commerce System on AWS in an automated way using Terraform and Ansible]]></title>
            <link>https://ralph-allison.medium.com/implementation-of-an-e-commerce-system-on-aws-in-an-automated-way-using-terraform-and-ansible-4dd541816c85?source=rss-0620e82f6d6b------2</link>
            <guid isPermaLink="false">https://medium.com/p/4dd541816c85</guid>
            <category><![CDATA[terraform]]></category>
            <category><![CDATA[magento]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[ansible]]></category>
            <dc:creator><![CDATA[Ralph Allison]]></dc:creator>
            <pubDate>Sat, 25 Nov 2023 19:35:07 GMT</pubDate>
            <atom:updated>2023-11-25T19:35:07.283Z</atom:updated>
            <content:encoded><![CDATA[<p>In another project based on a real-world scenario, I worked as Cloud Engineer using DevOps, where I created and implemented an e-Commerce MVP (Minimum Viable Product) on AWS in less than 2 hours and in an automated way using Terraform and Ansible (Infrastructure as Code — IaC).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*maPof0YhnzOd4K1M8kIS2Q.png" /><figcaption>Solution Architecture</figcaption></figure><p>The infrastructure was automatically provisioned using Terraform and Ansible to automate the configuration management process, software installation and package management of the EC2 instance. I also used Magento, PHP, MySQL, and Redis to complete this project.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*c42Po6Sq_9iP_uAJ_-l6Xw.png" /><figcaption>Cloud Services and Technologies</figcaption></figure><p>Solution overview and high level steps:</p><ol><li>Logged into Magento with an Adobe account — then created and saved a Public and Private Key from within Magento.</li><li>Installed Terraform via AWS CLI (using AWS Cloud Shell) — the ‘main.tf’ script file was created with the necessary config parameters such as the variables and resource blocks for terraform in order to provision the EC2 server infrastructure on AWS.</li><li>The necessary Terraform commands (‘init’, ‘plan’, ‘apply’) were run in order so as to deploy the EC2 instance on AWS.</li><li>Then, the EC2 instance was connected to via SSH (using Git Bash) and Ansible was installed on the EC2 VM.</li><li>The preconfigured Ansible Playbooks were downloaded and updated with the necessary Magento private/public keys.</li><li>Ansible was then run to deploy the stack of tools for the e-commerce (Magento) website — to run on the EC2. The software installed using ansible playbook were <strong><em>Magento, PHP, MySQL, Redis, and Composer.</em></strong></li><li>EC2 instance is now up and running and rendered via its public IP address.</li><li>The final step was setting up the e-commerce site was and uploading the product information and configuration: http://&lt;EC2_PUBLIC_IP&gt;/securelocation</li><li>Then, logging into the Magento e-commerce site with the Admin credentials, some final updates were done on the relevant pages of the website.</li></ol><p>The Magento e-Commerce site was successfully deployed and tested within a short period of time, to validate the product for the larger market.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4dd541816c85" 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://ralph-allison.medium.com/implementation-of-a-set-of-ec2-instances-using-terraform-and-aws-systems-manager-configuration-with-162c5ebb5e75?source=rss-0620e82f6d6b------2</link>
            <guid isPermaLink="false">https://medium.com/p/162c5ebb5e75</guid>
            <category><![CDATA[security]]></category>
            <category><![CDATA[aws-service]]></category>
            <category><![CDATA[google-cloud-platform]]></category>
            <category><![CDATA[terraform]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <dc:creator><![CDATA[Ralph Allison]]></dc:creator>
            <pubDate>Sat, 18 Nov 2023 20:44:32 GMT</pubDate>
            <atom:updated>2023-11-18T20:44:32.847Z</atom:updated>
            <content:encoded><![CDATA[<h3><em>Implementation of a set of EC2 instances using Terraform and AWS Systems Manager configuration with Amazon Simple Notification Service for automated installation of security agents</em></h3><p>Acting as a DevSecOps Engineer in another project, which is based on a real-world scenario, I deployed a set of EC2 instances and infrastructure in an automated way using Terraform (Infrastructure as Code — IaC). It was also necessary to install a specific security agent on all the instances in an automated way.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vKdof7cu7jfz9EzF6PRNpw.png" /><figcaption>Cloud Technologies and Services</figcaption></figure><p>Once I provisioned the infrastructure, AWS Systems Manager and its component, Run Command, were used to install the security agents in an automated way. I used the Amazon Simple Notification Service (SNS) to send email notification informing of the whole process status.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*l5nIFDSszczl4WNhBGpnYA.png" /><figcaption>Solution Architecture</figcaption></figure><p>In this particular project, the EC2 instances along with the required Security Group were created in an automated way using Terraform.</p><p><strong>Terraform</strong> is an infrastructure as code tool that enables you to safely and predictably provision and manage infrastructure in the cloud. It is a powerful tool used to automate cloud resource deployment in any cloud environment.</p><p>For this project, the AWS services in the architecture are VPC, IAM, EC2 SSH Key Pair, Systems Manager, Simple Notification Service (SNS) and the Run Command feature within AWS Systems Manager.</p><p>To start with, ensure there is a VPC, and this must be the default VPC. This is important as the VPC ID (and Subnet ID) will be referenced in the Terraform files.</p><p>Terraform: Pre-created Terraform script files (main.tf &amp; provider.tf) will be used for provisioning the EC2 instances and the Security Group. The script files are updated accordingly with the VPC and subnet ID for the required “variables”.</p><p>The terraform script automates tasks usually done manually on AWS console. This is helpful in provisioning resources at scale quickly.</p><p>The second script (provider.tf) holds ssh access key and authentication details, which are needed to run terraform from a locally installed version in order to access AWS. However, for this project we authenticated into AWS via the AWS CloudShell from where Terraform commands were run. So the provider.tf script was not needed.</p><p>Once the Terraform script file was uploaded (using AWS CloudShell), the Terraform commands were run and the Webservers (EC2 instances) and the Security Groups were successfully created.</p><p>IAM role — An IAM role (SystemsManagerToSNS) was then created (with the necessary policy added) in order to authorise the AWS Systems Manager to use the System Notification Service (SNS) to send email notifications to the engineer.</p><p>Create an SNS Notification Topic DevOpsNotification (Taking note of the ARN), and create a subscription — in order to push email notifications to the provided email address.</p><p><strong><em>Systems Manager</em></strong></p><p>AWS Systems Manager gives you visibility and control of your infrastructure on AWS. Systems Manager provides a unified user interface so you can view operational data from multiple AWS services and enables you to automate operational tasks across your AWS resources.</p><p>Using the AWS Systems Manager Quick Setup, the Host Management configuration type was selected and completed, with the EC2 instances which were previously provisioned by Terraform selected as configuration targets.</p><p>Run Command: The<strong> </strong>Run Command feature, within the Systems Manager, allows the automation of common administrative tasks and perform one-time configuration changes at scale.</p><p>Next, we execute the “Run Command” in order to deploy the “security agent installation&quot; on each of the EC2 instances. For this project, we used the AWS-RunShellScript and ran the appropriate commands to install the security agent on both webservers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*1S4PcYP57idnhJ_sVFbDfA.png" /><figcaption>AWS Systems Manager Run Command</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*BI-1J7sdspQbAkS4E_3bMw.png" /><figcaption>Security Agent Installation Output</figcaption></figure><p>Lastly, the necessary email notifications were verified for email notifications received for any changes occurring in the EC2 instances.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=162c5ebb5e75" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Implementation of a Scalable Web Application using the services of AWS Elastic Beanstalk, DynamoDB…]]></title>
            <link>https://ralph-allison.medium.com/implementation-of-a-scalable-web-application-using-the-services-of-aws-elastic-beanstalk-dynamodb-5899c44416e4?source=rss-0620e82f6d6b------2</link>
            <guid isPermaLink="false">https://medium.com/p/5899c44416e4</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[elastic-beanstalk]]></category>
            <category><![CDATA[cloud-services]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[autoscaling]]></category>
            <dc:creator><![CDATA[Ralph Allison]]></dc:creator>
            <pubDate>Sat, 18 Nov 2023 16:13:52 GMT</pubDate>
            <atom:updated>2023-11-18T16:13:52.133Z</atom:updated>
            <content:encoded><![CDATA[<h3><em>Implementation of a Scalable Web Application using the services of AWS Elastic Beanstalk, DynamoDB, CloudFront and Edge Location</em></h3><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 has been used in a large conference that had more than 10,000 people, in-person and online, with participants from all over the world.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vyyUmMJxKPSGow2Ns1FIsw.png" /><figcaption>Cloud Technologies and Services employed</figcaption></figure><p>The event was broadcast online and in person and 10 vouchers were drawn for 3 Cloud certifications. At that moment, more than 10,000 people in the audience registered their e-mails to guarantee their participation in the raffle.</p><p><strong><em>Solution Architecture</em></strong></p><p>An AWS Cloud Architecture was utilised for this solution. In AWS, Elastic Beanstalk service was used to deploy the web application, DynamoDB to store the email addresses, and CloudFront to cache static and dynamic files in an Edge Location closest to the user.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Fh-2rrUNSN2eMAFC2HaBsQ.png" /></figure><p><strong><em>Solution Implementation Steps</em></strong></p><p>Some of the steps used in the implementation of this solution are as enumerated below:</p><p>Step 1: VPC creation — A virtual private cloud network is created, using the default VPC, providing for a complete control over the IP address range, subnets, routing tables and internet gateway.</p><p>Step 2: DynamoDB — Creation of a DynamoDB No-SQL table for the storage of email addresses for the raffle draw entries.</p><p>Step 3: Elastic Beanstalk — Deployment of Elastic Beanstalk to automatically build and manage the application. We simply upload a pre-built code (as the source code for this project) and Elastic Beanstalk automatically handled the deployment, from capacity provisioning, load balancing, and automatic scaling to web application health monitoring, with the ability for ongoing patch application and security updates.</p><p>For this project, the environment was configured with 2 EC2 instances, with the option to scale up to 4 instances if/when required, e.g. when CPU utilisation exceeds 50%.</p><p>The application was successfully deployed via Elastic Beanstalk and on entering email addresses, these were successfully populated in the DynamoDB table.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*1UIKOSWxfWzJdvrp50whyw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*UenWZGpkOYk3iyYqmNfKwg.png" /><figcaption>Successful registration of entrant</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*QzF4n5awWCDrIUsJWSiJ6g.png" /><figcaption>Email addresses successfully populated in DynamoDB table</figcaption></figure><p>Step 4: CloudFront — In order to allow for secure content delivery and for the participants at other locations around the globe, a CloudFront distribution was created and added to the solution. So, when a participant accesses the application from a new geographical location, CloudFront determines the Edge Location closest to that person and services them via that location — thereby minimizing any latency.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*rFy99r8Rlqtkn2SDwTDv8w.png" /></figure><p>Step 5: Overloading/Stress testing — The application was finally stress-tested to confirm auto-scaling capability by simulating excess traffic to the web application. This was done via a GitBash terminal, accessing either of the running EC2 instances and then installing and running a ‘stress’ tool</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/259/1*VL33DF4fgU6Z5VtNgF-z5g.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/783/1*XHHCRG_r73_XTcxqh-nBmA.png" /></figure><p>Once executed, the EC2 instance became overloaded and a third instance was spun up.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*BQ6iku_QT8U1_OBelwBzeQ.png" /><figcaption>An additional instance initiated — autoscaling</figcaption></figure><p>Once completed, the stress process was terminated by running “<em>ps ef |grep stress”.</em></p><p><strong><em>Conclusion</em></strong></p><p>The project was successfully completed. This also demonstrates the effective use of cloud services such as Elastic Beanstalk, DynamoDB, EC2 Auto Scaling, Load balancers, CloudFront, and Edge Locations in implementing an automated, secure, scalable and highly available cloud environment.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5899c44416e4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Migration of a Workload running in an Enterprise Data Centre to AWS using the Amazon EC2 and RDS…]]></title>
            <link>https://ralph-allison.medium.com/migration-of-a-workload-running-in-an-enterprise-data-centre-to-aws-using-the-amazon-ec2-and-rds-943115623e93?source=rss-0620e82f6d6b------2</link>
            <guid isPermaLink="false">https://medium.com/p/943115623e93</guid>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[migration]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[azure]]></category>
            <category><![CDATA[google-cloud-platform]]></category>
            <dc:creator><![CDATA[Ralph Allison]]></dc:creator>
            <pubDate>Thu, 16 Nov 2023 14:38:42 GMT</pubDate>
            <atom:updated>2023-11-16T14:38:42.425Z</atom:updated>
            <content:encoded><![CDATA[<h3><em>Migration of a Workload running in an Enterprise Data Centre to AWS using the Amazon EC2 and RDS services</em></h3><p>In another project based on a real-world scenario, I acted as the Cloud Specialist responsible for migrating a Workload running in an Enterprise DataCentre to AWS Cloud. The Workload comprised an Application server (with its Database server) which needed to be migrated to the Cloud environment.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0Y_jNDDOvBs6UwkMYSFa2g.png" /></figure><p>The Application server was migrated to Amazon EC2, and the Database server migrated to an RDS (Relational Database Server) in AWS with the RDS running the database that will be serving the application running in the EC2 instance.</p><p>The application and database were migrated to AWS using the Lift &amp; Shift (rehost) model, to move both the application and database data.</p><p>As part of the solution architecture, it was necessary to implement a VPC (Virtual Private Cloud) which is the virtualised network within AWS, along with its Subnets, associating these with an EC2 instance (to store the Application), and an RDS instance (to store the Database).<br>In order for the application to be accessible to via the internet, it was also necessary to implement an Internet Gateway, attached to the VPC.</p><p>In order to achieve all of the above — and to ensure a successful migration, some migration steps were followed:</p><p>Planning (to ensure the necessary prerequisites and environment sizing and resources were understood and well laid out), <br>Execution (covering the resource provisioning, and best practices), <br>Go-live (covering validation tests — Dry-run, final migration/Cutover) and <br>Post Go-live (to ensure the operation of the application and user access).</p><p>Cloud Provider: AWS<br>Services &amp; Technologies employed: Amazon EC2, Amazon VPC, Amazon RDS, Internet Gateway, MySQL</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MYrkt1lvCnZ1olMs3npi1w.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=943115623e93" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>