Native Auto Scaling Groups use a combination of CreationPolicy and the cfn-signal helper script to notify the CloudFormation stack of the success provisioning the number of required instances in the group.
Elastigroups are a custom resource and the CreationPolicy doesn't apply to them (Even if such parameter is currently missing from the Senza::Elastigroup component). For a custom resource such as Elastigroups Senza should use a WaitCondition, together with WaitConditionHandle enabling the same functionality as native Auto Scaling Groups.
This change will require changes in Taupage, specifically in the init.sh script where the signaling is done currently.
This is believed to be the reason why Stacks with a Senza::Elastigroup component reach the CREATE_COMPLETE status before they have healthy instances ready to receive traffic, leading to some workaround before traffic switching.
Native Auto Scaling Groups use a combination of CreationPolicy and the cfn-signal helper script to notify the CloudFormation stack of the success provisioning the number of required instances in the group.
Elastigroups are a custom resource and the CreationPolicy doesn't apply to them (Even if such parameter is currently missing from the
Senza::Elastigroup
component). For a custom resource such as Elastigroups Senza should use a WaitCondition, together with WaitConditionHandle enabling the same functionality as native Auto Scaling Groups.This change will require changes in Taupage, specifically in the init.sh script where the signaling is done currently.
This is believed to be the reason why Stacks with a
Senza::Elastigroup
component reach theCREATE_COMPLETE
status before they have healthy instances ready to receive traffic, leading to some workaround before traffic switching.