{"id":26053341,"url":"https://github.com/kritagya-web/hotstar-devops-project-kubernetes-aws-eks","last_synced_at":"2026-04-09T06:45:30.812Z","repository":{"id":280912259,"uuid":"943588673","full_name":"Kritagya-web/Hotstar-DevOps-Project-Kubernetes-AWS-EKS","owner":"Kritagya-web","description":"Developed a secure DevSecOps CI/CD pipeline with Docker Scout for vulnerability scanning and compliance checks. Deployed on AWS EKS, using Terraform for automated infrastructure. Configured Kubernetes for orchestration and integrated Jenkins for optimized CI/CD. Tech stack: Node.js, Docker, Kubernetes, Terraform, Jenkins, AWS EKS.","archived":false,"fork":false,"pushed_at":"2025-03-06T01:20:11.000Z","size":0,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-06T01:29:04.538Z","etag":null,"topics":["aws","aws-eks","cicd-pipeline","devops-tools","docker","hotstar","jenkins","kubernetes","kubernetes-cluster","nodejs","terraform"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Kritagya-web.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":"2025-03-06T00:29:40.000Z","updated_at":"2025-03-06T01:26:33.000Z","dependencies_parsed_at":"2025-03-06T01:39:10.471Z","dependency_job_id":null,"html_url":"https://github.com/Kritagya-web/Hotstar-DevOps-Project-Kubernetes-AWS-EKS","commit_stats":null,"previous_names":["kritagya-web/hotstar-devops-project-kubernetes-aws-eks"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Kritagya-web/Hotstar-DevOps-Project-Kubernetes-AWS-EKS","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kritagya-web%2FHotstar-DevOps-Project-Kubernetes-AWS-EKS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kritagya-web%2FHotstar-DevOps-Project-Kubernetes-AWS-EKS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kritagya-web%2FHotstar-DevOps-Project-Kubernetes-AWS-EKS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kritagya-web%2FHotstar-DevOps-Project-Kubernetes-AWS-EKS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Kritagya-web","download_url":"https://codeload.github.com/Kritagya-web/Hotstar-DevOps-Project-Kubernetes-AWS-EKS/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kritagya-web%2FHotstar-DevOps-Project-Kubernetes-AWS-EKS/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272900164,"owners_count":25012034,"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-08-30T02:00:09.474Z","response_time":77,"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":["aws","aws-eks","cicd-pipeline","devops-tools","docker","hotstar","jenkins","kubernetes","kubernetes-cluster","nodejs","terraform"],"created_at":"2025-03-08T07:28:04.655Z","updated_at":"2025-12-30T19:16:13.061Z","avatar_url":"https://github.com/Kritagya-web.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DevSecOps CI/CD: Deploying a Secure Hotstar Clone\n\n## Overview\n\nThis project demonstrates the implementation of **DevSecOps CI/CD pipeline** for securely deploying a **Hotstar Clone** using **AWS, Docker, Kubernetes, Jenkins, Terraform, and SonarQube**. It follows security best practices to automate infrastructure provisioning, vulnerability scanning, and container orchestration.\n## Blog for Step by Step Process\nhttps://mrcloudbook.com/devsecops-ci-cd-deploying-a-secure-hotstar-clone-even-if-youre-not-a-pro/\n\n## Features\n\n- **CI/CD Pipeline**: Configured using **Jenkins** for automated build, test, and deployment.\n- **Security Integration**: Uses **SonarQube, OWASP, and Docker Scout** for static code analysis, security checks, and container vulnerability scanning.\n- **Infrastructure as Code (IaC)**: Automated provisioning using **Terraform**.\n- **Containerized Deployment**: Application is deployed using **Docker** and orchestrated via **AWS EKS (Kubernetes)**.\n- **Automated Quality Gates**: Integrated **SonarQube** for code quality assessment.\n\n## Prerequisites\n\nBefore setting up this project, ensure you have:\n\n- An **AWS Account** with appropriate permissions\n- **Basic knowledge of DevSecOps** principles\n- Familiarity with **Docker, Jenkins, Java, Terraform, Kubernetes (kubectl), AWS CLI, and Docker Scout**\n- Installed tools: **Docker, Terraform, AWS CLI, Jenkins, SonarQube, and Kubernetes (kubectl)**\n\n## Deployment Steps\n\n### Step 1: Setting up AWS EC2 Instance\n\n1. Create an **EC2 instance** with **Ubuntu AMI (t2.large, 30GB storage)**.\n2. Assign an **IAM role** with **Admin access** for learning purposes.\n\n### Step 2: Installing Required Tools\n\nAutomate the installation of essential tools on the EC2 instance:\n\n```bash\nsudo apt update -y\nsudo apt install -y docker.io jenkins terraform awscli kubectl\n```\n\nRun a **SonarQube** container:\n\n```bash\ndocker run -d --name sonar -p 9000:9000 sonarqube:lts-community\n```\n\n### Step 3: Configuring Jenkins for CI/CD\n\n1. Install required **Jenkins Plugins**: Terraform, SonarQube, NodeJS, OWASP, Docker.\n2. Add **SonarQube credentials** in Jenkins.\n3. Configure Jenkins **Pipeline Jobs** for:\n   - Provisioning **AWS EKS** using **Terraform**\n   - Deploying the **Hotstar Clone**\n   - Running **security checks** (SonarQube, OWASP, Docker Scout)\n   - Building and pushing **Docker images**\n   - Deploying application to **Kubernetes Cluster**\n\n### Step 4: Kubernetes Deployment\n\n1. Apply Kubernetes manifests for **deployment** and **service**:\n\n```bash\nkubectl apply -f deployment.yml\nkubectl apply -f service.yml\n```\n\n2. Retrieve the **Load Balancer URL** to access the application.\n\n### Step 5: Clean-Up\n\nTo delete the AWS resources:\n\n```bash\nterraform destroy --auto-approve\n```\n\nTerminate the **EC2 instance** and delete the **IAM Role**.\n\n## Tools \u0026 Technologies Used\n\n- **AWS** (EC2, EKS, IAM, S3)\n- **Jenkins** (CI/CD Pipeline)\n- **Docker \u0026 Kubernetes** (Containerization \u0026 Orchestration)\n- **Terraform** (Infrastructure as Code)\n- **SonarQube, OWASP, Docker Scout** (Security Analysis)\n- **Node.js, Java** (Application development)\n- **Git \u0026 GitHub** (Version Control)\n\n## Project Repository\n\n🔗 [GitHub Repository](https://github.com/Kritagya-web/Hotstar-DevOps-Project-Kubernetes-AWS-EKS)\n\n---\n\n## Credit\n\nThis project was inspired and greatly enhanced by the **detailed documentation provided by [Mr. Cloud Book](https://mrcloudbook.com)**. Their in-depth explanation helped me understand **DevSecOps, CI/CD, and Kubernetes deployment** in detail. Huge thanks for sharing such **valuable content** for the community!\n\n---\n\n## Connect with Me\n\nFor any questions or discussions, feel free to reach out:\n\n- **GitHub**: [Kritagya-web](https://github.com/Kritagya-web/)\n- **LinkedIn**: [Kritagya Kumra](https://www.linkedin.com/in/kritagya-kumra/)\n- **Portfolio**: [Portfolio](https://kritagyakumraportfolio.netlify.app/)\n\n---\n\u003cdiv align=\"center\"\u003e\n\n🚀 **Created with love ❤️ by Kritagya. Happy Learning \u0026 Secure Deployments!**\n\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n🚀  **Show some ❤️ by starring at some of the repositories!**\n\n\u003c/div\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkritagya-web%2Fhotstar-devops-project-kubernetes-aws-eks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkritagya-web%2Fhotstar-devops-project-kubernetes-aws-eks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkritagya-web%2Fhotstar-devops-project-kubernetes-aws-eks/lists"}