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
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…
Below are few screenshots:
HumanGov Logo
Installing Ansible and Python on AWS EC2 instance
Terraform init
Terraform apply — state of California
Git commit
humangov.service
AWS EC2 public dns for the state of California
HumanGov application for the state of California
View employees page
Add employee
Employee added in the Dynamo DB table in AWS
S3 bucket
All the above infrastructure and application you see above are deployed manually without using Ansible.
— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —
Now adding the same infrastructure that you see above by a fully automated way using Ansible which can be scaled to as many states as we need to in just a few minutes.
Ansible Playbook for California
Public dns of the infrastructure provisioned by Ansible for the state of California
Application Up and running for the state of California
Now adding the Florida and Nevada to the Infrastructure
Ansible Playbook runs and builds the infrastructure for the states of Florida and Nevada.
Terraform outputs the public dns for California, Florida and Nevada
EC2 instances for California, Florida and Nevada
Application Up and running for the state of Florida
Application Up and running for the state of Nevada
AWS EC2 instances for California, Florida and Nevada
AWS S3 buckets to store the pdf files for California, Florida and Nevada
Adding the infrastructure and application code to Git
Git commit
Git push
AWS Code commit
Infrastructure, Application and Terraform code commit to AWS CodeCommit
Now we can see the power of Ansible how we can use it to deploy the infrastructure in a fully automated way using Terraform in minutes. Amazing!!!