Skip to main content
All CollectionsActionsAmazon Web Services
Deregister EC2 Instance from Load Balancer Actions
Deregister EC2 Instance from Load Balancer Actions
Matt Houser avatar
Written by Matt Houser
Updated over a week ago

Description

The Deregister Instance from Load Balancer action can be used to deregister an EC2 instance from a single Elastic Load Balancer or all Elastic Load Balancers at a specific time of day.

Settings

Please see Common Action Settings for a description of settings common to all action types.

Instance ID

Indicate the instance id of your EC2 instance. This value usually looks like "i-84a3dc7b". This instance must reside in the region specified.

Deregister Method

Indicate whether the instance should be deregistered from a single load balancer, or all load balancers.

Load Balancer Name

Required if Deregister Method is set to "Specified Load Balancer". Specify the name of the Elastic Load Balancer that the instance is to be deregistered from.

Amazon Commands Used

The following Amazon AWS commands are used. The access key should have permission to execute all of them.

  • elb:DeregisterInstancesFromLoadBalancer

  • elb:DescribeLoadBalancers

Did this answer your question?