Moves the specified instances into the standby state
Moves the specified instances into the standby state.
If you choose to decrement the desired capacity of the Auto Scaling group, the instances can enter standby as long as the desired capacity of the Auto Scaling group after the instances are placed into standby is equal to or greater than the minimum capacity of the group.
If you choose not to decrement the desired capacity of the Auto Scaling group, the Auto Scaling group launches new instances to replace the instances on standby.
For more information, see Temporarily removing instances from your Auto Scaling group in the Amazon EC2 Auto Scaling User Guide.
autoscaling_enter_standby(InstanceIds, AutoScalingGroupName, ShouldDecrementDesiredCapacity)
InstanceIds |
The IDs of the instances. You can specify up to 20 instances. |
AutoScalingGroupName |
[required] The name of the Auto Scaling group. |
ShouldDecrementDesiredCapacity |
[required] Indicates whether to decrement the desired capacity of the Auto Scaling
group by the number of instances moved to |
A list with the following syntax:
list( Activities = list( list( ActivityId = "string", AutoScalingGroupName = "string", Description = "string", Cause = "string", StartTime = as.POSIXct( "2015-01-01" ), EndTime = as.POSIXct( "2015-01-01" ), StatusCode = "PendingSpotBidPlacement"|"WaitingForSpotInstanceRequestId"|"WaitingForSpotInstanceId"|"WaitingForInstanceId"|"PreInService"|"InProgress"|"WaitingForELBConnectionDraining"|"MidLifecycleAction"|"WaitingForInstanceWarmup"|"Successful"|"Failed"|"Cancelled", StatusMessage = "string", Progress = 123, Details = "string" ) ) )
svc$enter_standby( InstanceIds = list( "string" ), AutoScalingGroupName = "string", ShouldDecrementDesiredCapacity = TRUE|FALSE )
## Not run: # This example puts the specified instance into standby mode. svc$enter_standby( AutoScalingGroupName = "my-auto-scaling-group", InstanceIds = list( "i-93633f9b" ), ShouldDecrementDesiredCapacity = TRUE ) ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.