{"id":25911457,"url":"https://github.com/copyleftdev/cdk-deploy-example","last_synced_at":"2026-06-11T14:31:44.693Z","repository":{"id":194896301,"uuid":"691817014","full_name":"copyleftdev/cdk-deploy-example","owner":"copyleftdev","description":"for ralph","archived":false,"fork":false,"pushed_at":"2023-09-15T00:47:32.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-10T05:37:58.923Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/copyleftdev.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-groups/create-sg.sh","support":null,"governance":null}},"created_at":"2023-09-15T00:40:58.000Z","updated_at":"2023-09-15T00:44:15.000Z","dependencies_parsed_at":"2023-09-15T17:12:12.721Z","dependency_job_id":null,"html_url":"https://github.com/copyleftdev/cdk-deploy-example","commit_stats":null,"previous_names":["copyleftdev/cdk-deploy-example"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/copyleftdev/cdk-deploy-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/copyleftdev%2Fcdk-deploy-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/copyleftdev%2Fcdk-deploy-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/copyleftdev%2Fcdk-deploy-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/copyleftdev%2Fcdk-deploy-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/copyleftdev","download_url":"https://codeload.github.com/copyleftdev/cdk-deploy-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/copyleftdev%2Fcdk-deploy-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34204178,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-11T02:00:06.485Z","response_time":57,"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":[],"created_at":"2025-03-03T09:17:34.418Z","updated_at":"2026-06-11T14:31:44.676Z","avatar_url":"https://github.com/copyleftdev.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# My AWS CDK Project\n\nThis project utilizes the AWS Cloud Development Kit (CDK) to deploy a Docker-based MySQL instance on an EC2 instance, which is publicly accessible.\n\n## Prerequisites\n\n- **AWS CLI**: Ensure you have the AWS CLI installed and configured with the necessary access rights.\n  \n  Installation:\n  ```bash\n  pip install awscli\n  aws configure\n  ```\n\n- **Node.js and npm**: The AWS CDK is developed in TypeScript, which runs on Node.js. Ensure you have both installed.\n\n  Installation (for most platforms):\n  ```bash\n  curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -\n  sudo apt-get install -y nodejs\n  ```\n\n## Setup\n\n### 1. Install AWS CDK Globally:\n\n```bash\nnpm install -g aws-cdk\n```\n\n### 2. Clone and Navigate to the Project:\n\n```bash\ngit clone [your-git-repo-url]\ncd [your-project-directory]\n```\n\n### 3. Install Project Dependencies:\n\nInside the project directory:\n\n```bash\nnpm install\n```\n\n## Deployment\n\n### 1. Bootstrap (Only Required the First Time):\n\nIf you've never used AWS CDK with your AWS account and region, you'll need to run the bootstrap command:\n\n```bash\ncdk bootstrap\n```\n\n### 2. Deploy the Stack:\n\nTo deploy your AWS resources:\n\n```bash\ncdk deploy\n```\n\n## Teardown\n\nTo remove the resources created by the CDK:\n\n```bash\ncdk destroy\n```\n\n## Important Notes\n\n- Be cautious about AWS costs. Make sure to destroy resources when not in use to avoid incurring unnecessary charges.\n- Exposing a database instance to the public is risky. Always ensure that you've considered security best practices, such as IP whitelisting, strong passwords, and using secure connections.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcopyleftdev%2Fcdk-deploy-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcopyleftdev%2Fcdk-deploy-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcopyleftdev%2Fcdk-deploy-example/lists"}