https://github.com/dwolla/ecs-autoscaling-lifecycle-hooks
https://github.com/dwolla/ecs-autoscaling-lifecycle-hooks
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/dwolla/ecs-autoscaling-lifecycle-hooks
- Owner: Dwolla
- License: mit
- Created: 2019-02-04T20:11:02.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2025-02-04T20:08:43.000Z (4 months ago)
- Last Synced: 2025-02-15T23:44:00.514Z (3 months ago)
- Language: Scala
- Size: 232 KB
- Stars: 0
- Watchers: 17
- Forks: 1
- Open Issues: 25
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# ECS Auto Scaling Lifecycle Hooks

AWS Lambda functions to use [Auto Scaling Lifecycle Hooks](https://docs.aws.amazon.com/autoscaling/ec2/userguide/lifecycle-hooks.html) with ECS.
Inspired by [“How to Automate Container Instance Draining in Amazon ECS”](https://aws.amazon.com/blogs/compute/how-to-automate-container-instance-draining-in-amazon-ecs/).
## Deploy
To deploy the stack, ensure the required IAM role exists (`cloudformation/deployer/cloudformation-deployer`), then deploy with `sbt`:
```ShellSession
sbt "deploy Admin"
```