- Can I register the instances to a load balancer?
If a Load Balancer is configured in the group instances will automatically be registered to it.
If you would like to register the instances via API You can use a signal - Currently supported with ELB. The instance signal API is used for notifying Spotinst about the instance state, so Spotinst can act accordingly. Spotinst won’t register an instance to ELB till it gets the signal that the instance is ready. More details and API calls can be found in our API documentation: http://help.spotinst.com/api
- When I deploy a new version on my instances, I just want to detach them temporarily from the Elastigroup, is that possible?
Instance Standby enables you to put an instance in Standby state, update or troubleshoot the instance, and then return the instance to service. Instances that are on standby are still part of the Elastigroup, but they don’t get application traffic. When the instance entered the Standby state until it exists: The instance will be de-register from all the ELB / ALB that are defined in the Elastigroup. The instance won’t be affected by Scale down activities in the Elastigroup. The instance health won’t be checked, and it won’t be replaced. When the instance exits the Standby state: The instance will be registered to all the ELB / ALB that are defined in the Elastigroup, and will return to be affected by all the Elastigroup activities.
- How do you determine the instance health?
Instance health is determined according to your ELB or HCS (Health Check Service) settings. Once an instance is unhealthy, we will immediately launch a new instance to replace it. When the new instance is up and running, the old instance is detached.
To disable this feature, you can choose ‘none’ in the auto-healing settings.