{"id":30131084,"url":"https://github.com/finkord/gogs-devops-intership","last_synced_at":"2026-04-08T23:34:28.753Z","repository":{"id":296299459,"uuid":"992532700","full_name":"finkord/gogs-devops-intership","owner":"finkord","description":"This repository contains the infrastructure-as-code (IaC) setup for deploying a full-featured Gogs (Go Git Service) instance in AWS using Terraform. ","archived":false,"fork":false,"pushed_at":"2026-01-19T21:52:39.000Z","size":6456,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-20T04:20:03.900Z","etag":null,"topics":["ansible","aws","docker","docker-compose","terraform","vagrant"],"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/finkord.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-05-29T10:01:39.000Z","updated_at":"2025-08-08T23:38:11.000Z","dependencies_parsed_at":"2025-05-30T00:19:32.555Z","dependency_job_id":"eb17521b-465a-4f2b-90ee-3f707c388766","html_url":"https://github.com/finkord/gogs-devops-intership","commit_stats":null,"previous_names":["finkord/gogs-devops-intership"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/finkord/gogs-devops-intership","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/finkord%2Fgogs-devops-intership","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/finkord%2Fgogs-devops-intership/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/finkord%2Fgogs-devops-intership/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/finkord%2Fgogs-devops-intership/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/finkord","download_url":"https://codeload.github.com/finkord/gogs-devops-intership/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/finkord%2Fgogs-devops-intership/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31579056,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["ansible","aws","docker","docker-compose","terraform","vagrant"],"created_at":"2025-08-10T19:00:29.994Z","updated_at":"2026-04-08T23:34:28.736Z","avatar_url":"https://github.com/finkord.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Terraform Gogs Infrastructure Deployment\n\nThis repository provisions and manages cloud infrastructure to deploy the **Gogs** self-hosted Git service on **Amazon Web Services (AWS)**. It is developed as part of a DevOps internship project using **Terraform** for Infrastructure as Code and **GNU Make** for workflow automation.\n\nThe architecture is container-based, using **Amazon ECS with Fargate**, and integrates CI/CD pipelines and secure networking. The infrastructure is modular, reproducible, and suitable for production use.\n\n## Prerequisites\n\n- [Terraform](https://www.terraform.io/downloads.html) \u003e= 1.0\n- [GNU Make](https://www.gnu.org/software/make/)\n- AWS CLI configured with valid credentials (`aws configure`)\n\n## Directory Structure\n\n```text\n├── envs/         # Environment-specific configurations (e.g., dev/, global/)\n├── modules/      # Reusable infrastructure modules (VPC, ECS, etc.)\n├── Makefile      # Task automation for all common actions\n└── README.md\n```\n\n## Usage\n\nAll infrastructure actions are performed using `make` commands. The main variables are:\n\n- `ENV` — Environment (default: `dev`)\n- `SERVICE` — Service/component (e.g., `vpc`, `alb`, `rds`, etc.)\n\n### Common Commands\n\n1. **Initialize Terraform for a Service**\n\n   ```sh\n   make init ENV=dev SERVICE=vpc\n   ```\n\n2. **Plan Infrastructure Changes**\n\n   ```sh\n   make plan ENV=dev SERVICE=vpc\n   ```\n\n3. **Apply Changes**\n\n   ```sh\n   make apply ENV=dev SERVICE=vpc\n   ```\n\n4. **Show Outputs**\n\n   ```sh\n   make output ENV=dev SERVICE=vpc\n   ```\n\n5. **Destroy Infrastructure**\n\n   ```sh\n   make destroy ENV=dev SERVICE=vpc\n   ```\n\n### Convenience Shortcuts\n\nYou can use shortcut targets for common services, e.g.:\n\n```sh\nmake vpc-init\nmake vpc-plan\nmake vpc-apply\nmake vpc-destroy\n```\n\nSee the [Makefile](Makefile) for all available shortcuts.\n\n### Full Deployment Order\n\nTo deploy the full stack, run the following in order (adjust as needed for your environment):\n\n1. **Global resources (e.g., ECR, S3):**\n   ```sh\n   make ecr-apply\n   make s3-apply\n   ```\n\n2. **Networking and security:**\n   ```sh\n   make vpc-apply\n   make sg-apply\n   ```\n\n3. **Core infrastructure:**\n   ```sh\n   make rds-apply\n   make efs-apply\n   make alb-apply\n   make endpoints-apply\n   make route53-apply\n   ```\n\n4. **Application and supporting services:**\n   ```sh\n   make ecs-apply\n   make iam-apply\n   make jenkins-apply\n   make ebs-apply\n   ```\n\n**Tip:** Always run `make plan` before `make apply` to review changes.\n\n## Cleaning Up\n\nTo remove all resources for a service:\n\n```sh\nmake destroy ENV=dev SERVICE=\u003cservice\u003e\n```\n\nOr use the shortcut:\n\n```sh\nmake vpc-destroy\n```\n\n## Help\n\nList all available commands:\n\n```sh\nmake help\n```\n\n---\n\nFor more details, see the [Makefile](Makefile) and the `envs/` directory for service-specific configurations.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffinkord%2Fgogs-devops-intership","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffinkord%2Fgogs-devops-intership","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffinkord%2Fgogs-devops-intership/lists"}