Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
FurqanHabibi committed Mar 8, 2024
1 parent 0b6e10c commit be661ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/easy/ec2-managed-draining/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# examples/easy/ec2-managed-draining

In this example we'll instantiate a simple nginx webserver, running on EC2 Auto Scaling Group, with managed draining feature enabled.
This means ECS will monitor the Auto Scaling Group and set an instance status to draining when it's scheduled for termination.
This means ECS will monitor the Auto Scaling Group and set an instance's status to draining when it's scheduled for termination.
With draining status set, ECS will safely terminate all tasks running on the instance and create replacement tasks in other instance(s).

Note: Instance profile is required for EC2 to connect to ECS Cluster. See [`modules/iam/ecs-instance-profile`](https://github.com/HENNGE/terraform-aws-ecs/tree/main/modules/iam/ecs-instance-profile).
Expand Down

0 comments on commit be661ce

Please sign in to comment.