<?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 Alexandro Maximo on Medium]]></title>
        <description><![CDATA[Stories by Alexandro Maximo on Medium]]></description>
        <link>https://medium.com/@acmaximo?source=rss-6921baf4a07------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*aT1FFpldrjaqBJQ3u3ddxw.jpeg</url>
            <title>Stories by Alexandro Maximo on Medium</title>
            <link>https://medium.com/@acmaximo?source=rss-6921baf4a07------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 17 Nov 2026 04:46:42 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@acmaximo/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://medium.com/@acmaximo/humangov-implementation-of-git-repositories-for-application-and-infrastructure-code-using-aws-code-8825590c6584?source=rss-6921baf4a07------2</link>
            <guid isPermaLink="false">https://medium.com/p/8825590c6584</guid>
            <dc:creator><![CDATA[Alexandro Maximo]]></dc:creator>
            <pubDate>Mon, 26 Feb 2024 23:32:24 GMT</pubDate>
            <atom:updated>2024-02-26T23:32:24.595Z</atom:updated>
            <content:encoded><![CDATA[<p><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></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4_q0fVHf2x69W2RzJJaF8w.jpeg" /></figure><p>In this project based on a real-world scenario, I implemented Git repositories for application and infrastructure code using AWS CodeCommit, and got hands-on experience with the Proof of Concept (PoC) process of commit, push, and revert code changes.</p><p>My mission was to set up a Git repository using AWS CodeCommit for HumanGov, a hypothetical Software as a Service for government organization.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*U1fObhflzzOpwhYUBCd9Dg.png" /></figure><p>I successfully implemented this Proof of Concept project from the initial set up to the quality assurance test to validate the solution is functional and would work in a real project.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8825590c6584" 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://medium.com/@acmaximo/implementation-of-an-e-commerce-system-on-aws-in-an-automated-way-using-terraform-and-ansible-445e387e4e0a?source=rss-6921baf4a07------2</link>
            <guid isPermaLink="false">https://medium.com/p/445e387e4e0a</guid>
            <dc:creator><![CDATA[Alexandro Maximo]]></dc:creator>
            <pubDate>Fri, 22 Sep 2023 22:28:44 GMT</pubDate>
            <atom:updated>2023-09-22T22:41:56.828Z</atom:updated>
            <content:encoded><![CDATA[<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><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*c42Po6Sq_9iP_uAJ_-l6Xw.png" /></figure><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><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*maPof0YhnzOd4K1M8kIS2Q.png" /></figure><p>This project was a great opportunity to show how Infrastructure as Code tools like Terraform and Ansible can save time and reduce error. In this scenario we provisioned 1 EC2 Instance using Terraform and installed Magento and all required software in a fully automated way using Ansible.</p><p>The most incredible thing about these tools is that in this project we used a simple infrastructure but in a real scenario, where we have many instances, the effort would be pretty much the same since the tool would assure that all instances would be installed exactly the same way, saving a lot of time.</p><p>The first step in this project was to create an account on the Magento website so we can use this e-Commerce solution in our project. Then, I provisioned all the necessary infrastructure, following Magento hardware and software requirements, on AWS using Terraform.</p><p>With the necessary infrastructure done, it’s time to install Magento and all the prerequisite software using Ansible. For instance Php, MySQL, Redis, and of course Magento.</p><p>After the installation, I opened the web server public IP on a browser to check if Magento was running and based on the homepage presented I could check that everything was running fine.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QG_oKAUTom4vpqBasvcwvw.png" /></figure><p>In addition, I made some basic customization on the website and added one product to test if the e-Commerce solution was really working, and the result looked like the following screenshots:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bCRc9mqzXlCElzLMo1gxyw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Noy-y6Npc9rFKlFEaD2z_w.png" /></figure><p>After adding the product to the shopping cart and checking the shopping cart I could conclude that the project was well succeeded. In a couple of hours I was able to implement an e-Commerce website on AWS.</p><p>That was my final project on the AWS module and I am looking forward to starting the next module and learning more about this multi cloud environment.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=445e387e4e0a" 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/@acmaximo/elaboration-of-executive-presentation-of-infrastructure-costs-for-an-sap-migration-project-from-c997ff6c4bb2?source=rss-6921baf4a07------2</link>
            <guid isPermaLink="false">https://medium.com/p/c997ff6c4bb2</guid>
            <dc:creator><![CDATA[Alexandro Maximo]]></dc:creator>
            <pubDate>Mon, 18 Sep 2023 11:02:51 GMT</pubDate>
            <atom:updated>2023-09-18T11:02:51.172Z</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><p>In this project based on a real-world scenario, I acted as a Cloud Architect/IT Manager 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 Datacenter 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*zMSfjs3oRtaM-isZHBrPzw.png" /><figcaption>Figure1: Project Solution</figcaption></figure><p>I used the AWS Pricing Calculator to estimate the cost for our architecture solution based on the infrastructure presented below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FoTvdOijbr7whMlPt6IJBw.png" /><figcaption>Figure2: Solution Architecture</figcaption></figure><p>I started estimating the cost for the EC2 instances following the configuration specified on the different environments.</p><p>Since the requirements mention that the infrastructure will be running for 3 years, I used the Compute Saving Plan which reserves the infrastructure for 3 years and gives a considerable discount. I selected the option for no upfront payment because I was not informed about any payment in advance otherwise we would get even more of a discount.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8WdhigFeque7BD7k8aTAPA.png" /></figure><p>With the EC2 instances estimated, I estimated the Amazon Elastic File System (EFS), Oracle databases using Amazon RDS for Oracle, and the level of support required for the infrastructure which is critical and needs 24/7 quick response support.</p><p>After providing all the details regarding our architecture requirements, AWS pricing calculator presented a detailed estimate which I was able to export to CSV and use this information to create the presentation for the C-Level managers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IBWw6ah0PQG4ZT7PI1fWYA.png" /><figcaption>Amazon detailed estimate</figcaption></figure><p>In the presentation I used 3 slides summarizing the cost per type of AWS service where on the second slide I presented the monthly cost. On the third slide I presented the yearly cost so the C-level managers could make a decision about going forward with the migration or not.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mb1ksxUwhP73Ly-qr7USEg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ww3O4Rt4eDVWnz-yxtnN5g.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6aqdVnzGi_P5on-PBZFSUw.png" /></figure><p>I enjoyed the experience of acting as a cloud architect and an IT manager on the same project where I could estimate the cost of a SAP infrastructure on AWS and create a presentation providing to the decision makers information enough to make the right decision.</p><p>See you on the next project…</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c997ff6c4bb2" 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/@acmaximo/implementation-of-a-set-of-ec2-instances-using-terraform-and-aws-systems-manager-configuration-with-95b53b3f4493?source=rss-6921baf4a07------2</link>
            <guid isPermaLink="false">https://medium.com/p/95b53b3f4493</guid>
            <dc:creator><![CDATA[Alexandro Maximo]]></dc:creator>
            <pubDate>Sun, 10 Sep 2023 12:04:43 GMT</pubDate>
            <atom:updated>2023-09-10T12:04:43.428Z</atom:updated>
            <content:encoded><![CDATA[<p><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></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vKdof7cu7jfz9EzF6PRNpw.png" /></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 informing the whole process status.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-U9QQ_Ydu4M9rIESI3AEcg.png" /></figure><p>The first part of the project consisted in provisioning 2 EC2 instances in a fully automated process using Terraform. After preparing and uploading the Terraform configuration file to AWS Cloud shell, I installed terraform and ran the command so the necessary infrastructure could be created.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vKd5mgjuygs-rmY7NrU-7g.png" /></figure><p>With all the infrastructure provisioned in seconds, I implemented the second part of the project which consists in using AWS System Manager to install security agents automatically and set up Amazon Simple Notification Service to send me emails about the process status.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ossiGiqJyLlM3SsV99C3Og.png" /></figure><p>This project was a great opportunity to confirm how automation tools such as Terraform can be used to create infrastructure in AWS in an automated, and scalable way, saving time, reducing the risk of errors, and reducing costs.</p><p>As usual, I am looking forward to the next project so I can learn more and also share with you…</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=95b53b3f4493" 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/@acmaximo/implementation-of-a-scalable-web-application-using-the-services-of-aws-elastic-beanstalk-dynamodb-f80bcbd0135e?source=rss-6921baf4a07------2</link>
            <guid isPermaLink="false">https://medium.com/p/f80bcbd0135e</guid>
            <dc:creator><![CDATA[Alexandro Maximo]]></dc:creator>
            <pubDate>Mon, 04 Sep 2023 14:55:04 GMT</pubDate>
            <atom:updated>2023-09-04T15:13:00.441Z</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 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 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><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vyyUmMJxKPSGow2Ns1FIsw.png" /></figure><p>We used AWS Elastic Beanstalk service 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" /></figure><p>On this implementation I started creating a table on Amazon DynamoDB to store the emails of the participants, then I deployed the Python solution using the Elastic Beanstalk so we can use its auto scaling functionality. The original configuration runs 2 instances minimum going up to 4 instances based on the CPU utilization.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iaHUaJO29tTvhFw0NauG0Q.png" /><figcaption>Application and Environment created using Elastic Beanstalk</figcaption></figure><p>However, when I ran the application and tried to add a new email, the application showed an error message indicating internal error. After checking the Elastic Beanstalk logs I could identify that the error was caused by a lack of permission to the DynamoDB table, so I added a policy so the application could have access to the table.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WUlX1Z6XGPdFqjvbJGl2yA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*X3hLYlugU0zW54eKX5_uKw.png" /><figcaption>DynamoDB table showing the emails inserted during the test</figcaption></figure><p>Now that we have the application running on Elastic Beanstalk and using the auto-scale functionality, I implemented the Cloud Front Distribution and the Elastic Load Balance so the application is accessible in any availability zone around the world with the same performance and the processing power balanced between the instances.</p><p>With Elastic Beanstalk, Cloud Front Distribution and Elastic Load Balance set up, I need to do a stress test to make sure that everything is working as it should.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KrCM0bSMsO0JSszLJKS_QQ.png" /></figure><p>After checking the system health using the Elastic Beanstalk monitor and seeing that everything was working fine, it is time to run a stress test and see how Elastic Beanstalk will behave if the processor utilization increases.</p><p>Using Git Bash, I installed a stress tool to check how the solution will work in a situation of high volume of requests and high CPU utilization.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*MXYnlu1ToR3sJ_sDUw8I1Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DeL2e5HFwd3-3Irwkj78Tw.png" /><figcaption>Elastic Beanstalk health showing a warning message</figcaption></figure><p>By the time Elastic Beanstalk detected an abnormal high CPU utilization, it immediately started to provision an extra instance to increase the application processing power reducing performance impact to other requests.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CDEhv1al0Pe-WOV2UCR82A.png" /><figcaption>A third EC2 instance is being provisioned to increase application’s processing power</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TYBwgSQ1EJ5JEgQgrZKgrg.png" /><figcaption>Auto Scaling events showing that a new EC2 instance is successfully deployed</figcaption></figure><p>In conclusion, this project was great to learn how Amazon Web Services can be used to deploy a high availability application. As a Business Analyst / Project Manager working on a project that requires a high availability, accessed in different regions around the globe, this type of solution is a perfect fit. It’s also a good solution for applications with seasonal volume of utilization such as eCommerce during holiday season or bit promotions dates like Black Friday.</p><p>It was a pleasure to work on this project and learn all these possibilities. And as usual, I’m looking forward to the next one.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f80bcbd0135e" 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/@acmaximo/migration-of-a-workload-running-in-a-corporate-data-center-to-aws-using-the-amazon-ec2-and-rds-bfd88715bbca?source=rss-6921baf4a07------2</link>
            <guid isPermaLink="false">https://medium.com/p/bfd88715bbca</guid>
            <dc:creator><![CDATA[Alexandro Maximo]]></dc:creator>
            <pubDate>Sun, 27 Aug 2023 14:17:33 GMT</pubDate>
            <atom:updated>2023-08-27T14:17:33.727Z</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>Migration of a Workload running in a Corporate Data Center to AWS using the Amazon EC2 and RDS service</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 Datacenter to AWS.<br> The application and database were migrated to AWS using the Lift &amp; Shift (rehost) model, moving both application and database data.</p><p>I followed some migration steps: 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><p>The image below shows the Solution Architecture we are going to implement in order to migrate the on-premise infrastructure and application to AWS Cloud.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0Y_jNDDOvBs6UwkMYSFa2g.png" /></figure><p>The first phase of this project was the Planning. Before starting working on AWS Console, we need to assess what we are transferring and how we are going to do that.</p><p>The spreadsheet bellow was the result of the planning phase showing the infrastructure sizing estimation and prerequisites:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uKrxEBYRlyJe3H0KKJEEcw.png" /><figcaption>Sizing Estimate</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8beJv_cnRI2fUJhhMW0lqw.png" /><figcaption>Prerequisites</figcaption></figure><p>Now that I know what it is necessary to migrate, I started the infrastructure implementation on AWS.</p><p>The first thing I did was create the Virtual Private Cloud (VPC) and set the network structure setting up the IP Range, the Public and Private Subnet, the Gateway, and the Route Table.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZZgzTsz6RBVyShfLuYmf_w.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tV4E81JoTg-rehht_zQUHA.png" /></figure><p>Following, it’s time to create the application instance on Amazon Elastic Compute Cloud (EC2) using the spreadsheet created on the planning phase and following the sizing estimation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cyOOFoIztyH3IS1G0DGb1Q.png" /><figcaption>EC2 Application instance</figcaption></figure><p>The next consisted in creating the Database instance using the Amazon Relational Database Service (RDS) also following the sizing estimate and the software prerequisites that indicates that the company uses MySQL 5.7.</p><p>It is important to mention that there are many newer engine versions for MySQL but to avoid compatibility issues, we will stick to the version the company was already using in its on-premise infrastructure. If I used a different version and an error occurred I would not know if it was a migration or a compatibility issue.</p><p>In the future, after the go live and stabilization, we will be able to plan the software update.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ItZwJpQUMf6pI4E39QrQLQ.png" /></figure><p>Going forward, now that we have all the necessary infrastructure implemented, it’s time for the Go Live phase. Let’s first implement the Dry Run by migrating the application and database from the on-premise infrastructure to the new Cloud Infrastructure to test and validate if everything is working exactly like in the on-premise production environment.</p><p>With the database backup and the copy of the application, I prepared the new application instance by installing the prerequisites softwares so the application can run the same way. It is important to mention that here we are following the exact versions to avoid compatibility issues.</p><p>I used Git Bash and CLI to connect to AWS and speed up the migration process.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*32XkRZjfw85merr2KHZfRg.png" /><figcaption>Git Bash terminal installing prerequisites and uploading the backup files</figcaption></figure><p>After the app installation and database restoration I tested the application to make sure it was working properly. I was able to access the application, check that the data was exactly like it was in the production environment. In addition, I tested the whole application to make sure it was working by adding data to the database.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pGV-TPux9k7eUMaUo_m-3w.png" /></figure><p>The validation was a success and now it’s time for the Final Migration and cutover. A new database backup will be created, migrated to the cloud and the production access will be transferred to the new infrastructure.</p><p>In a real scenario the Post Go-live phase starts on Stability and Ongoing Support.</p><p>It was a huge experience working on this project where I could work on a real world infrastructure migration scenario since the planning until the go-live.</p><p>Looking forward to the next hands-on…</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bfd88715bbca" 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/@acmaximo/automated-user-migration-and-management-of-aws-identity-and-access-management-iam-resources-12b8fc353989?source=rss-6921baf4a07------2</link>
            <guid isPermaLink="false">https://medium.com/p/12b8fc353989</guid>
            <category><![CDATA[aws-iam]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <dc:creator><![CDATA[Alexandro Maximo]]></dc:creator>
            <pubDate>Sun, 20 Aug 2023 15:39:21 GMT</pubDate>
            <atom:updated>2023-08-20T20:00:49.619Z</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 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, 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>Using GitBash with AWS CLI and Shell Script, I could implement an automated process to migrate the users from an on-premise environment to AWS cloud, saving time and ensuring proper practices. That’s the type of non-functional requirements that I will be recommending as a Cloud Business Analyst.</p><p><strong>Step by step process:</strong></p><p>First, we received from HR an Excel spreadsheet with a list of user accounts to create. Since the list contains 100 users, it would be very time consuming to create them one by one.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*h-YuwRrbF9x0V5VLtXE2WQ.png" /></figure><p>Before implementing the automation process we need to work on this spreadsheet to format it with the information needed to create the users. The first thing I did was to remove the name column, then we used the user email to extract the username by removing the email domain using the “find-replace” function on Excel.</p><p>In addition, I changed the Team Column description to match the group names we created on AWS IAM as follow:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xzWqBSwmGk1k0sjPYQPfIg.png" /></figure><p>Also, I created a column to store the initial password, which will be replaced in the first login. I reduced the number of users and saved a copy in a different file so the process could run faster.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*myaZqaM_RKEY3Bxo3RdMxw.png" /></figure><p>Now, it’s time to run the automated script using AWS CloudShell running CLI and shell script, this was done to read the CSV file and create the users while associating them the correct group. In addition, in the creating process I required the users to update their password on the fist login.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*La19Lb0DW2gaLGaLNYnoHw.png" /><figcaption>Users being created through automated process</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lWkNftkaVtcuIvnrFDnmWQ.png" /><figcaption>Users created and assigned to the correct groups</figcaption></figure><p>I also created a custom password policy and utilized a JSON file to force the users to use Multi-Factor Authentication (MFA) by assigning the policy to each of the groups.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GhtJNo9CIiROUnYz0HcIRw.png" /><figcaption>Example of one group with the police assigned</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*K2jGxLI-YpkaRvUPHAv7vg.png" /><figcaption>One of the users with the MFA created</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8IWpYQY4NRW2CJ8Eaksjog.png" /><figcaption>List of users showing 2 of those with the MFA already implemented</figcaption></figure><p>Well, this was my first Hands-on and I am very excited for the next ones.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=12b8fc353989" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>