{"id":29177824,"url":"https://github.com/synacktraa/ubuntu-on-ec2-using-tf","last_synced_at":"2026-02-23T23:34:12.136Z","repository":{"id":298397569,"uuid":"999842724","full_name":"synacktraa/ubuntu-on-ec2-using-tf","owner":"synacktraa","description":"Deploy ubuntu server on EC2 using Terraform.","archived":false,"fork":false,"pushed_at":"2025-06-10T22:09:02.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-01T18:10:42.819Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/synacktraa.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,"zenodo":null}},"created_at":"2025-06-10T21:53:49.000Z","updated_at":"2025-06-10T22:09:05.000Z","dependencies_parsed_at":"2025-06-10T23:25:00.777Z","dependency_job_id":"4183f79e-00fd-458c-8a08-9f10491854c6","html_url":"https://github.com/synacktraa/ubuntu-on-ec2-using-tf","commit_stats":null,"previous_names":["synacktraa/ubuntu-on-ec2-using-tf"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/synacktraa/ubuntu-on-ec2-using-tf","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/synacktraa%2Fubuntu-on-ec2-using-tf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/synacktraa%2Fubuntu-on-ec2-using-tf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/synacktraa%2Fubuntu-on-ec2-using-tf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/synacktraa%2Fubuntu-on-ec2-using-tf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/synacktraa","download_url":"https://codeload.github.com/synacktraa/ubuntu-on-ec2-using-tf/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/synacktraa%2Fubuntu-on-ec2-using-tf/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29760678,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-23T21:02:23.375Z","status":"ssl_error","status_checked_at":"2026-02-23T20:58:31.539Z","response_time":90,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":[],"created_at":"2025-07-01T18:08:21.601Z","updated_at":"2026-02-23T23:34:12.102Z","avatar_url":"https://github.com/synacktraa.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ubuntu on EC2 using terraform\n\n## Prerequisites\n\n1. **AWS CLI configured** with appropriate credentials\n2. **Terraform installed**\n\n## Deployment Steps\n\n### 1. Initialize Terraform\n\n```bash\ngit clone https://github.com/synacktraa/ubuntu-on-ec2-using-tf.git\ncd ubuntu-on-ec2-using-tf\nterraform init\n```\n\n### 2. Create Keys\n\n```bash\nssh-keygen -t rsa -b 4096 -f ec2-ubuntu\n```\n\n### 3. Apply the Configuration\n\n```bash\nterraform apply\n```\n\n#### Variables\n\n- `instance_type` - Change Instance's type (Default: `t3.small`)\n- `volume_size` - Modify storage size of the device (Default: `20gb`)\n- `allowed_cidr_blocks` - Restrict access to certain IPs (Default: `0.0.0.0/0`)\n\nType `yes` when prompted to confirm the deployment.\n\n### 4. Get Outputs\n\nAfter deployment, get the connection details:\n\n```bash\nterraform output\n```\n\n## Accessing the instance via SSH Tunnel\n\n```bash\n$(terraform output -raw ssh_command)\n```\n\n## Cleanup\n\nTo destroy all resources:\n\n```bash\nterraform destroy\n```\n\nType `yes` when prompted to confirm destruction.\n\n## Troubleshooting\n\n1. Verify security group rules allow your IP\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsynacktraa%2Fubuntu-on-ec2-using-tf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsynacktraa%2Fubuntu-on-ec2-using-tf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsynacktraa%2Fubuntu-on-ec2-using-tf/lists"}