ecs-upgrade

command module
v0.0.0-...-49f679b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 23, 2024 License: MIT Imports: 18 Imported by: 0

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

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

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL