<?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 Jerome Wright on Medium]]></title>
        <description><![CDATA[Stories by Jerome Wright on Medium]]></description>
        <link>https://medium.com/@jeromewright811?source=rss-638bbb1c2ac7------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*nggimwjFLio-SpBfh4AJbg.jpeg</url>
            <title>Stories by Jerome Wright on Medium</title>
            <link>https://medium.com/@jeromewright811?source=rss-638bbb1c2ac7------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 06:21:25 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jeromewright811/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[Automated Deployment of EC2 Instances using Terraform, AWS Systems Manager, and Amazon SNS for…]]></title>
            <link>https://medium.com/@jeromewright811/automated-deployment-of-ec2-instances-using-terraform-aws-systems-manager-and-amazon-sns-for-9241be70577b?source=rss-638bbb1c2ac7------2</link>
            <guid isPermaLink="false">https://medium.com/p/9241be70577b</guid>
            <category><![CDATA[oracle-cloud]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[azure]]></category>
            <category><![CDATA[google-cloud-platform]]></category>
            <dc:creator><![CDATA[Jerome Wright]]></dc:creator>
            <pubDate>Wed, 20 Sep 2023 19:49:17 GMT</pubDate>
            <atom:updated>2023-09-20T19:49:17.346Z</atom:updated>
            <content:encoded><![CDATA[<h3>Automated Deployment of EC2 Instances using Terraform, AWS Systems Manager, and Amazon SNS for Enhanced Security Agent Installation</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vKdof7cu7jfz9EzF6PRNpw.png" /></figure><p>In this real-world scenario I assumed the role of a DevSecOps Engineer tasked by an E-Commerce business to deploy multiple web servers while providing industry standard security measures to protect its data. It was also necessary for all stakeholders to be informed as it relates to the progress and status of the process. These are the tools used to complete this project: Terraform, MS Visual Studio Code, Amazon EC2, Amazon VPC, Cloud Shell/GitBash, AWS Systems Manager, Amazon SNS and AWS IAM.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*l5nIFDSszczl4WNhBGpnYA.png" /></figure><p>Using the above illustration here is an outline of the different stages of the project.</p><p><strong>Part 1</strong></p><p><strong>Create the Web Servers: </strong>The servers are represented in AWS as EC2 instances created by Terraform which is an infrastructure as code (IaC) tool that can be used to manage the provisioning of infrastructure in an automated way rather than manually. This method saves time and money and is more efficient for all parties involved.</p><p>The DevOps/Software engineers created the Terraform configuration files that contain the infrastructure specifications and saved them in a zip file. I unzipped the file and made adjustments to a few variables in the IaC files using Microsoft Visual Studio, an open-source software that helps to make Terraform user friendly. These adjustments included the AWS VPC and subnet ID needed to create to EC2 instances. I also created a ssh key which the AWS security group, also created by Terraform needs for access to said EC2 instances. At this point I resaved the file as a new zip to be uploaded to GitBash/Cloud Shell later on.</p><p><strong>Install Terraform on AWS Cloud Shell: </strong>This is the step where the newly saved Terraform file is executed so as to create the EC2 instances but first I had to install Terraform onto the AWS platform via AWS Cloud Shell.</p><p>Once installed I uploaded the zip file, extracted its contents and ran the necessary commands to finally create the desired infrastructure. The result was a successful creation of the web servers.</p><p><strong>Part 2</strong></p><p>Applied security measures to secure the infrastructure from malicious attacks by installing security agents on these servers. This was made possible by using AWS Systems Manager and the Run command in Cloud Shell to automate the process — which is a key element as far as scalability is concerned. Without having to log into the console I wanted to have an up-to-date status report on the progress of these provisions so I decided to use Amazon Simple Notification Service (Amazon SNS) to send me email notifications.</p><p>First I had to give AWS Systems Manager the permissions to access SNS:<strong> — — </strong>Create an IAM role with a relevant name such as <strong>SystemsManagerToSNS — </strong>Attach the “<strong>AmazonSNSFullAccess</strong>” policy to this role</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*odIZ4G_sGgZq4tTaxZp_cQ.png" /></figure><p>Then I created an AWS Simple Notification Service subscription in order to receive emails from Systems Manager:</p><p><strong>— </strong>Create a Notification Topic and name it: <strong>DevOpsNotification </strong>(copy and save the ARN)</p><p><strong>— </strong>Create a subscription and configure it for email notification</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*UN3KA0NRWkvt9RCI" /></figure><p>Configure the run command on the systems manager:</p><p><strong>— </strong>First I accessed Quick Setup in AWS Systems Manager to create configurations for the EC2 instances.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*wk9Ca3Jth-4MnciH" /></figure><p><strong>— </strong>I verified that the sessions were available in Session manager.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*tw-lWxby6wzoWP-I" /></figure><p>Then I Installed the security agent using the “Run Command” and “AWS-RunShellScript” under Node Management.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*vGvdlMG5wa75iNfG" /></figure><p>The result was a successful installation of the security agents on each EC2 instance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*sEIyMfk7AeBWyVjQ" /></figure><p>I confirmed that email notifications regarding the status of the installations were received as desired and finally System Manager was successfully able to remotely connect to each instance.</p><p><strong>Project Success.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9241be70577b" 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://medium.com/@jeromewright811/implementation-of-a-scalable-web-application-using-the-services-of-aws-elastic-beanstalk-dynamodb-ff0a4c2667e0?source=rss-638bbb1c2ac7------2</link>
            <guid isPermaLink="false">https://medium.com/p/ff0a4c2667e0</guid>
            <category><![CDATA[google-cloud-platform]]></category>
            <category><![CDATA[azure]]></category>
            <category><![CDATA[oracle-cloud]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[Jerome Wright]]></dc:creator>
            <pubDate>Tue, 29 Aug 2023 01:32:40 GMT</pubDate>
            <atom:updated>2023-08-29T01:32:40.078Z</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><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vyyUmMJxKPSGow2Ns1FIsw.png" /></figure><p>In this project based on a real-world scenario, I was responsible for implementing a web application that needed to support the high demand of a large number of users accessing it simultaneously. The venue included a large conference room for an in-person presence as well as an online platform for global participants. As an incentive there were some giveaways awarded to a few winning recipients who participated in a raffle so we needed to be able to seamlessly process registration/email information for over 10,000 participants.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Fh-2rrUNSN2eMAFC2HaBsQ.png" /></figure><p>In order to accomplish our goal in AWS we used <strong>DynamoDB </strong>to store emails, <strong>Elastic Beanstalk</strong> services to deploy the web application and <strong>CloudFront</strong> to cache static and dynamic files in Edge Locations close to the users. These were the steps taken:</p><p><strong>Step 1 — Create a DynamoDB Table</strong></p><p>Note: DynamoDB is a highly scalable and durable NoSQL database service that is designed to handle high volumes of traffic. It provides low latency access to data and supports automatic scaling and backup.</p><ol><li>Access DynamoDB from the AWS console and select — <strong>Create table</strong></li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/680/1*5rdVEijoLYTfdmDEWQbrzA.png" /></figure><p>2. Populate the following fields as follows:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/653/1*f315J9AGTGmNP6YylNtA4g.png" /></figure><p>3. The following result indicated the table was successfully created.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/691/1*oUMiWTDKPaZeWzLkFRBhQw.png" /></figure><p><strong>Step 2 — Create the Elastic Beanstalk Environment</strong></p><p>Note: AWS Elastic Beanstalk is an easy-to-use service for deploying and scaling web application and services developed with Java, .NET, PHP, Node.js, Python, Ruby, Go and Docker on familiar servers such as Apache, Nginx, Passenger and IIS.</p><p>I simply needed to configure AWS Elastic Beanstalk according to the project’s specific requirements, being sure to include my uploaded code(in this case a Python code) and it will automatically handle the deployment from capacity provisioning, load-balancing and auto-scaling to application health monitoring.</p><p>Without Elastic Beanstalk the following are just some of the things I would have had to manually do at the AWS console:</p><p><strong>a. Create the EC2 instances and configure the auto-scaling groups</strong></p><p><strong>b. Create the Elastic load-balancer and a DNS entry to point to it</strong></p><p><strong>c. Handle the health monitoring and Cloud Watch alarms</strong></p><p>However, with this tool all of the above and more can be automatically provisioned on a one-time configuration on the AWS console as shown below:</p><p>Access Elastic Beanstalk from the AWS console and select — <strong>Create application.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/764/1*nRGP_g0kL_wJOP4CVaLprQ.png" /></figure><p>These are the configurations I used for my deployment:</p><p>Application name — <strong>tcb-conference</strong></p><p>Platform — <strong>Python</strong></p><p>Application code — <strong>an upload link to the Python file used to deploy the application</strong></p><p>Configuration preset — <strong>High Availability</strong></p><p>Environment properties — <strong>Name: AWS_REGION Value: us-east-1</strong></p><p>Instances, Root volume type — <strong>General Purpose (SSD) — 10GB</strong><br> <strong>Capacity: </strong>Minimum Instances — <strong>2</strong> Maximum Instances — <strong>4</strong></p><p>Instance type — <strong>t2-micro</strong></p><p><strong>Scaling triggers:</strong><br> Metric — <strong>CPUUtilization</strong><br> Unit: <strong>Percent</strong><br> Period: <strong>1 Min</strong><br> Breach durantion: <strong>1 Min</strong><br> Upper threshold: <strong>50 </strong>Scale up increment<strong> — 1</strong><br> Lower threshold: <strong>40 </strong>Scale down increment — <strong>1</strong></p><p>Security/Virtual machine permissions — <strong>SSH key/EC2 key pair </strong>(where you have access to this key which is necessary for access to the EC2 instances)</p><p>Networking — <strong>Select the appropriate VPC</strong></p><p>Load balancer visibility was set to <strong>Public</strong> to be able to serve requests from the internet and all the available subnets should be selected. The same is true for the Instance subnets in the availability zones — See below example:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/725/1*K9f4-JRDnqzkogCmyJJleg.png" /></figure><p>Once the configuration was reviewed I selected “create app” and Elastic Beanstalk did the rest and the following was the result:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/787/1*4hCDxURi6pb2ZMe-XeuCxw.png" /></figure><p>If everything was successfully completed the <strong>Tcbconference-env</strong> link on this display should result in a web page where each participant at the conference was able to submit an email address that will subsequently be stored on the DynamoDB table.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/706/1*2Ihfuo2n0qP_raphAy-wsg.png" /></figure><p>In this example, however there was an error message due to the fact that the EC2 instances created by Elastic Beanstalk did not have the necessary permissions to write to the DynamoDB table so in order to rectify the problem I had to access AWS’s <strong>IAM console</strong>. Here I granted DynamoDBFullAccess permissions to the EC2 roles and the problem was solved.</p><p><strong>Step 3 — Create the Amazon CloudFront Distribution</strong></p><p>Note: Amazon CloudFront is a fast content delivery network(CDN) service that securely delivers data, videos, applications and API’s to customers globally with low latency and high transfer speeds. It is able to do so by caching static and dynamic files in edge locations close to the users.</p><ol><li>Access CloudFront from the AWS console and select “create”.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/842/1*qwBNYxaApaa2tZOYz1Ayuw.png" /></figure><p>2. Populate the Origin domain based on the load balancer created in step 2 above.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/845/1*cFlXoqw7oT8_QEpebDhMjQ.png" /></figure><p>Under <strong>Allowed HTTP methods</strong> select “GET, HEAD, OPTIONS, PUT, POST, PATCH, DELETE” to allow the application use POST to insert the data inside the DynamoDB.</p><p>Under <strong>Settings</strong> select “Use all edge locations (best performance)” since our audience is spread all across the globe.</p><p>Next you can configure a domain name to be associated with this CloudFront Distribution but I chose to accept the default provided for me.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/757/1*0GD6J3-19b41D6HmfeP1iA.png" /></figure><p>The resulting domain name is the url that the participants across the globe will see as the link to the web page. I tested application to see if it is working by submitting another email registration and the result is shown below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/746/1*dS2BOcSKX-b0CCWrS7xzAg.png" /></figure><p>DynamoDB displayed the newly submitted email suggesting a successful entry into its table. This proved that participants across the globe can successfully access the website and submit their registration information.</p><p><strong>Step 4 — Perform a load test</strong></p><p>Next I needed to perform a load test to make sure that the auto-scaling process was working according to the parameters provided in the configuration.</p><p>Since auto-scaling involves either adding or removing EC2 instances, depending on demand, I had to perform my load test on EC2 instances and in order to do so I needed to make a secure connection to one. This test served 2 purposes:</p><ol><li>Increase the CPU utilization of the EC2 instance beyond the upper threshold to verify whether or not it will scale up an instance, and</li><li>Reduce the utilization to see whether or not it will scale down an instance.</li></ol><p>After running the test here are my observations — Before adding the load Elastic Beanstalk reported 2 healthy EC2 instances but after increasing the CPU utilization above the upper threshold of 50% the report was 1 healthy and 1 degraded EC2 instance. Not long after that another instance was added and the new report became 3 healthy EC2 instances. However, upon removing the load I noticed that it scaled back down to 2 instances and that was great news because it proved that auto-scaling and load balancing were functioning as configured.</p><p>With that being said I think it is fair to say that I successfully created a scalable web application capable of handling thousands of entries using tools that save time, effort and money for both client and service provider and I look forward to sharing the next one.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ff0a4c2667e0" 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/@jeromewright811/migration-of-a-workload-running-in-a-corporate-data-center-to-aws-using-the-amazon-ec2-and-rds-f042ac6ef725?source=rss-638bbb1c2ac7------2</link>
            <guid isPermaLink="false">https://medium.com/p/f042ac6ef725</guid>
            <category><![CDATA[aws-ec2]]></category>
            <category><![CDATA[cloud-migration]]></category>
            <category><![CDATA[aws-rds]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[Jerome Wright]]></dc:creator>
            <pubDate>Tue, 30 May 2023 16:30:51 GMT</pubDate>
            <atom:updated>2023-05-30T16:30:51.366Z</atom:updated>
            <content:encoded><![CDATA[<h4><strong><em>Migration of a Workload running in a Corporate Data Center to AWS using the Amazon EC2 and RDS service</em></strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MYrkt1lvCnZ1olMs3npi1w.png" /></figure><p>In this project based in a real-world scenario, I acted as the Cloud Specialist responsible for migrating a workload running in a Corporate Data Center to AWS.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yOR7yTqywZTZZbZcrxSnJQ.png" /></figure><p>The application and database were migrated to AWS using the Lift &amp; Shift (re-host) model, moving both application and database data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UHw4ObO_DN7r_x-kCjA74w.png" /></figure><p>Here are the steps taken to complete the migration:</p><p>1. <strong>Planning</strong> — This was perhaps the most important step. It involved obtaining a complete inventory of every resource residing on the on-premises system so as to provide the required resources necessary for a successful migration. The following illustrates the on-premises resources and what they will be mapped to on AWS once the migration is complete.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/1*4fPN5rpBcuAJ5rtROWM-2g.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/1*Ec6KYBQFldVXYD4o6O_MIQ.png" /></figure><p>2. The <strong>Execution</strong> phase was all about implementing the plan and applying best practices. It involved:</p><ul><li>Creating a Virtual Private Cloud to represent the on-premises network</li><li>Establishing an internet gateway for communication with the internet</li><li>Creating public and private subnets for internal and external communication</li><li>Creating EC2 instance and installing the prerequisites in order to provision the application</li><li>Creating RDS instance to host the database</li><li>Establishing a connection between the application server and database server. The application server required a public subnet while the database server required a private subnet</li><li>Exporting the data from the database server to an AWS S3 bucket before importing it to the RDS instance.</li><li>Exporting the deployment files from the application server to the same AWS S3 bucket before importing them to the EC2 instance.</li></ul><p>3. <strong>Go-live</strong> — This is where success or failure was validated. These are the results:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LDsQT_oTNaHtx_TPEsqhsg.png" /></figure><p>The above image shows several points about the successful migration. First, the browser is able to connect to the application server in the EC2 instance. The dashboard is displaying data from the MySQL database. Therefore, there is connectivity between the application server and the database. The UI indicates the creation of a new article, evidencing both read and write access to the database.</p><p>4. <strong>Post Go-live</strong> — This stage involves ensuring all systems are functioning properly and that there is a team especially available to resolve any issues that may arise. The final step will be to switch from the on-premises environment to run completely on AWS.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f042ac6ef725" 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://medium.com/@jeromewright811/automated-user-migration-and-management-of-aws-identity-and-access-management-iam-resources-52b660e7923e?source=rss-638bbb1c2ac7------2</link>
            <guid isPermaLink="false">https://medium.com/p/52b660e7923e</guid>
            <category><![CDATA[amazon-web-services]]></category>
            <category><![CDATA[oracle-cloud]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[google-cloud-platform]]></category>
            <category><![CDATA[microsoft-azure]]></category>
            <dc:creator><![CDATA[Jerome Wright]]></dc:creator>
            <pubDate>Thu, 04 May 2023 16:45:56 GMT</pubDate>
            <atom:updated>2023-05-04T16:45:56.337Z</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>There were 100 users that needed to be migrated and have MFA (Multi-factor authentication) enabled on their accounts, as this is a security best practice.</p><p>To avoid repetitive and manual tasks in the AWS console, I needed to think about automating the processes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AE_ZAX_PBZlbp9eByk9L8g.png" /></figure><p>The goal was to Automate user migration and manage AWS Identity and Access Management (IAM) resources. This was accomplished using simple tools that made the process seamless, so as a Cloud Specialist I can see how beneficial this could be in future projects that cross my path.</p><p>Using Git-Bash with AWS CLI and Shell Script I was able to complete the migration process using automated scripts, verify the users were valid in the IAM environment on the AWS console and assign them to the appropriate group/department. To complete the project I applied security best practices by applying a password and multi-factor authentication to all the groups/users. This proved be a mandatory requirement for every user on their very next login, limiting them only to the resources necessary for their job description— Project completed.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=52b660e7923e" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>