{"id":22558056,"url":"https://github.com/jd-apprentice/base-web-server","last_synced_at":"2026-03-19T23:07:43.700Z","repository":{"id":189419410,"uuid":"680629135","full_name":"jd-apprentice/base-web-server","owner":"jd-apprentice","description":"Base template for a EC2 server with terraform + ansible","archived":false,"fork":false,"pushed_at":"2023-08-22T05:17:34.000Z","size":39,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T11:34:49.767Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://blog.jonathan.com.ar/unleashing-automation-spinning-up-ec2-instances-with-the-dynamic-duo-of-terraform-and-ansible","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jd-apprentice.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2023-08-19T21:35:21.000Z","updated_at":"2023-08-22T18:14:08.000Z","dependencies_parsed_at":"2023-08-20T00:25:33.875Z","dependency_job_id":"5e3cecb9-cdc7-44ad-8e88-8b97276fcc8d","html_url":"https://github.com/jd-apprentice/base-web-server","commit_stats":null,"previous_names":["jd-apprentice/base-web-server"],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/jd-apprentice/base-web-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jd-apprentice%2Fbase-web-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jd-apprentice%2Fbase-web-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jd-apprentice%2Fbase-web-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jd-apprentice%2Fbase-web-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jd-apprentice","download_url":"https://codeload.github.com/jd-apprentice/base-web-server/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jd-apprentice%2Fbase-web-server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274754468,"owners_count":25343026,"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-09-12T02:00:09.324Z","response_time":60,"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":[],"created_at":"2024-12-07T20:11:09.768Z","updated_at":"2025-10-29T05:14:04.972Z","avatar_url":"https://github.com/jd-apprentice.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Template to run AWS EC2 + Docker 🐋\n\n![IMG](./readme.jpg)\n\n### Requirements 🙂\n\n- Terraform\n- Ansible\n- AWS Free Tier Account\n- Unix based OS\n\n### Steps 📫\n\n1. Create your ssh-key\n2. Optain your variables from AWS\n3. Populate the variables in `secret.tfvars` file\n4. Populate the `PRIVATE_KEY_PATH` in the `Makefile`\n5. Verify things like `ami`, `instance_type`, `region` in `variables.tf`\n6. Run `make init`\n7. Run `make`\n\n### Troubleshooting 🧰\n\nIn case the ansible part fail run `make connect` to connect to the instance manually. After the connection is done exit and run `make playbook` to run the ansible playbook again.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjd-apprentice%2Fbase-web-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjd-apprentice%2Fbase-web-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjd-apprentice%2Fbase-web-server/lists"}