{"id":23469994,"url":"https://github.com/joshbaneycs/devops-example-three-tier-architecture","last_synced_at":"2025-04-12T23:46:25.960Z","repository":{"id":266023962,"uuid":"897145962","full_name":"JoshBaneyCS/devops-example-three-tier-architecture","owner":"JoshBaneyCS","description":"three tier cloud architecture using Terraform","archived":false,"fork":false,"pushed_at":"2024-12-02T05:44:17.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-16T05:42:44.313Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JoshBaneyCS.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"security-groups.tf","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-02T05:36:52.000Z","updated_at":"2024-12-02T05:44:20.000Z","dependencies_parsed_at":"2024-12-02T06:38:02.769Z","dependency_job_id":null,"html_url":"https://github.com/JoshBaneyCS/devops-example-three-tier-architecture","commit_stats":null,"previous_names":["joshbaneycs/devops-example-three-tier-architecture"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoshBaneyCS%2Fdevops-example-three-tier-architecture","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoshBaneyCS%2Fdevops-example-three-tier-architecture/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoshBaneyCS%2Fdevops-example-three-tier-architecture/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoshBaneyCS%2Fdevops-example-three-tier-architecture/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JoshBaneyCS","download_url":"https://codeload.github.com/JoshBaneyCS/devops-example-three-tier-architecture/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248647255,"owners_count":21139081,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-24T15:37:44.908Z","updated_at":"2025-04-12T23:46:25.936Z","avatar_url":"https://github.com/JoshBaneyCS.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Three-Tier Cloud Architecture with Terraform\r\n\r\n## Overview\r\nThis project demonstrates how to implement a **three-tier cloud architecture** using **Terraform** on AWS. The architecture is designed for scalability, security, and performance, making it an ideal solution for organizations such as a **large orthopedic surgery practice** transitioning its IT infrastructure to the cloud. \r\n\r\nWith automated infrastructure deployment and a modular design, this solution enables rapid provisioning, seamless scaling, and secure management of resources, meeting both operational and compliance requirements.\r\n\r\nObviously, I wanted to show case my Terraform and IaC knowledge, but the real project could not be uploaded to GitHub as it is a working production for said Orthopedic Office, so this is a generic version of the deployment I did. \r\n---\r\n\r\n## Architecture Highlights\r\n\r\n### 1. **Web Tier**\r\n- Elastic Load Balancer (ELB) for distributing incoming traffic.\r\n- Auto Scaling Group (ASG) for scaling EC2 instances dynamically based on demand.\r\n\r\n### 2. **Application Tier**\r\n- EC2 instances configured to handle business logic and application processing.\r\n- IAM roles for secure access to AWS resources.\r\n\r\n### 3. **Database Tier**\r\n- Amazon RDS (MySQL) deployed in private subnets for secure data storage.\r\n- Managed database features such as encryption and automated backups.\r\n\r\n### 4. **Networking**\r\n- Virtual Private Cloud (VPC) with public, private, and database subnets.\r\n- NAT Gateway for controlled internet access for private resources.\r\n\r\n### 5. **Security**\r\n- Security Groups with tier-specific access rules.\r\n- IAM policies following the principle of least privilege.\r\n\r\n---\r\n\r\n## Use Cases for a Large Orthopedic Surgery Practice\r\n\r\n### **Enhanced Patient Management**\r\nSecurely store and access patient records, schedule appointments, and integrate with Electronic Health Record (EHR) systems.\r\n\r\n### **Scalable Imaging System**\r\nHandle the storage and processing of large medical imaging files (e.g., X-rays, MRIs) with high performance and scalability.\r\n\r\n### **Secure Remote Access**\r\nEnable doctors and staff to securely access systems remotely, maintaining HIPAA compliance with data protection measures.\r\n\r\n### **Cost Efficiency**\r\nDynamically scale resources based on usage, optimizing costs during peak and off-peak hours.\r\n\r\n### **Regulatory Compliance**\r\nEnsure compliance with healthcare standards through secure networking, data encryption, and access controls.\r\n\r\n---\r\n\r\n## Deployment Instructions\r\n\r\n### **1. Prerequisites**\r\n- AWS account with sufficient permissions.\r\n- Terraform installed on your local machine.\r\n- Basic understanding of Terraform and AWS services.\r\n\r\n### **2. Steps to Deploy**\r\n1. Clone the repository:\r\n   ```bash\r\n   git clone https://github.com/JoshBaneyCS/devops-example-three-tier-architecture\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoshbaneycs%2Fdevops-example-three-tier-architecture","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoshbaneycs%2Fdevops-example-three-tier-architecture","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoshbaneycs%2Fdevops-example-three-tier-architecture/lists"}