{"id":27156715,"url":"https://github.com/sandyn12058/terraform-project","last_synced_at":"2026-04-20T04:03:12.904Z","repository":{"id":286438180,"uuid":"961396952","full_name":"SandyN12058/Terraform-project","owner":"SandyN12058","description":"This Terraform project demonstrates an end-to-end VPC setup on AWS, leveraging Infrastructure-as-Code (IaC). It automates network architecture with path-based routing via an internet-facing load balancer and scales instances using Auto Scaling Groups, ensuring repeatable and consistent deployments.","archived":false,"fork":false,"pushed_at":"2025-04-09T17:12:36.000Z","size":184,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-10T02:41:52.361Z","etag":null,"topics":["aws","aws-cli","cloud-automation","infrastructure-as-code","shell-scripting","terraform"],"latest_commit_sha":null,"homepage":"","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/SandyN12058.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":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-04-06T12:42:16.000Z","updated_at":"2025-04-09T17:12:39.000Z","dependencies_parsed_at":"2025-04-10T02:39:59.344Z","dependency_job_id":null,"html_url":"https://github.com/SandyN12058/Terraform-project","commit_stats":null,"previous_names":["sandyn12058/terraform-project"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SandyN12058/Terraform-project","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SandyN12058%2FTerraform-project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SandyN12058%2FTerraform-project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SandyN12058%2FTerraform-project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SandyN12058%2FTerraform-project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SandyN12058","download_url":"https://codeload.github.com/SandyN12058/Terraform-project/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SandyN12058%2FTerraform-project/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271369381,"owners_count":24747793,"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","status":"online","status_checked_at":"2025-08-20T02:00:09.606Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["aws","aws-cli","cloud-automation","infrastructure-as-code","shell-scripting","terraform"],"created_at":"2025-04-08T20:32:48.409Z","updated_at":"2026-04-20T04:03:07.689Z","avatar_url":"https://github.com/SandyN12058.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🚀 AWS Scalable Web App Deployment using Terraform\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"./diagrams/architecture.png\" alt=\"Project Architecture\" width=\"600\"/\u003e\n\u003c/p\u003e\n\nOriginally configured via AWS Console for learning, later refactored into Terraform for version control and better visibility.\nThis project provisions a highly available and scalable infrastructure on AWS using Terraform. It includes:\n- An **Application Load Balancer (ALB)** for routing HTTP traffic\n- Two **Auto Scaling Groups (ASGs)** for different applications\n- Two **Target Groups (TGs)** with path-based routing\n- **Launch Templates (LTs)** for EC2 instance configuration\n\n---\n\n## 🧰 Prerequisites\n\n- ✅ [Terraform](https://www.terraform.io/downloads)\n- ✅ [AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/install-cliv2.html)\n- ✅ AWS account with programmatic access (Access Key \u0026 Secret Key)\n- ✅ EC2 AMI configured with an app running on:\n  - Port `8000` for `/app1`\n  - Port `8001` for `/app2`\n\n---\n\n## ⚙️ How to Deploy\n\n#### 1. Clone the repository\n```bash\ngit clone https://github.com/SandyN12058/Terraform-project.git\ncd terraform-project\n```\n#### 2. Initialize Terraform\n```bash\nterraform init\n```\n#### 3. Preview the execution plan\n```bash\nterraform plan\n```\n#### 4. Apply the configuration\n```bash\nterraform apply\n```\n#### 5. Destroy the configuration\n```bash\nterraform destroy\n```\n\n---\n\n## 🌐 Application Access\nOnce deployed, access your application at: \u003cbr\u003e\n\n`http://\u003cLoadBalancer-DNS\u003e/app1/`   → App running on port 8000 \u003cbr\u003e\n`http://\u003cLoadBalancer-DNS\u003e/app2/`   → App running on port 8001 \u003cbr\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsandyn12058%2Fterraform-project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsandyn12058%2Fterraform-project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsandyn12058%2Fterraform-project/lists"}