{"id":21431927,"url":"https://github.com/mikaeelkhalid/deploy-elasticbeanstalk-codepipeline-cdk","last_synced_at":"2026-04-08T22:31:32.866Z","repository":{"id":203463905,"uuid":"709665817","full_name":"mikaeelkhalid/deploy-elasticbeanstalk-codepipeline-cdk","owner":"mikaeelkhalid","description":"This repository provides a robust setup for deploying Node.js (will work with both TS and JS) type of applications onto AWS Elastic Beanstalk using AWS CodePipeline and the AWS Cloud Development Kit (CDK).","archived":false,"fork":false,"pushed_at":"2023-11-17T05:05:58.000Z","size":93,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-16T22:37:02.726Z","etag":null,"topics":["aws","awscodepipeline","awselasticbeanstalk","cicd","codepipeline","elasticbeanstalk","expressjs","nodejs"],"latest_commit_sha":null,"homepage":"https://blog.mikaeels.com/cicd-pipeline-for-aws-elastic-beanstalk-with-cdk","language":"TypeScript","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/mikaeelkhalid.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}},"created_at":"2023-10-25T06:43:14.000Z","updated_at":"2023-12-13T10:11:08.000Z","dependencies_parsed_at":"2023-11-17T06:57:21.850Z","dependency_job_id":null,"html_url":"https://github.com/mikaeelkhalid/deploy-elasticbeanstalk-codepipeline-cdk","commit_stats":null,"previous_names":["mikaeelkhalid/deploy-elasticbeanstalk-codepipeline-cdk"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mikaeelkhalid/deploy-elasticbeanstalk-codepipeline-cdk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikaeelkhalid%2Fdeploy-elasticbeanstalk-codepipeline-cdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikaeelkhalid%2Fdeploy-elasticbeanstalk-codepipeline-cdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikaeelkhalid%2Fdeploy-elasticbeanstalk-codepipeline-cdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikaeelkhalid%2Fdeploy-elasticbeanstalk-codepipeline-cdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mikaeelkhalid","download_url":"https://codeload.github.com/mikaeelkhalid/deploy-elasticbeanstalk-codepipeline-cdk/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikaeelkhalid%2Fdeploy-elasticbeanstalk-codepipeline-cdk/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31577444,"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":["aws","awscodepipeline","awselasticbeanstalk","cicd","codepipeline","elasticbeanstalk","expressjs","nodejs"],"created_at":"2024-11-22T23:15:30.453Z","updated_at":"2026-04-08T22:31:32.842Z","avatar_url":"https://github.com/mikaeelkhalid.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AWS Elastic Beanstalk CodePipeline Deployment with CDK\n\n[![Mikaeel Khalid](https://badgen.now.sh/badge/by/mikaeelkhalid/purple)](https://github.com/mikaeelkhalid)\n\nThis repository provides a robust setup for deploying Node.js (will work with both TS and JS) type of applications onto AWS\nElastic Beanstalk using AWS CodePipeline and the AWS Cloud Development Kit (CDK).\n\nIf you want to attach **Route53** hosted zone subdomain: [route53 hosted zone version](https://github.com/mikaeelkhalid/deploy-elasticbeanstalk-codepipeline-cdk/tree/route53-version)\n\n## ✨ Features\n\n- 🚀 Automated Deployment: Seamless deployment of an Express.js application onto Elastic Beanstalk.\n- 🔁 CI/CD Integration: Fully integrated with CodePipeline for a smooth CI/CD experience.\n- 📦 CodeBuild Integration: Uses AWS CodeBuild to install application dependencies and prepare it for deployment.\n- 📡 CodeCommit or GitHub Integration: Fetches the source code directly from a specified CodeCommit or GitHub repository.\n\n## 🚀 Getting Started\n\n### Prerequisites\n\n- AWS Command Line Interface (CLI) installed and configured.\n- AWS Cloud Development Kit (CDK) CLI installed.\n- Node.js and npm installed on your local machine.\n- A GitHub or CodeCommit repository containing the source code of your Node.js application (ts or js).\n\n### Setup \u0026 Deployment\n\n1. **Rename `config.sample.yaml` to `config.yaml`**: Update this file with the necessary details, including the Git repository\n   name, its owner, your GitHub access token, if repo is GitHub and any environment-specific configurations.\n\n2. **Bootstrap the AWS CDK**: If this is your first time using CDK on your AWS account or region, initialize your environment\n   with:\n\n   ```bash\n   cdk bootstrap\n   ```\n\n3. **Deploy the CDK Stack**: Use the CDK CLI to deploy your stack:\n\n   ```bash\n   cdk deploy\n   ```\n\n4. **Push Changes \u0026 Watch Magic Happen**: With your pipeline now set up, any subsequent pushes to your specified GitHub branch\n   will trigger your pipeline. This will rebuild your application and redeploy it to Elastic Beanstalk.\n\n### Cleanup\n\nTo ensure you don't continue incurring AWS charges, remember to destroy the resources when not in use:\n\n```bash\ncdk destroy\n```\n\n## 🛡️ Note\n\nEnsure your IAM permissions are appropriately set to allow the CDK to manage AWS resources on your behalf. Additionally, ensure\nthat your GitHub token has the right permissions, especially for accessing the repository and triggering webhooks.\n\n## 🙌 Contribute\n\nContributions are more than welcome! Feel free to fork this repository, make your improvements, and then submit them back through\na pull request.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikaeelkhalid%2Fdeploy-elasticbeanstalk-codepipeline-cdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmikaeelkhalid%2Fdeploy-elasticbeanstalk-codepipeline-cdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikaeelkhalid%2Fdeploy-elasticbeanstalk-codepipeline-cdk/lists"}