{"id":31789294,"url":"https://github.com/ahmedheikall/ci-cd-project","last_synced_at":"2026-04-21T09:32:56.775Z","repository":{"id":315705450,"uuid":"1057171706","full_name":"AhmedHeikall/CI-CD-Project","owner":"AhmedHeikall","description":"AWS CI/CD Infrastructure Automation with Multi-Environment Support","archived":false,"fork":false,"pushed_at":"2025-09-20T06:57:17.000Z","size":263,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-10T14:52:06.384Z","etag":null,"topics":["automation","aws","ci-cd","devops","infrastructure-as-code"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/AhmedHeikall.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":"security.sh","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-09-15T11:20:00.000Z","updated_at":"2025-09-20T06:57:21.000Z","dependencies_parsed_at":"2025-09-20T08:28:39.802Z","dependency_job_id":null,"html_url":"https://github.com/AhmedHeikall/CI-CD-Project","commit_stats":null,"previous_names":["ahmedheikall/ci-cd-project"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AhmedHeikall/CI-CD-Project","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AhmedHeikall%2FCI-CD-Project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AhmedHeikall%2FCI-CD-Project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AhmedHeikall%2FCI-CD-Project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AhmedHeikall%2FCI-CD-Project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AhmedHeikall","download_url":"https://codeload.github.com/AhmedHeikall/CI-CD-Project/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AhmedHeikall%2FCI-CD-Project/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32085501,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-21T06:27:27.065Z","status":"ssl_error","status_checked_at":"2026-04-21T06:27:21.250Z","response_time":128,"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":["automation","aws","ci-cd","devops","infrastructure-as-code"],"created_at":"2025-10-10T14:50:29.176Z","updated_at":"2026-04-21T09:32:56.744Z","avatar_url":"https://github.com/AhmedHeikall.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n# AWS CI/CD Infrastructure Automation with Multi-Environment Support\n\n\u003ch3 align=\"center\"\u003eThis project implements a **CI/CD pipeline with AWS CLI \u0026 Bash scripting**.  \nIt provisions infrastructure and configures pipelines for **multi-environment deployment** (QC and Production).\u003c/h3\u003e\n\n\u003c/div\u003e\n\n## Architecture Diagram\n\n\u003cdiv align=\"center\"\u003e\n\n### AWS CI/CD Infrastructure Automation Architecture\n\n![CI/CD](./assets/Iac-diagram.png)\n\n\u003c/div\u003e\n\n## Features\n\n- **Infrastructure as Code (IaC)**\n\n  - VPC with subnets (public \u0026 private), internet gateway, route tables.\n  - Security Groups with SSH \u0026 self-referencing rules.\n  - IAM Roles \u0026 Policies for EC2, CodeDeploy, CodePipeline.\n  - Auto Scaling Group with EC2 Launch Template \u0026 scaling policies.\n  - Network Load Balancer (NLB) + Route53 DNS records.\n  - SSH Key managed in **AWS Secrets Manager**.\n\n- **CI/CD Pipeline**\n\n  - Source: CodeCommit (branch-based triggers).\n  - Build: CodeBuild project with buildspec.\n  - Deploy: CodeDeploy application with in-place deployment.\n  - Pipeline: CodePipeline (Source → Build → Deploy).\n\n- **Automation**\n  - `deploy.sh` orchestrates provisioning for QC or Prod.\n  - EC2 installs runtime + CodeDeploy agent.\n  - `AfterInstall` creates **systemd service** for app runtime.\n\n## Project Structure\n\n├── autoscalinggroup.sh # Launch Template, Auto Scaling Group,Target Group, Listener  \n├── dns.sh # Route53 DNS records  \n├── deploy.sh # Orchestrator (QC/Prod configs + infra provisioning)  \n├── security.sh # SSH key, Secrets Manager, Security Group  \n├── conf-prod.sh # Production environment configuration  \n├── conf-qc.sh # QC environment configuration  \n├── vpc.sh # VPC, Subnets, Internet Gateway, Route Tables  \n├── build.sh # CodeBuild project setup  \n└── README.md # Documentation\n\n## Scripts Execution Order (handled by deploy.sh)\n\nVPC → Security → Auto Scaling → DNS\n\n## Pipeline Flow\n\nPush code → CodeCommit triggers → CodeBuild builds → CodeDeploy deploys → EC2 Auto Scaling instances + Route53 DNS.\n\n## Technologies\n\nAWS Services: EC2, VPC, Route53, IAM, CodeCommit, CodeBuild, CodeDeploy, CodePipeline, Auto Scaling, NLB, Secrets Manager\n\nTools: AWS CLI, Bash scripting, systemd\n\nConcepts: Infrastructure as Code (IaC), CI/CD, multi-environment automation, DevOps best practices\n\n## Author\n\nAhmed Heikal\nFull Stack Engineer | Cloud \u0026 DevOps Specialist\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahmedheikall%2Fci-cd-project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fahmedheikall%2Fci-cd-project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahmedheikall%2Fci-cd-project/lists"}