bandesz/awsc

Support zero-downtime rolling for ASGs with only one instance

46bit opened this issue · 2 comments

46bit commented

I have an ASG which desires only one EC2 instance, but has a max of >1. I want to roll it with zero-downtime, by having two instances for a short period of time.

At present awsc does not support this case. It rejects --min-healthy-percent 100:

it is not possible to keep the minimum 100% of instances healthy for 1 instances, please lower the min-healthy-percent parameter

Is this something that could be supported?

Currently there is no support for this, but I definitely see it as a valid need.

As I currently don't use awsc I don't think I'm going to add this feature myself, but I'm happy to review a PR if you would like to add this.