Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dwolla/ecs-autoscaling-lifecycle-hooks
https://github.com/dwolla/ecs-autoscaling-lifecycle-hooks
Last synced: about 10 hours 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 (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2024-05-03T20:07:11.000Z (6 months ago)
- Last Synced: 2024-05-04T13:19:34.027Z (6 months ago)
- Language: Scala
- Size: 234 KB
- Stars: 0
- Watchers: 16
- Forks: 1
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# ECS Auto Scaling Lifecycle Hooks
![CI](https://github.com/Dwolla/autoscaling-ecs-draining-lambda/actions/workflows/ci.yml/badge.svg)
![license](https://img.shields.io/github/license/Dwolla/autoscaling-ecs-draining-lambda.svg?style=flat-square)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"
```