command
module
Version:
v0.0.0-...-8ab2082
Opens a new window with list of versions in this module.
Published: Sep 26, 2025
License: MIT
Opens a new window with license information.
Imports: 18
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
ECS Upgrade
- Create new Launch Configuration based on existing launch config with latest ECS optimized AMI
- Autoscale to double the instances
- Wait until new instances are healthy and active in ECS
- Drain old ECS instances
- Check target group health
- Autoscale back to instance count before scaling event
- Cleanup
AWS Configuration
- Autoscaling group with termination policies: OldestLaunchConfiguration, OldestInstance
Run
Tests:
make tests
Manual docker command:
docker run -it -e AWS_ACCESS_KEY_ID=... -e AWS_SECRET_ACCESS_KEY=... -e AWS_REGION=... -e ECS_ASG=your-asg -e ECS_CLUSTER=yourcluster in4it/ecs-upgrade
Not implemented
- Rollbacks if something goes wrong
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.