{"id":25599277,"url":"https://github.com/suhas-005/terraform-deploy-2-tier-application-aws","last_synced_at":"2026-04-11T11:03:38.041Z","repository":{"id":278697653,"uuid":"933243992","full_name":"suhas-005/terraform-deploy-2-tier-application-aws","owner":"suhas-005","description":"Deploy a 2-tier application using Terraform on AWS","archived":false,"fork":false,"pushed_at":"2025-02-22T14:01:03.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-02T08:28:06.462Z","etag":null,"topics":["aws","ec2","multi-tier","rds-mysql","terraform","terraform-module","two-tier-architecture","wordpress"],"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/suhas-005.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-02-15T13:58:44.000Z","updated_at":"2025-02-22T14:01:06.000Z","dependencies_parsed_at":"2025-02-21T07:33:16.933Z","dependency_job_id":"ef0ae4b7-30cd-4601-a6e2-7b29283e5775","html_url":"https://github.com/suhas-005/terraform-deploy-2-tier-application-aws","commit_stats":null,"previous_names":["suhas-005/terraform-deploy-2-tier-application-aws"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/suhas-005/terraform-deploy-2-tier-application-aws","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suhas-005%2Fterraform-deploy-2-tier-application-aws","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suhas-005%2Fterraform-deploy-2-tier-application-aws/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suhas-005%2Fterraform-deploy-2-tier-application-aws/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suhas-005%2Fterraform-deploy-2-tier-application-aws/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/suhas-005","download_url":"https://codeload.github.com/suhas-005/terraform-deploy-2-tier-application-aws/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suhas-005%2Fterraform-deploy-2-tier-application-aws/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31677819,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T08:18:19.405Z","status":"ssl_error","status_checked_at":"2026-04-11T08:17:08.892Z","response_time":54,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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","ec2","multi-tier","rds-mysql","terraform","terraform-module","two-tier-architecture","wordpress"],"created_at":"2025-02-21T14:21:33.753Z","updated_at":"2026-04-11T11:03:38.007Z","avatar_url":"https://github.com/suhas-005.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Deploy Two-tier Application on AWS using Terraform\n\nThis repository will help you deploy Wordpress application in a Multi-AZ environment on AWS\n\nCustom modules have been created for this development\n- network module: creates vpc, subnets, route table and internet gaetway\n- security module: creates security groups\n- rds module: creates rds database\n- ec2 module: creates ec2 instances and sets up wordpress on docker\n- alb module: creates Load Balances listening on port 80\n\n### Pre-requisites to run this terraform code\n- Create a S3 bucket to store remote backend and specify the bucket name in ```backend.tf``` file.\n- Create a Dynamo DB with Partition key as ```LockID``` and specify the DB name in ```backend.tf``` file.\n- Create a ```secrets.tfvars``` and specify the password in the file as ```database_password = \u003cyour password\u003e```\n\n### Run the code\n```terraform init```\u003cbr\u003e\n```terraform plan -var-file=\"secret.tfvars\"```\u003cbr\u003e\n```terraform apply -var-file=\"secret.tfvars\"```\u003cbr\u003e\n\n- You will get an output at the end of the code run \"ELB_DNS\". Use that as URL on your browser","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuhas-005%2Fterraform-deploy-2-tier-application-aws","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsuhas-005%2Fterraform-deploy-2-tier-application-aws","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuhas-005%2Fterraform-deploy-2-tier-application-aws/lists"}