<?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 Michael Quick on Medium]]></title>
        <description><![CDATA[Stories by Michael Quick on Medium]]></description>
        <link>https://medium.com/@michaelquick7?source=rss-9751b9440db6------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*JR1qAPWL_lZSBESrPOpGaw.jpeg</url>
            <title>Stories by Michael Quick on Medium</title>
            <link>https://medium.com/@michaelquick7?source=rss-9751b9440db6------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 05:32:05 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@michaelquick7/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[MVP Implementation of an E-Commerce System on AWS in an automated way using Terraform and Ansible]]></title>
            <link>https://medium.com/@michaelquick7/mvp-implementation-of-an-e-commerce-system-on-aws-in-an-automated-way-using-terraform-and-ansible-c9f4ab9dddf7?source=rss-9751b9440db6------2</link>
            <guid isPermaLink="false">https://medium.com/p/c9f4ab9dddf7</guid>
            <category><![CDATA[e-commerce-solution]]></category>
            <category><![CDATA[ansible]]></category>
            <category><![CDATA[ec2]]></category>
            <category><![CDATA[terraform]]></category>
            <category><![CDATA[magento]]></category>
            <dc:creator><![CDATA[Michael Quick]]></dc:creator>
            <pubDate>Sun, 25 Jun 2023 06:12:13 GMT</pubDate>
            <atom:updated>2023-06-25T06:12:13.584Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*c42Po6Sq_9iP_uAJ_-l6Xw.png" /><figcaption>Cloud Technologies</figcaption></figure><p>In another project based in 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><p>I provisioned the infrastructure in an automated way 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><h4>Architecture</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*maPof0YhnzOd4K1M8kIS2Q.png" /><figcaption>MVP Cloud Arhitecture</figcaption></figure><h4>TerraForm</h4><p>Terraform is an open-source infrastructure as code (IaC) tool that allows you to provision and manage a cloud infrastructure in a declarative way.</p><p>In this project, Terraform is used to quickly create an EC2 instance and a security group. The E-Commerce system resides on this EC2 instance.</p><p>The terraform script is customized with a few items of my specific cloud implementation. The items are the default VPC id and EC2 key pair for ssh connection.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/302/1*eu7ZqZOwk-fjxwk5OxTbgA.png" /><figcaption>Terraform script customization</figcaption></figure><p>After saving changes, execute the following Terrform commands to create cloud resources configured in the terraform script.</p><pre>terraform init<br>terraform plan<br>terraform apply</pre><h4>Ansible</h4><p>Now that the cloud resource are created, Ansible is used to install the necessary software/tools on the EC2 instance.</p><p>First step is to connect to the EC2 via SSH. In a gitbash terminal, or other terminal app, connect to the EC2 public ip address using the private ssh key.</p><pre>ssh ec2-user@34.200.251.240 -i ssh-key1.pem</pre><p>After installing Ansible, the Ansible playbook installs the following packages: Magento, PHP, MySQL and Redis.</p><p>Magento is a platform with built-in PHP, which helps programmers create eCommerce websites. A Magento account is required. After creating an account, create an access key.</p><pre>Magento Access Key<br><br>Public Key : 51f75bb121fd4bb3d13fb6d95266d90f <br>Private Key: dbb6e040f4d5fab19adef02a1a63f514 </pre><p>As with Terraform, the Anvible playbook requires customization. In group_vars/all.yml, the following variables need modified. The magento_domain and server_hostname are set to EC2 public ip address. The repo_api_key is set to the Magento Access Key Public Key value. The repo_secret_key is set to the Magento Access Key Private Key value.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/497/1*3X1Iv9_3OniccsACKXN8aw.png" /></figure><p>Run the Ansible playbook to deploy the e-commerce tools. In about 3–5 minutes an e-commerce site is created.</p><h4>E-Commerce Site</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*amGc5heTABWlxhJ4eFqFHQ.png" /><figcaption>E-Commerce Template Home Page</figcaption></figure><p>The site is a templated version of an E-Commerce site. It is time to customize the e-commerce site and add products. The Admin portion of site manages all changes, which is accessed via http://&lt;EC2_PUBLIC_IP&gt;/securelocation</p><h4>Admin Site</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/631/1*34_Q15qJqbL4o0QzeyAGmQ.png" /><figcaption>Admin Login Page</figcaption></figure><p>After logging in, update the welcome text and page title.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*C1d4CFTTVe5EnlmFlGjegQ.png" /></figure><p>Add a t-shirt product…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Y7DHag_hbml5wBVznqY4_A.png" /><figcaption>T-shirt product</figcaption></figure><p>Add a widget to show recently added products on the home page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GjfrrO3b7e-9JMie8cDMVQ.png" /><figcaption>Updated Home Page</figcaption></figure><p>Now time to check functionality. First, clicking on product image to bring up product page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DaXKPu0myQUgUd2gTex2eA.png" /><figcaption>T-shirt Product Page</figcaption></figure><p>Now add product to cart …</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/442/1*M-zqm01ei2pRXZKOpp_Rng.png" /><figcaption>Home Page Showing Shopping Cart</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UpZz9lHJujOG34uRZTwRhQ.png" /><figcaption>Shopping Cart</figcaption></figure><p>All fully functional E-commerce site in a hour. All E-commerce tools are working together correctly.</p><p>Using Terraform and Ansible is an amazing time saver and excellent way to automate deployment. This is a small example of the type of deployment automation possible.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c9f4ab9dddf7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Elaboration of Executive Presentation of Infrastructure costs for an SAP Migration project from…]]></title>
            <link>https://medium.com/@michaelquick7/elaboration-of-executive-presentation-of-infrastructure-costs-for-an-sap-migration-project-from-32241b86c13a?source=rss-9751b9440db6------2</link>
            <guid isPermaLink="false">https://medium.com/p/32241b86c13a</guid>
            <category><![CDATA[pricing-calculator]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[migration]]></category>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[Michael Quick]]></dc:creator>
            <pubDate>Fri, 09 Jun 2023 20:17:02 GMT</pubDate>
            <atom:updated>2023-06-09T20:17:02.335Z</atom:updated>
            <content:encoded><![CDATA[<h3><em>Elaboration of Executive Presentation of Infrastructure costs for an SAP Migration project from On-Premises to AWS</em></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zMSfjs3oRtaM-isZHBrPzw.png" /></figure><p>In this project based on a real-world scenario, I acted as a Cloud Architect and created an executive presentation of infrastructure costs for a SAP migration project from On-Premises to AWS.</p><p>SAP workloads were running in a corporate data center with the environment divided into Production, Quality Assurance — QA and Development/Test layers.</p><p>My mission was to estimate the costs of migration to AWS, considering that this infrastructure will be running on AWS for at least the next 3 years.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YAWiEB6UsU4Npr2a7D_c8w.png" /><figcaption>SAP Architecture</figcaption></figure><p>In this project, I created a high-level estimate of migrating SAP application to AWS according to the requirements. The estimate contains upfront, monthly and first 12 month costs for each item in estimate. Not all services has a upfront cost.</p><h3>AWS Pricing Calculator</h3><p>The AWS Pricing Calculator, <a href="https://calculator.aws/#/">https://calculator.aws/#/</a>, is separate from the AWS Services Console.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bg0q-60SApYVDmo8alEuQQ.png" /><figcaption>Pricing Calculator Summary</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wAuasdB6CQ_U0rXl6KYHEQ.png" /><figcaption>Pricing Calculator Service items</figcaption></figure><p>All elements of the architecture represented in the above estimate. The services included are EC2, Elastic File System, Elastic Load Balancing, and RDS for Oracle.</p><p>The Price Calculator has an export feature. The estimate data not be exported to a csv file. Therefore, can be used in PowerPoint graphs.</p><h3>Presentation</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*L4eHizNl12q49M7Zz3Pljw.png" /><figcaption>Presentation Cover Page</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vHH_zh9r2LKk7Jcqtzr_2A.png" /><figcaption>Presentation Monthly Cost Estimate</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KMV3csDLtFGq_eKqZH5Lzg.png" /><figcaption>Presentation 12 Month Cost Estimate</figcaption></figure><p>The CIO is able to make informed decision with the estimates through AWS Pricing Calculator. The process going from requirements to estimates to presentation is measured in minutes.</p><p>I find AWS Pricing Calculator a power tool to quickly inform stackholders of estimates for migration projects.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=32241b86c13a" 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://medium.com/@michaelquick7/implementation-of-a-set-of-ec2-instances-using-terraform-and-aws-systems-manager-configuration-with-876ab052a1a6?source=rss-9751b9440db6------2</link>
            <guid isPermaLink="false">https://medium.com/p/876ab052a1a6</guid>
            <category><![CDATA[system-manager]]></category>
            <category><![CDATA[terraform]]></category>
            <category><![CDATA[ec2-instance]]></category>
            <category><![CDATA[automation]]></category>
            <category><![CDATA[aws-sns]]></category>
            <dc:creator><![CDATA[Michael Quick]]></dc:creator>
            <pubDate>Sun, 04 Jun 2023 05:48:10 GMT</pubDate>
            <atom:updated>2023-06-04T05:48:10.490Z</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 officers</em></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vKdof7cu7jfz9EzF6PRNpw.png" /><figcaption>Cloud Technologies</figcaption></figure><p>In this project, based on a real-world scenario, I acted as DevSecOps Engineer, and I deployed a set of EC2 instances and infrastructure in an automated way using Terraform (infrastructure as code — IaC). Also, it was necessary to install a specific security agent on all these instances in an automated way.</p><p>Once I provisioned the infrastructure, AWS System Manager and its component Command Run were used to install the security agents in an automated way. I used the Amazon Simple Notification Service (SNS) to send an email notification informing the whole process status.</p><h3>Architecture</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*l5nIFDSszczl4WNhBGpnYA.png" /><figcaption>Cloud Architecture</figcaption></figure><p>Unlike previous projects, where AWS services were manually created, this project incorporates automation. Terraform is a powerful tool to automate cloud resource deployment.</p><p>In this project, Terraform generates EC2 instances along with the required Security Group. The same automation process is followed whether generating 5 or 500 EC2 instances.</p><p>The AWS services in this architecture are VPC, IAM, EC2 SSH Key, Systems Manager, Simple Notification Service (SNS) and Run Command feature within the Systems Manager.</p><h3>VPC</h3><p>Start out with the foundation. Make sure there a VPC. The VPC must be a default VPC. The Default VPC field value is Yes. Otherwise, it is not a default VPC.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YCnyubQu70YmLjVuDiD5fw.png" /><figcaption>VPC</figcaption></figure><h3>Terraform</h3><p>Terraform uses script files to generate cloud resources. This occurs in seconds not minutes or hours.</p><p>The two most often used tags in Terraform scripts are Resource and Variable. The Resource tag defines are configuration of a cloud. The Variable tag defines a variable used in other sections of the script, typically a resource tag.</p><p>In this project, Terraform generates the EC2 instances and a corresponding Security Group. Besides configuring the above-mentioned resources, the script defines 3 variables: vpc id, a subnet id and ssh key.</p><pre>variable &quot;vpc_id&quot; {<br>    default = &quot;vpc-0ac6afb8674f9de17&quot;<br>}<br><br>variable &quot;subnet_id&quot; {<br>    default = &quot;subnet-085c0d2a20b140cef&quot;<br>}<br><br>variable &quot;key_name&quot; {<br>    default = &quot;sshkey1&quot;<br>}</pre><h3>Terraform Script: EC2 Instance</h3><p>Here is an example of the resource tag for a EC2 instance.</p><pre>resource &quot;aws_instance&quot; &quot;webserver1&quot; {<br>  ami           = data.aws_ami.ubuntu.id<br>  instance_type = &quot;t2.micro&quot;<br>  key_name = var.key_name<br>  subnet_id = var.subnet_id<br>  vpc_security_group_ids = [aws_security_group.allow_ssh.id]<br>  associate_public_ip_address = true<br><br>  tags = {<br>    Name = &quot;webserver1&quot;<br>  }<br>}</pre><p>Notice in the resource tag, the 3 previously mentioned variables are used in the EC2 instance configuration.</p><h3>Terraform Script: Security Group</h3><p>The Security Group configuration permits external connectivity, via SSH, to the EC2 instances. The Security Group is entitled “allow_sh”.</p><pre>resource &quot;aws_security_group&quot; &quot;allow_ssh&quot; {<br>  name        = &quot;allow_ssh&quot;<br>  description = &quot;Allow external SSH connectivity to EC2 instances&quot;<br>  vpc_id      = var.vpc_id<br><br>  ingress {<br>    description = &quot;SSH to EC2&quot;<br>    from_port   = 22<br>    to_port     = 22<br>    protocol    = &quot;tcp&quot;<br>    cidr_blocks = [&quot;0.0.0.0/0&quot;]<br>  }<br><br>  egress {<br>    from_port   = 0<br>    to_port     = 0<br>    protocol    = &quot;-1&quot;<br>    cidr_blocks = [&quot;0.0.0.0/0&quot;]<br>  }<br><br>  tags = {<br>    Name = &quot;allow_ssh&quot;<br>  }<br>}<br></pre><h3>Executing a Terraform Script</h3><p>There are 3 relevant Terraform commands to generate cloud resources:</p><p>1. Terraform init — Initializes Terraform</p><p>2. Terraform plan — Defines a plan based on contents of the *.tf files.</p><p>3. Terraform apply —Converts the plan into cloud resources in a matter of seconds!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Bgw_L1AL3RgcUhseUXbBlw.png" /><figcaption>EC2 Instances generated by Terraform</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CbVSdT94BAiYT_74fk_1pA.png" /><figcaption>Security Group generated by Terraform</figcaption></figure><p>Upon successful completion of executing the Terraform configuration files, the above-mentioned cloud resource now exist. Terraform is an example of infrastructure as code (IAC).</p><h3>IAM</h3><p>An IAM role is needed to authorize the Systems Manager to use SNS (Simple Notification service) to send an email notification. The role is entitled SystemManagerToSNS, which uses the AmazonSNSFullAccess policy permission.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*N-yWt6A4vT0tRkGAlfCXuw.png" /><figcaption>IAM Role SystemManagerToSNS</figcaption></figure><h3>Simple Notification Service (SNS)</h3><p>The Simple Notification Service has capability to send push notifications to mobile apps, text messages to mobile phone numbers, and plain-text emails to email addresses. You can fan out messages with a topic, or publish to mobile endpoints directly.</p><p>For this project, we are using the email notification option. The topic name is DevOpsNotification.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*G1yUmLkB8YV2J4aHJQ-icA.png" /><figcaption>Simple Notification Service Topics</figcaption></figure><p>The details of the DevOpsNotification topic with an email protocol.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qDiujixqBYSDnmczPy2Yrg.png" /><figcaption>Simple Notification Service DevOpsNotification Topic</figcaption></figure><p>When the corresponding email address for the topic is confirmed, the following message is received.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/711/1*mOtt156vFL-Z-0UMJ2j3ZA.png" /><figcaption>Simple Notification Service Confirmation</figcaption></figure><h3>Systems Manager</h3><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>The Quick Setup is excellent way to easily set up System Manager configurations. The there are several types of configurations to choose from.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eqUWED0A35cjqezQlmWY7A.png" /><figcaption>System Manager Configuration Types</figcaption></figure><p>For this project, the configuration type required is the Host Management. The configuration targets are manually selected, which are the EC2 instances generated by Terraform.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QK1Calysv4Pp8rifGvAljQ.png" /><figcaption>System Manager Host Management Targets</figcaption></figure><h3>Run Command</h3><p>Run Command feature, within the System Manager, allows the automation of common administrative tasks and perform one-time configuration changes at scale.</p><p>In this project, the Run Command is used to deploy the security agent to each of the EC2 instances. The security agent installation is in a shell script. Therefore, the script type is set to AWS-RunShellScript.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*darNwVLH82Ti827aRcnIkg.png" /><figcaption>System Manager Run Command</figcaption></figure><p>The security agents are successfully deployed to each target.</p><h3>Email Notifications</h3><p>Lastly, verify the email notifications are being received from the SNS Topic.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TG9bGRMEKdJ8TBGKxZqDiw.png" /><figcaption>Email Notification for Run Command</figcaption></figure><h3>Summary</h3><p>This project is an example of utilizing automation in a cloud architecture.</p><p>First, Terraform quickly deployed multiple resource of a cloud architecture, including multiple EC2 instances along with a Security Group. This deployment took seconds instead of minutes or more likely hours!</p><p>After an architecture is initially deployed, there is always additions and updates to the servers. The System Manager Run Command feature is a fast, efficient way to take action on all necessary EC2 instances at once. In this project, the action was a deployment of a security agent on each EC2 instance.</p><p>Lastly, the Simple Notification Service automated email notification for changes in the EC2 instances.</p><p>For these three types of automation, this project just touches the tip of the iceberg of potential use. The added efficiency to a large corporate cloud architecture is enormous.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=876ab052a1a6" 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/@michaelquick7/implementation-of-a-scalable-web-application-using-the-services-of-aws-elastic-beanstalk-dynamodb-e9e05493f7f8?source=rss-9751b9440db6------2</link>
            <guid isPermaLink="false">https://medium.com/p/e9e05493f7f8</guid>
            <category><![CDATA[elastic-beanstalk]]></category>
            <category><![CDATA[cloudfront]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[load-balancing]]></category>
            <category><![CDATA[dynamodb]]></category>
            <dc:creator><![CDATA[Michael Quick]]></dc:creator>
            <pubDate>Tue, 23 May 2023 01:24:30 GMT</pubDate>
            <atom:updated>2023-06-01T20:28:53.657Z</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" /><figcaption>Project Technologies</figcaption></figure><p>In this project, based on a real-world scenario, I was responsible for implementing an application that needs 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><p>This event was broadcasted 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><h3>Architecture</h3><p>The system utilizes an AWS Cloud Architecture. In AWS, we used Elastic Beanstalk services to deploy the web application, DynamoDB to store emails, CloudFront to cache static and dynamic files in an Edge Location close to the user.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Fh-2rrUNSN2eMAFC2HaBsQ.png" /><figcaption>AWS Architecture</figcaption></figure><h3>Step 1: VPC</h3><p>The first step is creating a VPC as a private network. For architecture requirement reasons, the VPC is a default VPC.</p><p>A VPC is a logically isolated virtual network within a public cloud environment. It allows you to create a private virtual network that is isolated from other virtual networks in the cloud and provides you with complete control over the IP address range, subnets, routing tables, and internet gateways.</p><h3>Step 2: DynamoDB</h3><p>Each entry of the waiver raffle must register with an email address. The email addresses are stored in a DynamoDB No SQL table. DynamoDB stores data as key-value pairs.</p><h3>Step 3: Elastic Beanstalk</h3><p>Scalability is a critical architecture requirement for this system. Elastic Beanstalk plays a key role in this requirement.</p><p>Elastic Beanstalk is a service for deploying and scaling web applications and services. Upload the application code and Elastic Beanstalk automatically handles the deployment — from capacity provisioning, load balancing, and auto scaling to application health monitoring.</p><p>In Elastic Beanstalk, you create an environment. Configure the required information and settings. It will automatically create the necessary containers and deploy the system.</p><p>NOTE: The Elastic Beanstalk is a fabulous service. However, once an environment is deployed it cannot be edited.</p><p>In this system, the environment is configured to start with 2 and grow to a maximum of 4 EC2 instances.</p><h3>Step 3.1: Running Application via Elastic Beanstalk</h3><p>Success! The deployed Elastic Beanstalk environment works. When I enter an email address in a web application, the email is stored in the DynamoDB users table.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yJygOQA0HkD5BT4lWs72kw.png" /><figcaption>Conference Registration</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ejEFMrMh94K8uZAKou7IXg.png" /><figcaption>Registration Confirmation</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1020/1*Epvdavi5OvQUn4CCKlG_Ng.png" /><figcaption>DynamoDB users table</figcaption></figure><h3>Step 4: CloudFront</h3><p>The final step is to add CloudFront to the architecture. CloudFront interacts with Edge Locations, which is explained below.</p><p>CloudFront is a content delivery network (CDN). This service distributes their content, such as web pages, videos, images, and other static or dynamic files, to various locations around the world, providing faster access to their content to users globally. These locations are known as Edge Locations.</p><p>When a client accesses the application from a new geographical location, CloudFront determines the Edge location closest to the client. Next, CloudFront transmits the application data to the specified Edge location.</p><p>With many clients accessing the application from geographically diverse locations, using Edge locations drastically reduces latency time for data transmission.</p><p>In testing the CloudFront deployment, it is similar to testing the Elastic Beanstalk. Success!</p><p>The CloudFront successfully launches the web application, confirms the registration and stores the email address in the DynamoDB users table.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*esTzvHHNf88cBHMsyM7bgA.png" /><figcaption>Conference Raffle Registration via CloudFront</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7EEWDBWslIKQYqqfcrWqpA.png" /><figcaption>Register Confirmed via CloudFront</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1017/1*Ig_MPre5JEFIXD-5cJIo6Q.png" /><figcaption>DynamoDB user table</figcaption></figure><h3>Step 5: Stress Testing</h3><p>The final test is to simulate escalated traffic to the web application. From a GitBash terminal, log into a EC2 instance.</p><p>To stress test the AWS architecture, I will utilize a Linux application entitled stress. The epel package is a pre-requisite for the stress tool, which stands for Extra Packages for Enterprise Linux.</p><pre>sudo amazon-linux-extras install epel -y<br>sudo yum install stress -y</pre><p>To execute the stress tool, use the command, stress -c 4. The -c parameter indicates the number of workers processes.</p><p>The Elastic Beanstalk environment is configured to add an EC2 instance when the CPU utilization is above 50%. In like manner, it will drop an EC2 instance when CPU utilization is below 40%. However, there is always a minimum of 2 EC2 instances.</p><p>Here is an example from the stress test. Where a EC2 instance was added due to increased traffic. Later on, the 3rd instance was terminated due to reduction in traffic.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Wti_LPZGrHdWne6zK_veLg.png" /><figcaption>EC2 Instances during Stress Test</figcaption></figure><h3>Summary</h3><p>In my opinion, this project demonstrates one of the main reasons to deploy systems to the cloud. The AWS containers used in this project demonstrated automated scaling and load balancing.</p><p>The use of Elastic Beanstalk, CloudFront, EC2 Auto Scaling, Edge Locations, and DynamoDB are excellent at automating an organization&#39;s cloud infrastructure. These services provide a scalable, reliable, and highly available cloud environment that can easily adapt to changing workloads and traffic patterns.</p><p>I hope you enjoyed the read.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e9e05493f7f8" 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/@michaelquick7/migration-of-a-workload-running-in-a-corporate-data-center-to-aws-using-the-amazon-ec2-and-rds-929641a51b91?source=rss-9751b9440db6------2</link>
            <guid isPermaLink="false">https://medium.com/p/929641a51b91</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[aws-ec2]]></category>
            <category><![CDATA[cloud-migration]]></category>
            <category><![CDATA[aws-rds]]></category>
            <dc:creator><![CDATA[Michael Quick]]></dc:creator>
            <pubDate>Fri, 05 May 2023 23:00:51 GMT</pubDate>
            <atom:updated>2023-05-05T23:00:51.482Z</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" /><figcaption>AWS Technologies</figcaption></figure><p>In another 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. The application and database were migrated to AWS using the Lift &amp; Shift (re-host) model, moving both the application and database data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0Y_jNDDOvBs6UwkMYSFa2g.png" /><figcaption>AWS Architecture</figcaption></figure><p>I followed these migration steps: Planning (sizing, prerequisites, resource naming), Execution (resource provisioning, best practices), Go-live (validation test — Dry-run, final migration — Cutover) and Post Go-live (ensure the operation of the application and user access).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NI2b7xB9lqrna4N8xCsZng.png" /><figcaption>Cloud Migration Phases</figcaption></figure><h3><strong>Planning</strong></h3><p>The planning phase is important to capture the necessary detail for a successful migration. Tip: It is recommended to keep versions of technologies as close to on-site system as possible.</p><p>Below is the On-site and AWS sizing details</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*B8OG3ToIZZMZp9AUMQCW8A.png" /><figcaption>On-site System</figcaption></figure><p>The on-site system consists of a Python Web Application Server and a MySQL database.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6rgQoHVkRUaPRiK516c6vQ.png" /><figcaption>Planned AWS System</figcaption></figure><h3>Implementation</h3><p>The AWS Architecture implementation requires the following steps:</p><ol><li>Create VPC</li><li>Create public and private subnets</li><li>Create EC2 instance</li><li>Create RDS instance</li><li>Establish Internet Gateway, Route Tables and Security Groups</li><li>Establish Connection between Application and Database</li></ol><p>The application server in the EC2 instance requires public subnet. The MySQL database in the RDS instance requires 2 private subnets. The second subnet is for failover purposes, which is location in a separate availability zone.</p><p>The EC2 instance is configured with a Ubuntu OS. The RDS is configured with a MySQL database. At this point, import the data from the on-site application and database. Shown below is the requirements for EC2 and RDS</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/732/1*79R1Z-ARtSiFhvirfth9Ew.png" /><figcaption>Planning Phase Prerequisites</figcaption></figure><p>The Internet Gateway, and other supporting settings, permit accessing the web application from a browser.</p><h3>Go Live</h3><p>With the AWS architecture in place, the system is ready to go live.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FYdtCJLHmcBxhB8PSd3EWw.png" /><figcaption>ABC Company Wiki Web Application</figcaption></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.</p><p>The dashboard is displaying data from the MySQL database. Therefore, there is connectivity between the application server and the database.</p><p>The UI indicates the creation of a new article. Therefore, showing both read and write access to the database.</p><h3>Post Go Live</h3><p>The AWS system is now running successfully. In the Post Go Live phase, it is important to have IT staff on call to handle any issues that arise.</p><h3>Summary</h3><p>The biggest take away in this project, is the importance of the Planning phase in any cloud migration. Be sure to have all the required details.</p><p>In this migration, the planning phase was well executed. The rest of the migration was very straight-forward.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=929641a51b91" 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/@michaelquick7/automated-user-migration-and-management-of-aws-identity-and-access-management-iam-resources-c203baf2c4d1?source=rss-9751b9440db6------2</link>
            <guid isPermaLink="false">https://medium.com/p/c203baf2c4d1</guid>
            <category><![CDATA[aws-iam]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <dc:creator><![CDATA[Michael Quick]]></dc:creator>
            <pubDate>Fri, 28 Apr 2023 23:57:32 GMT</pubDate>
            <atom:updated>2023-04-28T23:57:32.629Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jdK6qaygPGSPH-ajQu82ow.png" /><figcaption>AWS Cloud Technologies</figcaption></figure><p>In this project, based on a real-world scenario, I acted as a 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, the user account creation progress should be automated.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AE_ZAX_PBZlbp9eByk9L8g.png" /><figcaption>AWS Architecture</figcaption></figure><p>The Architecture consists of IAM User Accounts, IAM Groups, Permission Policies, Custom Password Policy and Multiple-Factor Authentication (MFA) tokens.</p><p>First, the IAM User Groups are created. In this project, there are 5 User Groups. Permission policies are associated with a IAM Group.</p><ul><li>CloudAdmin</li><li>LinuxAdmin</li><li>NetworkAdmin</li><li>DBA</li><li>Trainee</li></ul><p>Next, set a custom password policy requiring users to reset password upon initial login along with password requirements.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7UF6uYGtpdSt1b4-NDTqDw.png" /></figure><p>Using GitBash with AWS CLI and Shell Script, the IAM user accounts are generated. The script uses a csv data file, which contains the user data. The csv file contains the username, group and default password for each user account.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/426/1*_41EqBUIyQ1g21QN1kJBXQ.png" /><figcaption>CSV Data File</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/677/1*acmpL9-XxaeUGiZEcqg2nA.png" /><figcaption>User Account Generation Script</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/597/1*JY8U17IqsgRGMCOniwoN2Q.png" /><figcaption>Script Output</figcaption></figure><p>Upon successful execution of the user account script, the IAM user accounts are created. Each user account is associated with the required IAM Group. As a result, the users contain the correct permission policies.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zToPUh1BzoGn6dZYMTN_jg.png" /><figcaption>IAM User Accounts</figcaption></figure><p>The final step is to establish a Multi-Factor Authentication (MFA) as best practice to secure all user accounts and prevent unauthorized access.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/644/1*2QijW8KwTcAfv554nK7brQ.png" /><figcaption>User Group Permission Policies</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6PJJMB6ZgQgVXToqh9o_sA.png" /><figcaption>Multi-Factor Authentication</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YmSPv9uRwUVOypG8it26lQ.png" /><figcaption>User Account showing MFA</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c203baf2c4d1" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>