{"id":15899025,"url":"https://github.com/neilkuan/ecs-bottlerocket-capacityprovider-sample","last_synced_at":"2025-03-20T17:30:39.890Z","repository":{"id":37022459,"uuid":"380776884","full_name":"neilkuan/ecs-bottlerocket-capacityProvider-sample","owner":"neilkuan","description":"Demo use Bottlerocket Capacity Provider to Scaling AutoScaling Group for ECS tasks scaling out.","archived":false,"fork":false,"pushed_at":"2025-03-15T00:21:11.000Z","size":6405,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-15T01:24:05.016Z","etag":null,"topics":["aws","ecs","fargate"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/neilkuan.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":"2021-06-27T15:39:10.000Z","updated_at":"2025-03-15T00:20:39.000Z","dependencies_parsed_at":"2024-03-26T01:29:26.169Z","dependency_job_id":"9ca9abfa-4cef-4ea0-9c11-77d8ca34919c","html_url":"https://github.com/neilkuan/ecs-bottlerocket-capacityProvider-sample","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neilkuan%2Fecs-bottlerocket-capacityProvider-sample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neilkuan%2Fecs-bottlerocket-capacityProvider-sample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neilkuan%2Fecs-bottlerocket-capacityProvider-sample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neilkuan%2Fecs-bottlerocket-capacityProvider-sample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/neilkuan","download_url":"https://codeload.github.com/neilkuan/ecs-bottlerocket-capacityProvider-sample/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244660125,"owners_count":20489294,"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","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","ecs","fargate"],"created_at":"2024-10-06T10:10:36.023Z","updated_at":"2025-03-20T17:30:39.171Z","avatar_url":"https://github.com/neilkuan.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Demo use Bottlerocket Capacity Provider to Scaling AutoScaling Group for ECS tasks scaling out.\n\n\n### key point, need to define `machineImageType` in  `AddAutoScalingGroupCapacityOptions`.   \n```ts\nconst capacityProvider = new ecs.AsgCapacityProvider(this, 'AsgCapacityProvider', { autoScalingGroup, machineImageType: ecs.MachineImageType.BOTTLEROCKET });\n\n    // addAsgCapacityProvider option need to add { machineImageType: ecs.MachineImageType.BOTTLEROCKET }.\n    // see https://github.com/aws/aws-cdk/blob/6b2d0e0c867651cd632be9ca99c6e342fb3c1067/packages/%40aws-cdk/aws-ecs/lib/cluster.ts#L348-L374\n    ecsC.addAsgCapacityProvider(capacityProvider, { machineImageType: ecs.MachineImageType.BOTTLEROCKET });\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneilkuan%2Fecs-bottlerocket-capacityprovider-sample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneilkuan%2Fecs-bottlerocket-capacityprovider-sample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneilkuan%2Fecs-bottlerocket-capacityprovider-sample/lists"}