<?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 Dan Johnson on Medium]]></title>
        <description><![CDATA[Stories by Dan Johnson on Medium]]></description>
        <link>https://medium.com/@danwjohnson1982?source=rss-76f402ff1f60------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*4tuPJQaXMGL6GdRZa9hofw.jpeg</url>
            <title>Stories by Dan Johnson on Medium</title>
            <link>https://medium.com/@danwjohnson1982?source=rss-76f402ff1f60------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 07:32:27 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@danwjohnson1982/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: Deployment Of HumanGov SaaS Application on AWS Elastic Kubernetes Service (EKS) Using a…]]></title>
            <link>https://danwjohnson1982.medium.com/humangov-deployment-of-humangov-saas-application-on-aws-elastic-kubernetes-service-eks-using-a-dd6fcd6dff82?source=rss-76f402ff1f60------2</link>
            <guid isPermaLink="false">https://medium.com/p/dd6fcd6dff82</guid>
            <dc:creator><![CDATA[Dan Johnson]]></dc:creator>
            <pubDate>Tue, 09 Jan 2024 16:05:09 GMT</pubDate>
            <atom:updated>2024-01-09T16:05:09.319Z</atom:updated>
            <content:encoded><![CDATA[<h3><em>HumanGov: Deployment Of HumanGov SaaS Application on AWS Elastic Kubernetes Service (EKS) Using a Route 53 Domain, ALB Ingress, and SSL Endpoint Powered by AWS Certificate Manager.</em></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*wWLITFCIAZ65ncXN.png" /></figure><p><strong>Project description:</strong></p><p>In this comprehensive project, I tackled the challenge of deploying the HumanGov SaaS application using the Amazon Web Services (AWS) platform, specifically focusing on Elastic Kubernetes Service (EKS) for orchestration, along with Route 53 for domain management, Application Load Balancer (ALB) for ingress, and AWS Certificate Manager for SSL endpoint encryption.</p><p>My journey commenced with the foundational work of setting up the AWS VPC and EKS cluster. I proceeded with the installation of kubectl and eksctl on Cloud 9, leveraging these tools to interact with the EKS cluster.</p><p>The application was containerized using Docker, which involved writing Dockerfiles and optimizing the build process for the HumanGov app. Once containerized, the images were pushed to the Amazon Elastic Container Registry (ECR), ensuring they were ready for deployment.</p><p>With the ECR set, I crafted Kubernetes deployment and service manifests. This allowed me to define the desired state of the application, including the number of pods, resource limits, and the necessary environment variables.</p><p>For domain management and traffic routing, I configured a Route 53 hosted zone and records. This was integral for domain name resolution and providing a user-friendly URL for the application.</p><p>To manage incoming traffic, I set up an ALB and configured ingress resources. This step was crucial for directing traffic to the correct services within the EKS cluster and for enabling SSL termination at the ALB level.</p><p>I utilized AWS Certificate Manager to provision and manage the SSL certificate, ensuring encrypted and secure communication to and from the application.</p><p>The outcome was a highly available, secure, and scalable HumanGov SaaS application on AWS EKS, accessible via a secure domain. This deployment not only showcased the efficiency of Kubernetes on AWS but also the robustness of AWS’s networking and security services.</p><p>Key takeaways from this project include a deepened understanding of Kubernetes on AWS, domain and traffic management, SSL encryption, and containerization.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*yXoOSTn_fI_6aznn6Ss3BQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*tziOCZ0mA14YDSHq5l7rSQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*tzoshAxAZF4CAtI7.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dd6fcd6dff82" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[HumanGov: Proof of Concept (POC) on AWS Elastic Container Service (ECS) fronted By Application Load…]]></title>
            <link>https://danwjohnson1982.medium.com/humangov-proof-of-concept-poc-on-aws-elastic-container-service-ecs-fronted-by-application-load-48604641651b?source=rss-76f402ff1f60------2</link>
            <guid isPermaLink="false">https://medium.com/p/48604641651b</guid>
            <dc:creator><![CDATA[Dan Johnson]]></dc:creator>
            <pubDate>Fri, 13 Oct 2023 15:58:49 GMT</pubDate>
            <atom:updated>2023-10-13T15:58:49.071Z</atom:updated>
            <content:encoded><![CDATA[<h3><em>HumanGov: Proof of Concept (POC) on AWS Elastic Container Service (ECS) fronted By Application Load Balancer (ALB) and Storing Docker Images on Elastic Container Registry (ECR)</em></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*iGEALNYRX2x9xT6R.jpg" /></figure><p>During this hands-on project, I delved into the intricate world of cloud architecture and deployment. My task revolved around the HumanGov application, which was to be modernized, containerized, and deployed onto the AWS Cloud environment. I started by creating necessary IAM roles, followed by initializing the AWS Cloud 9 environment and cleaning up outdated directories. This set the stage for our application transition, as I then containerized the HumanGov application using Docker. Next, I built and pushed our Docker images to AWS ECR for both our Flask app and the NGINX application. The meticulous step-by-step process ensured each layer was built properly with the right configurations.</p><p>Using Terraform, I provisioned an AWS S3 Bucket and a DynamoDB table. Terraform’s Infrastructure as Code capability streamlined this process, allowing me to instantiate, modify, and version infrastructure safely and efficiently. With AWS S3 and DynamoDB ready, it was then onto the Elastic Container Service (ECS). After creating an ECS cluster, I formulated a Task Definition for our ECS deployment.</p><p>This definition detailed the containers, their roles, and necessary configurations, from environment variables to port settings.</p><p>Finally, it was time for deployment. I set up a service on ECS, using Fargate as the launch type. The service seamlessly integrated our Docker containers, AWS configurations, and the necessary resources to ensure our application’s optimal performance. The results were a fully functional, scalable, and resilient cloud-based HumanGov application.</p><p>Overall, this project gave me an in-depth understanding of cloud deployment processes, from IAM roles, Docker containerization, AWS ECR, Terraform provisioning, to AWS ECS service deployment. Each step was a lesson in best practices, troubleshooting, and the immense potential of cloud technologies.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*j2_1XauYLGsxyF2-.jpg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=48604641651b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[100% Managed Wiki deployment using Microsoft Azure App Service (Docker-based) and Azure Database…]]></title>
            <link>https://danwjohnson1982.medium.com/100-managed-wiki-deployment-using-microsoft-azure-app-service-docker-based-and-azure-database-c56686982e7c?source=rss-76f402ff1f60------2</link>
            <guid isPermaLink="false">https://medium.com/p/c56686982e7c</guid>
            <dc:creator><![CDATA[Dan Johnson]]></dc:creator>
            <pubDate>Fri, 13 Oct 2023 15:52:38 GMT</pubDate>
            <atom:updated>2023-10-13T15:52:38.448Z</atom:updated>
            <content:encoded><![CDATA[<h3><em>100% Managed Wiki deployment using Microsoft Azure App Service (Docker-based) and Azure Database for PostgreSQL Servers.</em></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ZB0jP5Ygg2Jo2Rev.jpg" /></figure><p>In this project based on a real-world scenario, I worked as a Cloud Engineer to deploy a Wiki to the cloud, 100% web, with access for all team members. This enabled collaborative document creation, and all team members could see the latest version of the document and propose improvements, allowing the team to better organize and manage documents.</p><p>To this solution deployment, I used Azure Database for PostgreSQL Servers and Azure App Service.</p><p>All important, procedural and operational documents, such as Runbooks and Knowledge Bases (KBs), which must always be available and are constantly updated, were no longer stored locally (standalone), avoiding data inconsistencies.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*GeL9B2njEiDKpmTx.jpg" /></figure><p>Using a PostgreSQL Database, I created a new Azure App Service (Docker) and downloaded a wiki image from Docker Hub.</p><p>I then configured the app service to my settings and restarted.</p><p>Once the service was back up, I logged into the Wiki with a new logo and edited the titles.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AVmfIwMi846baoc3Q-uBjw.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c56686982e7c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Serverless website deployment 100% automated in multiple environments (Test, QA and Production)…]]></title>
            <link>https://danwjohnson1982.medium.com/serverless-website-deployment-100-automated-in-multiple-environments-test-qa-and-production-f316047f6172?source=rss-76f402ff1f60------2</link>
            <guid isPermaLink="false">https://medium.com/p/f316047f6172</guid>
            <dc:creator><![CDATA[Dan Johnson]]></dc:creator>
            <pubDate>Fri, 13 Oct 2023 15:45:10 GMT</pubDate>
            <atom:updated>2023-10-13T15:45:10.682Z</atom:updated>
            <content:encoded><![CDATA[<h3><em>Serverless website deployment 100% automated in multiple environments (Test, QA and Production) using Azure DevOps Repos and Pipelines (CI/CD)</em></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*3ggwLhM_pf-8FQGQ.jpg" /></figure><p>In another project based on a real-world scenario, I worked as a Cloud Engineer using DevOps, where I deployed a serverless website in a 100% automated way using Azure DevOps Repos and Azure DevOps Pipelines resources.</p><p>Azure DevOps Organization and a new project have been created. The Azure DevOps Repos stored the website files, and the CI/CD Pipelines automated the entire website deployment process in 3 different environments (Test, QA, and Production).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*JfJfoKJ7H63e8QhL.jpg" /></figure><p>First, I created a storage account for each environment: test, staging and production. I then enabled the static hosting for the website and uploaded the index.html file.</p><p>In Azure, I created a new DevOps Organization and a new project for the website. I cloned the code for the site from a GitHub repository and pushed the code to my Azure repos.</p><p>In Azure DevOps, I created a new pipeline for the test environment. Once that was completed, I cloned the pipeline to the Staging environment. Once that was updated, I then Cloned that to the production pipeline, but not before I set myself up and an approver so we don’t have any bugs deployed out unnecessarily.</p><p>I then tested everything to make sure updates went through as expected and through the proper approvals.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f316047f6172" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[PostgreSQL database deployment with knowledge transfer to on-premises DBAs team using Microsoft…]]></title>
            <link>https://danwjohnson1982.medium.com/postgresql-database-deployment-with-knowledge-transfer-to-on-premises-dbas-team-using-microsoft-081639c0ad31?source=rss-76f402ff1f60------2</link>
            <guid isPermaLink="false">https://medium.com/p/081639c0ad31</guid>
            <dc:creator><![CDATA[Dan Johnson]]></dc:creator>
            <pubDate>Fri, 13 Oct 2023 15:26:16 GMT</pubDate>
            <atom:updated>2023-10-13T15:26:16.903Z</atom:updated>
            <content:encoded><![CDATA[<h3><em>PostgreSQL database deployment with knowledge transfer to on-premises DBAs team using Microsoft Azure Database for PostgreSQL Servers.</em></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*KxWGuc5cGj9EQv3g.jpg" /></figure><p>In another project based on a real-world scenario, I acted as a Cloud Specialist to show a team of on-premises DBAs how to provision a PostgreSQL database on Microsoft Azure.</p><p>I supported the deployment and showed the step-by-step to create the database service in Microsoft Azure. I shared how the connection to the database service in Azure worked, what were the steps of creating a new database, a new schema, and a new table. Also, I instructed them how to insert new records and query data in the table.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*t20VzjC4ZXqjVRCp.jpg" /></figure><p>First, I created the PostgreSQL Database in Azure.</p><p>I then showed them to download the pgAdmin app for easy management. For security, I added my public IP as the only IP address than can manage the database within Azure.</p><p>I then connected the pgAdmin app to the database. Using the app, I created a new DB, a new schema and a new table.</p><p>For testing, I used SQL to add a new entry that matched the table and then queried that data to ensure it was successful.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=081639c0ad31" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Infrastructure modernization, from on-premises to Microsoft Azure with backup solution using Azure…]]></title>
            <link>https://danwjohnson1982.medium.com/infrastructure-modernization-from-on-premises-to-microsoft-azure-with-backup-solution-using-azure-a088e13758b5?source=rss-76f402ff1f60------2</link>
            <guid isPermaLink="false">https://medium.com/p/a088e13758b5</guid>
            <dc:creator><![CDATA[Dan Johnson]]></dc:creator>
            <pubDate>Thu, 21 Sep 2023 14:19:39 GMT</pubDate>
            <atom:updated>2023-09-21T14:19:39.103Z</atom:updated>
            <content:encoded><![CDATA[<h3><em>Infrastructure modernization, from on-premises to Microsoft Azure with backup solution using Azure Files, Azure Backup and Recovery Services Vault.</em></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*t4gLUWtcbO5InZ-V.jpg" /></figure><p><strong>Project description:</strong></p><p>In this project based on a real-world scenario, I acted as a Cloud Specialist to modernize and migrate an on-premises infrastructure environment to Microsoft Azure. I deployed a set of Virtual Machines, the infrastructure, a shared file system and replaced backups from tape to cloud backups with 99.9% (3-nines) availability.</p><p>I used a Resource Group to organize resources, a VNet with a subnet where we would have the provisioning of 2 Application VMs and Azure Files as a shared file system solution between our Application VMs.</p><p>All the power and reliability of Azure Backup with Azure Recovery Services have been used to configure the backup of files in the shared file system. Once again, Azure Backup has been used to move the files to the Recovery Services Vault.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*s7H_ywFfhOvHK3f6.jpg" /></figure><p>I created 2 new VMs within Azure as well as a new File Share. I uploaded 5 new files in the file share and successfully connected the VMs to the file share.</p><p>Subsequently, I enabled the backup of the file share.</p><p>I then used SSH to connect to one of the VMs and deleted a couple files. I restored them from the BackUp created earlier. I then ensured that the files were restored successfully.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/639/1*gHPP52McyLPh0LOv3slVRg.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a088e13758b5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Home Office Solution during the COVID-19 Pandemic using Microsoft Azure VPN Gateway]]></title>
            <link>https://danwjohnson1982.medium.com/home-office-solution-during-the-covid-19-pandemic-using-microsoft-azure-vpn-gateway-ac51e39c7bdc?source=rss-76f402ff1f60------2</link>
            <guid isPermaLink="false">https://medium.com/p/ac51e39c7bdc</guid>
            <dc:creator><![CDATA[Dan Johnson]]></dc:creator>
            <pubDate>Tue, 19 Sep 2023 15:10:23 GMT</pubDate>
            <atom:updated>2023-09-19T15:10:23.551Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*vPhaWwVaRJPgv2XL.jpg" /></figure><p><strong>Project description:</strong></p><p>In this real world-based project, I acted as a Cloud Specialist to create a solution for people who were working in the office to start working from home, normally accessing the environment in Microsoft Azure, and without exposing the entire environment to the internet.</p><p>To solve this business problem and come up with a solution compatible with the requirements, I defined that it was necessary to implement Point-to-Site (P2S) VPNs, so that employees who were working from home would close an encrypted tunnel between their computer and the Microsoft Azure environment.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*O7O8O_xwRkXqw8p4.jpg" /></figure><p>The first step was to create a new virtual network. Then I created the VPN Gateway. To test the functionality of the new VPN, I created a new host for an Apache server with only a private IP address.</p><p>I downloaded the installer for the Azure VPN software and installed it on my local machine. Once connected, I was able to successfully ssh into the host and installed apache. Once configured to the default page, I checked the host to make sure I could see the default page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*7S55ajIybyoL0_TpK9c0RQ.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ac51e39c7bdc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[MultiCloud Federation — Microsoft Azure and Oracle Cloud Infrastructure using Single Sign-On for…]]></title>
            <link>https://danwjohnson1982.medium.com/multicloud-federation-microsoft-azure-and-oracle-cloud-infrastructure-using-single-sign-on-for-5eb233ee9c60?source=rss-76f402ff1f60------2</link>
            <guid isPermaLink="false">https://medium.com/p/5eb233ee9c60</guid>
            <dc:creator><![CDATA[Dan Johnson]]></dc:creator>
            <pubDate>Mon, 18 Sep 2023 15:52:38 GMT</pubDate>
            <atom:updated>2023-09-18T15:52:38.751Z</atom:updated>
            <content:encoded><![CDATA[<p><em>MultiCloud Federation — Microsoft Azure and Oracle Cloud Infrastructure using Single Sign-On for Teams Authentication</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*-ouV32jG9b1qdIkR.jpg" /></figure><p>In this project based on a real scenario, I was responsible for designing and implementing a MultiCloud architecture, by performing MultiCloud federation of users and groups between Azure Active Directory and OCI IAM.</p><p>There were multiple users who needed to authenticate to both Microsoft Azure and Oracle Cloud Infrastructure using the same login and password (single sign-on) to access resources.</p><p>Once the integration was implemented in Oracle Cloud Infrastructure, the mapping of users and groups was directly related to users and groups in Microsoft Azure through the federation service.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*hDiTNu4YezjR_yu-.jpg" /></figure><p>I first logged into OCI and gathered the federated XML file. I then logged into Azure and created an Adminstrator group. I assigned that group to a new Oracle Cloud Infrastructure Console integration Web App using the XML file from OCI. I downloaded the new XML file from the web app. Finally I logged back into OCI and uploaded the new XML file. To test the login process, I logged into OCI with my Azure account.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ezlWQ5m9p9Tg6gOOgwjaqg.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5eb233ee9c60" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Preparation, Docker Image Push and Deployment for Containerized Voting Application in Kubernetes…]]></title>
            <link>https://danwjohnson1982.medium.com/preparation-docker-image-push-and-deployment-for-containerized-voting-application-in-kubernetes-a079dc8c710d?source=rss-76f402ff1f60------2</link>
            <guid isPermaLink="false">https://medium.com/p/a079dc8c710d</guid>
            <dc:creator><![CDATA[Dan Johnson]]></dc:creator>
            <pubDate>Tue, 12 Sep 2023 19:27:23 GMT</pubDate>
            <atom:updated>2023-09-12T19:27:23.177Z</atom:updated>
            <content:encoded><![CDATA[<h3><em>Preparation, Docker Image Push and Deployment for Containerized Voting Application in Kubernetes Cluster using Docker, Azure Container Registry (ACR) and Azure Kubernetes Service (AKS)</em></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ZXpuP3zvI1JStiIp.jpg" /></figure><p>In another project based on a real world scenario, I had to act as a DevOps Engineer, and show a new team member how to deploy an application on a Kubernetes cluster.</p><p>This cluster is part of The Cloud Bootcamp project, and I prepared this new team member to deploy the voting application that was developed for the MultiCloud Experience, an online event where participants had the opportunity to learn about Cloud technologies.</p><p>I deployed it to Microsoft Azure cloud, where I first pushed the application’s Docker image to Azure Container Registry (ACR) and then used the Azure Kubernetes Service (AKS) service to deploy a cluster managed by Microsoft Azure.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*7g42IWglrgKVLFGj.jpg" /></figure><p>First, I downloaded the App that our developer built. I then created container registry.</p><p>After usinf Docker to login to the container registry, I built the Docker image using the Azure CloudShell. Subsequently, I edited the yaml file and ran the <em>kubectl apply</em> command to launch the app.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*iyi-BZ4CLDCduNIHJP5Rvw.png" /><figcaption>The voting App up and running</figcaption></figure><p>Next, I connected to the load balancer to ensure everything was operating as expected.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a079dc8c710d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[HumanGov: Configuration and Deployment of HumanGov SaaS Application on AWS EC2 Inventory Across US…]]></title>
            <link>https://danwjohnson1982.medium.com/humangov-configuration-and-deployment-of-humangov-saas-application-on-aws-ec2-inventory-across-us-1d46b0578da5?source=rss-76f402ff1f60------2</link>
            <guid isPermaLink="false">https://medium.com/p/1d46b0578da5</guid>
            <dc:creator><![CDATA[Dan Johnson]]></dc:creator>
            <pubDate>Tue, 15 Aug 2023 19:40:23 GMT</pubDate>
            <atom:updated>2023-08-15T19:40:23.985Z</atom:updated>
            <content:encoded><![CDATA[<h3><em>HumanGov: Configuration and Deployment of HumanGov SaaS Application on AWS EC2 Inventory Across US States Using Ansible Securely Storing Configuration Files on AWS Code Commit</em></h3><p><strong>Project description:</strong></p><p>In this project based on a real-world scenario, I used the Ansible configuration management automation to configure and deploy the innovative HumanGov SaaS application on AWS EC2 instances that will serve the entire United States.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Zi5HNtwMavwmO-TI" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*5uZDn9_MX4VnR4B0.jpg" /></figure><p>The first thing we did was update our Terraform files in our modules to update AWS IAM Roles and Policies to be used in the HumanGov app. Then we ran a terraform apply to rebuild the infrastructure.</p><p>I first built everything out in the initial EC2 instance manually just to see all the steps that would be involved. This was a very time consuming process for one state, so I then practiced Ansible to build everything for me.</p><p>My next step was to create the ansible directory in the infrastructure folder. I then created all the roles that I would be using in this project (tasks, handlers, templates, defaults, vars and files).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/372/1*LJmK_zBBJSTgPJCo_9KkBw.png" /><figcaption>List of folders used by Ansible</figcaption></figure><p>Subsequently, I filled in all those files with the Ansible code to build out the HumanGov App and ran Ansible-Playbook to test if it all worked for the first state.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*E9Utf450on6mQ49sWraz7Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*9F-VvUB7uUB56aQew98P-w.png" /><figcaption>Successful creation of the HumanGov app for the state of California</figcaption></figure><p>After troubleshooting typing errors, I then added Florida and Nevada to the terraform variables and ran the apply command to built out the new infrastructure. I ran the ansible playbook again to apply the configuration to the new states.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*bDcjBk2KdOPbpcSejfKTww.png" /><figcaption>State of Florida HumanGov app</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*5tDDPyLnFax4oWT7W86EKw.png" /><figcaption>State of Nevada HumanGov app</figcaption></figure><p>I then used git to commit all the new code for both the infrastructure and application respoitories to AWS CodeCommit</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*J5wJKorc418SzsgCceOMZA.png" /><figcaption>Infrastructure repository</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*1VpPwANc_TM3KWncZzxF1g.png" /><figcaption>Application repository</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1d46b0578da5" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>