{"id":28276625,"url":"https://github.com/elijahu1/container-orch","last_synced_at":"2026-02-13T07:34:42.067Z","repository":{"id":286878062,"uuid":"961968088","full_name":"elijahu1/container-orch","owner":"elijahu1","description":"A Dockerized Flask blog app deployed on AWS ECS with CI/CD automation using GitHub Actions and Amazon ECR/EKS.","archived":false,"fork":false,"pushed_at":"2025-04-14T10:00:25.000Z","size":65025,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-25T15:48:39.370Z","etag":null,"topics":["aws","blog","docker","ecs","eks","flask"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/elijahu1.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":"CODE-OF-CONDUCT.md","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},"funding":{"custom":["https://www.hockeycomputindo.com/2010/12/blog-post.html","https://axcora.com/sourcecode/","https://axcora.com/getaxcoracms"]}},"created_at":"2025-04-07T12:58:55.000Z","updated_at":"2025-04-15T07:53:47.000Z","dependencies_parsed_at":"2025-06-17T23:41:06.046Z","dependency_job_id":null,"html_url":"https://github.com/elijahu1/container-orch","commit_stats":null,"previous_names":["elijahu1/container-orch"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/elijahu1/container-orch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elijahu1%2Fcontainer-orch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elijahu1%2Fcontainer-orch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elijahu1%2Fcontainer-orch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elijahu1%2Fcontainer-orch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elijahu1","download_url":"https://codeload.github.com/elijahu1/container-orch/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elijahu1%2Fcontainer-orch/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29398606,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-13T06:24:03.484Z","status":"ssl_error","status_checked_at":"2026-02-13T06:23:12.830Z","response_time":78,"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","blog","docker","ecs","eks","flask"],"created_at":"2025-05-21T05:10:55.409Z","updated_at":"2026-02-13T07:34:42.020Z","avatar_url":"https://github.com/elijahu1.png","language":"HTML","funding_links":["https://www.hockeycomputindo.com/2010/12/blog-post.html","https://axcora.com/sourcecode/","https://axcora.com/getaxcoracms"],"categories":[],"sub_categories":[],"readme":"# CI/CD Flask App Deployment with Docker, AWS, and GitHub Actions\n\n## 🚀 Project Overview\n\nThis project demonstrates how to deploy a Flask web application using a modern CI/CD pipeline. The infrastructure leverages Docker for containerization, AWS ECS for container orchestration, and GitHub Actions for automation. This pipeline ensures efficient, scalable, and secure deployment for web apps.\n\n## 🎯 Features\n- **Flask**: Lightweight Python web framework.\n- **Docker**: Containerized the application for consistent environment.\n- **AWS ECS (Fargate)**: Scalable container orchestration with Amazon ECS.\n- **GitHub Actions**: CI/CD automation for building, testing, and deploying the app.\n- **Secure \u0026 Scalable**: Uses IAM roles for secure AWS interactions and scaling through ECS.\n\n## 🛠️ Tools \u0026 Technologies\n- **Flask**: A micro web framework for Python.\n- **Docker**: Containerization platform to package the app.\n- **AWS ECS**: Elastic Container Service for deploying containers.\n- **AWS ECR**: Elastic Container Registry for storing Docker images.\n- **GitHub Actions**: CI/CD automation.\n- **Terraform** *(Optional)*: Infrastructure-as-code for AWS resources.\n\n## 📦 Installation\n\n1. Clone the repository:\n    ```bash\n    git clone https://github.com/yourusername/your-repo-name.git\n    cd your-repo-name\n    ```\n\n2. Install dependencies for the Flask app:\n    ```bash\n    pip install -r requirements.txt\n    ```\n\n3. Build the Docker image:\n    ```bash\n    docker build -t flask-app .\n    ```\n\n4. Run the Flask app locally:\n    ```bash\n    docker run -p 5000:5000 flask-app\n    ```\n\n5. Follow the steps in the [CI/CD Pipeline section](#cicd-pipeline-setup) to set up the pipeline.\n\n## 📝 CI/CD Pipeline Setup\n\n1. **Dockerize the Flask app**: Create a `Dockerfile` to build the app image.\n2. **Push image to AWS ECR**: Use AWS CLI to authenticate and push your image.\n3. **Create ECS Task \u0026 Service**: Set up ECS task definitions and services for Fargate.\n4. **Automate with GitHub Actions**: Create a GitHub Actions workflow for continuous integration and deployment.\n\nFor full setup instructions and examples, check out the [blog post](https://elijahu.me/portfolio/cicd-container-orch) and [GitHub Actions Workflow](https://github.com/elijahu1/container-orch/actions) files.\n\n---\n\n## 📖 Contribution\n\nWe welcome contributions! If you want to improve this project, feel free to submit a pull request.\n\n### How to Contribute:\n1. Fork this repository.\n2. Create a new branch (`git checkout -b feature-branch`).\n3. Make your changes and commit them (`git commit -am 'Add new feature'`).\n4. Push to the branch (`git push origin feature-branch`).\n5. Open a pull request.\n\n---\n\n## 📄 License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n---\n\n## 🤝 Support\n\nIf you need any help or have questions, feel free to reach out to us via [GitHub Issues](https://github.com/elijahu1/container-orch/issues).\n\n---\n\n## 🧑‍💻 Acknowledgments\n\n- Special thanks to the open-source community for providing valuable resources for this project.\n- Shoutout to [@mesinkasir](https://github.com/mesinkasir) for the initial template.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felijahu1%2Fcontainer-orch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felijahu1%2Fcontainer-orch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felijahu1%2Fcontainer-orch/lists"}