{"id":23949820,"url":"https://github.com/ironexdev/ent-stack-devops","last_synced_at":"2026-04-14T14:33:21.561Z","repository":{"id":270837982,"uuid":"911609151","full_name":"ironexdev/ent-stack-devops","owner":"ironexdev","description":"AWS infrastructure and GitHub Actions for ENT Stack","archived":false,"fork":false,"pushed_at":"2025-01-22T23:36:18.000Z","size":75,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-19T18:40:30.590Z","etag":null,"topics":["aws","express","nextjs","terraform","trpc"],"latest_commit_sha":null,"homepage":"https://ent-stack.com","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/ironexdev.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-01-03T12:23:27.000Z","updated_at":"2025-01-22T23:36:21.000Z","dependencies_parsed_at":"2025-02-24T08:43:13.778Z","dependency_job_id":"68c32914-516f-4acd-95be-104dc2ef3b1f","html_url":"https://github.com/ironexdev/ent-stack-devops","commit_stats":null,"previous_names":["ironexdev/ent-stack-devops"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ironexdev/ent-stack-devops","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ironexdev%2Fent-stack-devops","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ironexdev%2Fent-stack-devops/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ironexdev%2Fent-stack-devops/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ironexdev%2Fent-stack-devops/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ironexdev","download_url":"https://codeload.github.com/ironexdev/ent-stack-devops/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ironexdev%2Fent-stack-devops/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31801402,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T11:13:53.975Z","status":"ssl_error","status_checked_at":"2026-04-14T11:13:53.299Z","response_time":153,"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":["aws","express","nextjs","terraform","trpc"],"created_at":"2025-01-06T11:51:38.573Z","updated_at":"2026-04-14T14:33:21.543Z","avatar_url":"https://github.com/ironexdev.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ENT Stack DevOps\n\nThis repository showcases one of many possible ways to build and deploy the \u003ca href=\"https://ent-stack.com/\" target=\"_blank\"\u003eENT Stack\u003c/a\u003e.\n\nIt provides infrastructure provisioned on AWS using Terraform for consistent, version-controlled setups.\n\nCI/CD pipelines are automated using GitHub Actions to handle testing, building, and deployment efficiently.\n\n- [Infrastructure Setup](docs/infrastructure-setup.md)\n- [Infrastructure Documentation](docs/infrastructure-documentation.md)\n- [CI/CD Setup](docs/cicd-setup.md)\n- [CI/CD Documentation](docs/cicd-documentation.md)\n\n⚠️ **Disclaimers**:\n- The hosting configuration is designed for non-production (UAT) workloads.\n- To use this setup, you should have at least some experience with AWS and Terraform.\n\n## Infrastructure Overview\n\nThe Terraform code defines a comprehensive AWS infrastructure, including a CloudFront distribution, ECS cluster, IAM roles, task definitions, VPC with public and private subnets, route tables, security groups, and CloudWatch log groups, providing a scalable and secure environment for the \u003ca href=\"https://ent-stack.com/\" target=\"_blank\"\u003eENT Stack\u003c/a\u003e.\n\n### Key Components\n\n**ECS on EC2 Instance**\n- The EC2 instance hosts all tasks (backend, frontend, database) based on ECS configurations.\n\n**CloudFront**\n- Handles TLS/HTTPS termination and acts as a secure entry point for both the frontend and backend services.\n\n**AWS VPC**\n- Incorporates subnets, route tables, and security groups. This isolation helps maintain a secure, network-segmented environment suitable for UAT-level testing.\n\n### Optional Media Hosting\nFor projects needing secure or publicly accessible media assets, **AWS S3** and **CloudFront** can be integrated to deliver content at scale. The infrastructure can be extended with an additional S3 bucket and a dedicated CloudFront distribution for high-performance media delivery.\n\n### Cost and Usage\nThis setup is optimized for UAT and pre-production workloads, with a typical monthly cost ranging from \\$20 to \\$30 depending on EC2 usage and data transfer volumes. It is not recommended for high-traffic production environments without further scaling or architectural modifications.\n\n- [Infrastructure Setup](docs/infrastructure-setup.md)\n- [Infrastructure Documentation](docs/infrastructure-documentation.md)\n\n## CI/CD Overview\n\nThe CI/CD pipeline automatically tests, builds, and deploys the ENT Stack (covering backend, frontend, and database components) into the UAT environment.\n\n**Testing**  \n- Before deployment, the pipeline runs **tests** for the backend and frontend services, making sure that the codebase is stable and ready for release. \n\n**Deployment**  \n- Once tests succeed, the pipeline pushes Docker images to ECR and deploys them via **AWS ECS**. This includes automatic ECS task updates for each service, making sure that all components (backend, frontend, database) run the latest stable release.\n\n**Secrets \u0026 Configurations**\n- **AWS Systems Manager (SSM)** contains application secrets (prefixed with `APP_`).\n- **GitHub Secrets** stores CI/CD-specific variables (e.g., `RELEASE_` and `ECS_`), making sure sensitive data remain secure.\n\n**Tooling**\n- **GitHub Actions** automates workflows for testing, building, and deployment.\n- **Docker** provides consistent build and runtime environments across all stages of the pipeline.\n\nFor more detailed steps and environment-specific guidelines:\n\n- [CI/CD Setup](docs/cicd-setup.md)\n- [CI/CD Documentation](docs/cicd-documentation.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fironexdev%2Fent-stack-devops","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fironexdev%2Fent-stack-devops","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fironexdev%2Fent-stack-devops/lists"}