Collapse AllExpand All

eulb-register-instances-with-lb

Add one or more instances to a load balancer.

Syntax

eulb-register-instances-with-lb --instances INSTANCE1,INSTANCE2,... ELB

Options

Option Description Required
--instances INSTANCE1,INSTANCE2,... IDs of the instances to add to the load balancer Yes
ELB Name of the load balancer to modify Yes

Common Options

Option Description
--region USER@REGION Name of the region or user in config files to use to connect to the service
-U URL, --url URL Load balancing service endpoint URL
-I key_id, --access-key-id key_id User's access key ID
-S key, --secret-key key User's AWS secret key
--show-empty-fields Show empty fields using (nil) as a placeholder to indicate that this data was not requested. Empty fields are not shown by default.

Output

Eucalyptus returns the instance ID.

Example

eulb-register-instances-with-lb --instances i-1DF9440E MyLoadBalancer
INSTANCE     i-1DF9440E