Amazon describes the service as:
Elastic Load Balancing automatically distributes incoming application traffic across multiple Amazon EC2 instances. It enables you to achieve even greater fault tolerance in your applications, seamlessly providing the amount of load balancing capacity needed in response to incoming application traffic. Elastic Load Balancing detects unhealthy instances within a pool and automatically reroutes traffic to healthy instances until the unhealthy instances have been restored. Customers can enable Elastic Load Balancing within a single Availability Zone or across multiple zones for even more consistent application performance. Amazon
Service List | Table of Contents
SYNOPSIS
elb-configure-healthcheck
LoadBalancerName --healthy-threshold value --interval value
--target value --timeout value --unhealthy-threshold value
[General Options]
DESCRIPTION
Configure the parameters for checking the health of instances registered
with a LoadBalancer. When the instance fails to respond within timeout
seconds to unhealthy-threshold number of consecutive healthcheck requests,
the instance will be marked as OutOfService. Likewise, when an instance
responds within the specified timeout to healthy-threshold number of
consecutive healthcheck requests, it is marked as InService. target
specifies the protocol and port, and in the case of HTTP.
ARGUMENTS
LoadBalancerName
Name of the LoadBalancer. You can also set this value using "--lb".
Required.
SPECIFIC OPTIONS
--healthy-threshold VALUE
Number of consecutive successful healthchecks that will mark an instance
as InService. Required.
--interval VALUE
Healthcheck interval in seconds. Required.
-t, --target VALUE
Target for healthcheck. : or :/.
Required.
--timeout VALUE
Healthcheck timeout in seconds. Required.
--unhealthy-threshold VALUE
Number of consecutive failed healthchecks that will mark an instance as
OutOfService. Required.
GENERAL OPTIONS
--aws-credential-file VALUE
Location of the file with your AWS credentials. This value can be set by
using the environment variable 'AWS_CREDENTIAL_FILE'.
--connection-timeout VALUE
Specify a connection timeout VALUE (in seconds). The default value is
'30'.
--delimiter VALUE
What delimiter to use when displaying delimited (long) results.
--ec2-cert-file-path VALUE
Location of the file with your EC2 X509 certificate. This value can be
set by using the environment variable 'EC2_CERT'.
--ec2-private-key-file-path VALUE
Location of the file with your EC2 private key. This value can be set by
using the environment variable 'EC2_PRIVATE_KEY'.
--headers
If you are displaying tabular or delimited results, it includes the
column headers. If you are showing xml results, it returns the HTTP
headers from the service request, if applicable. This is off by default.
-I, --access-key-id VALUE
Specify VALUE as the AWS Access Id to use.
--region VALUE
Specify region VALUE as the web service region to use. This value can be
set by using the environment variable 'EC2_REGION'.
-S, --secret-key VALUE
Specify VALUE as the AWS Secret Key to use.
--show-empty-fields
Show empty fields and rows, using a "(nil)" value. The default is to not
show empty fields or columns.
--show-request
Displays the URL the tools used to call the AWS Service. The default
value is 'false'.
--show-table, --show-long, --show-xml, --quiet
Specify how the results are displayed: tabular, delimited (long), xml, or
no output (quiet). Tabular shows a subset of the data in fixed
column-width form, while long shows all of the returned values delimited
by a character. The xml is the raw return from the service, while quiet
suppresses all standard output. The default is tabular, or 'show-table'.
-U, --url VALUE
This option will override the URL for the service call with VALUE. This
value can be set by using the environment variable 'AWS_ELB_URL'.
INPUT EXAMPLES
Configure a TCP healthcheck with target port 8080
$PROMPT> elb-configure-healthcheck example-lb --headers --target "TCP:8080" --interval 5 --timeout 3 --unhealthy-threshold 2 --healthy-threshold 2
Configure an HTTP healthcheck with target port 80 with a path
$PROMPT> elb-configure-healthcheck example-lb --headers --target "HTTP:80/status" --interval 5 --timeout 3 --unhealthy-threshold 2 --healthy-threshold 2
OUTPUT
This command returns a table that contains the following:
* TARGET - Healthcheck target.
* INTERVAL - Interval between healthchecks in seconds.
* TIMEOUT - Healthcheck timeout in seconds.
* HEALTHY-THRESHOLD - Configured number of consecutive successful
healthchecks that will mark an instance as InService.
* UNHEALTHY-THRESHOLD - Configured number of consecutive failed healthchecks
that will mark an instance as OutOfService.
OUTPUT EXAMPLES
HEALTH-CHECK TARGET INTERVAL TIMEOUT HEALTHY-THRESHOLD UNHEALTHY-THRESHOLD
HEALTH-CHECK HTTP:8080/status 5 3 2 2
Service List | Table of Contents
SYNOPSIS
elb-create-lb
LoadBalancerName --availability-zones value[,value...] --listener
"protocol=value, lb-port=value, instance-port=value" [ --listener
"protocol=value, lb-port=value, instance-port=value" ...]
[General Options]
DESCRIPTION
Create a new LoadBalancer
ARGUMENTS
LoadBalancerName
Name of the LoadBalancer. You can also set this value using "--lb".
Required.
SPECIFIC OPTIONS
-l, --listener "protocol=value, lb-port=value, instance-port=value" [ --listener "protocol=value, lb-port=value, instance-port=value" ...]
Port and protocol configuration for the LoadBalancer. For Windows, each
listener must be surrounded in quotes. Required.
-z, --availability-zones VALUE1,VALUE2,VALUE3...
Availability zones configured for the LoadBalancer. Required.
GENERAL OPTIONS
--aws-credential-file VALUE
Location of the file with your AWS credentials. This value can be set by
using the environment variable 'AWS_CREDENTIAL_FILE'.
--connection-timeout VALUE
Specify a connection timeout VALUE (in seconds). The default value is
'30'.
--delimiter VALUE
What delimiter to use when displaying delimited (long) results.
--ec2-cert-file-path VALUE
Location of the file with your EC2 X509 certificate. This value can be
set by using the environment variable 'EC2_CERT'.
--ec2-private-key-file-path VALUE
Location of the file with your EC2 private key. This value can be set by
using the environment variable 'EC2_PRIVATE_KEY'.
--headers
If you are displaying tabular or delimited results, it includes the
column headers. If you are showing xml results, it returns the HTTP
headers from the service request, if applicable. This is off by default.
-I, --access-key-id VALUE
Specify VALUE as the AWS Access Id to use.
--region VALUE
Specify region VALUE as the web service region to use. This value can be
set by using the environment variable 'EC2_REGION'.
-S, --secret-key VALUE
Specify VALUE as the AWS Secret Key to use.
--show-empty-fields
Show empty fields and rows, using a "(nil)" value. The default is to not
show empty fields or columns.
--show-request
Displays the URL the tools used to call the AWS Service. The default
value is 'false'.
--show-table, --show-long, --show-xml, --quiet
Specify how the results are displayed: tabular, delimited (long), xml, or
no output (quiet). Tabular shows a subset of the data in fixed
column-width form, while long shows all of the returned values delimited
by a character. The xml is the raw return from the service, while quiet
suppresses all standard output. The default is tabular, or 'show-table'.
-U, --url VALUE
This option will override the URL for the service call with VALUE. This
value can be set by using the environment variable 'AWS_ELB_URL'.
INPUT EXAMPLES
Create a LoadBalancer named example-lb
$PROMPT> elb-create-lb example-lb --headers --listener "lb-port=80,instance-port=8080,protocol=http" --listener "lb-port=443,instance-port=8081,protocol=tcp" --availability-zones us-east-1a,us-east-1b
OUTPUT
This command returns a table that contains the following:
* DNS-NAME - DNS name of LoadBalancer.
OUTPUT EXAMPLES
DNS-NAME DNS-NAME
DNS-NAME example-lb-509639176.us-east-1.elb.amazonaws.com
Service List | Table of Contents
SYNOPSIS
elb-delete-lb
LoadBalancerName [General Options]
DESCRIPTION
Deletes an existing LoadBalancer
ARGUMENTS
LoadBalancerName
Name of the existing LoadBalancer to delete. You can also set this value
using "--lb". Required.
SPECIFIC OPTIONS
--force
Suppress confirmation before enacting the operation. The default value is
'false'.
GENERAL OPTIONS
--aws-credential-file VALUE
Location of the file with your AWS credentials. This value can be set by
using the environment variable 'AWS_CREDENTIAL_FILE'.
--connection-timeout VALUE
Specify a connection timeout VALUE (in seconds). The default value is
'30'.
--delimiter VALUE
What delimiter to use when displaying delimited (long) results.
--ec2-cert-file-path VALUE
Location of the file with your EC2 X509 certificate. This value can be
set by using the environment variable 'EC2_CERT'.
--ec2-private-key-file-path VALUE
Location of the file with your EC2 private key. This value can be set by
using the environment variable 'EC2_PRIVATE_KEY'.
--headers
If you are displaying tabular or delimited results, it includes the
column headers. If you are showing xml results, it returns the HTTP
headers from the service request, if applicable. This is off by default.
-I, --access-key-id VALUE
Specify VALUE as the AWS Access Id to use.
--region VALUE
Specify region VALUE as the web service region to use. This value can be
set by using the environment variable 'EC2_REGION'.
-S, --secret-key VALUE
Specify VALUE as the AWS Secret Key to use.
--show-empty-fields
Show empty fields and rows, using a "(nil)" value. The default is to not
show empty fields or columns.
--show-request
Displays the URL the tools used to call the AWS Service. The default
value is 'false'.
--show-table, --show-long, --show-xml, --quiet
Specify how the results are displayed: tabular, delimited (long), xml, or
no output (quiet). Tabular shows a subset of the data in fixed
column-width form, while long shows all of the returned values delimited
by a character. The xml is the raw return from the service, while quiet
suppresses all standard output. The default is tabular, or 'show-table'.
-U, --url VALUE
This option will override the URL for the service call with VALUE. This
value can be set by using the environment variable 'AWS_ELB_URL'.
INPUT EXAMPLES
Delete LoadBalancer example-lb
$PROMPT> elb-delete-lb example-lb
Service List | Table of Contents
SYNOPSIS
elb-deregister-instances-from-lb
LoadBalancerName --instances value[,value...] [General Options]
DESCRIPTION
Deregisters instances from a LoadBalancer. Returns all instances registered
to the LoadBalancer
ARGUMENTS
LoadBalancerName
Name of the LoadBalancer. You can also set this value using "--lb".
Required.
SPECIFIC OPTIONS
--instances VALUE1,VALUE2,VALUE3...
List of instances to deregister from the LoadBalancer. Required.
GENERAL OPTIONS
--aws-credential-file VALUE
Location of the file with your AWS credentials. This value can be set by
using the environment variable 'AWS_CREDENTIAL_FILE'.
--connection-timeout VALUE
Specify a connection timeout VALUE (in seconds). The default value is
'30'.
--delimiter VALUE
What delimiter to use when displaying delimited (long) results.
--ec2-cert-file-path VALUE
Location of the file with your EC2 X509 certificate. This value can be
set by using the environment variable 'EC2_CERT'.
--ec2-private-key-file-path VALUE
Location of the file with your EC2 private key. This value can be set by
using the environment variable 'EC2_PRIVATE_KEY'.
--headers
If you are displaying tabular or delimited results, it includes the
column headers. If you are showing xml results, it returns the HTTP
headers from the service request, if applicable. This is off by default.
-I, --access-key-id VALUE
Specify VALUE as the AWS Access Id to use.
--region VALUE
Specify region VALUE as the web service region to use. This value can be
set by using the environment variable 'EC2_REGION'.
-S, --secret-key VALUE
Specify VALUE as the AWS Secret Key to use.
--show-empty-fields
Show empty fields and rows, using a "(nil)" value. The default is to not
show empty fields or columns.
--show-request
Displays the URL the tools used to call the AWS Service. The default
value is 'false'.
--show-table, --show-long, --show-xml, --quiet
Specify how the results are displayed: tabular, delimited (long), xml, or
no output (quiet). Tabular shows a subset of the data in fixed
column-width form, while long shows all of the returned values delimited
by a character. The xml is the raw return from the service, while quiet
suppresses all standard output. The default is tabular, or 'show-table'.
-U, --url VALUE
This option will override the URL for the service call with VALUE. This
value can be set by using the environment variable 'AWS_ELB_URL'.
INPUT EXAMPLES
Deregisters instances from LoadBalancer example-lb
$PROMPT> elb-deregister-instances-from-lb example-lb --headers --instances i-11111111,i-22222222,i-33333333
OUTPUT
This command returns a table that contains the following:
* INSTANCE-ID - Instance Ids of registered instances.
OUTPUT EXAMPLES
INSTANCE INSTANCE-ID
INSTANCE i-11111111
INSTANCE i-22222222
INSTANCE i-33333333
Service List | Table of Contents
SYNOPSIS
elb-describe-instance-health
LoadBalancerName [--instances value[,value...] ] [General Options]
DESCRIPTION
Describes the state of instances
ARGUMENTS
LoadBalancerName
Name of the LoadBalancer. You can also set this value using "--lb".
Required.
SPECIFIC OPTIONS
--instances VALUE1,VALUE2,VALUE3...
List of instances to describe the state of. Not specifying describes all
instances for the LoadBalancer.
GENERAL OPTIONS
--aws-credential-file VALUE
Location of the file with your AWS credentials. This value can be set by
using the environment variable 'AWS_CREDENTIAL_FILE'.
--connection-timeout VALUE
Specify a connection timeout VALUE (in seconds). The default value is
'30'.
--delimiter VALUE
What delimiter to use when displaying delimited (long) results.
--ec2-cert-file-path VALUE
Location of the file with your EC2 X509 certificate. This value can be
set by using the environment variable 'EC2_CERT'.
--ec2-private-key-file-path VALUE
Location of the file with your EC2 private key. This value can be set by
using the environment variable 'EC2_PRIVATE_KEY'.
--headers
If you are displaying tabular or delimited results, it includes the
column headers. If you are showing xml results, it returns the HTTP
headers from the service request, if applicable. This is off by default.
-I, --access-key-id VALUE
Specify VALUE as the AWS Access Id to use.
--region VALUE
Specify region VALUE as the web service region to use. This value can be
set by using the environment variable 'EC2_REGION'.
-S, --secret-key VALUE
Specify VALUE as the AWS Secret Key to use.
--show-empty-fields
Show empty fields and rows, using a "(nil)" value. The default is to not
show empty fields or columns.
--show-request
Displays the URL the tools used to call the AWS Service. The default
value is 'false'.
--show-table, --show-long, --show-xml, --quiet
Specify how the results are displayed: tabular, delimited (long), xml, or
no output (quiet). Tabular shows a subset of the data in fixed
column-width form, while long shows all of the returned values delimited
by a character. The xml is the raw return from the service, while quiet
suppresses all standard output. The default is tabular, or 'show-table'.
-U, --url VALUE
This option will override the URL for the service call with VALUE. This
value can be set by using the environment variable 'AWS_ELB_URL'.
INPUT EXAMPLES
Describes the states of all instances for LoadBalancer example-lb
$PROMPT> elb-describe-instance-health example-lb --headers
Describes the states of specific instances for LoadBalancer example-lb
$PROMPT> elb-describe-instance-health example-lb --headers --instances i-11111111,i-22222222
OUTPUT
This command returns a table that contains the following:
* INSTANCE-ID - Instance name.
* STATE - Instance state.
* DESCRIPTION - Description of instance state. This column appears only in
the --show-long view.
* REASON-CODE - Reason-code for instance state. This column appears only in
the --show-long view.
OUTPUT EXAMPLES
INSTANCE INSTANCE-ID STATE
INSTANCE i-11111111 InService
INSTANCE i-22222222 OutOfService
INSTANCE i-33333333 InService
Service List | Table of Contents
SYNOPSIS
elb-describe-lbs
[LoadBalancerNames [LoadBalancerNames ...] ] [General Options]
DESCRIPTION
Describes the state and properties of LoadBalancers
ARGUMENTS
LoadBalancerNames
List of LoadBalancers to describe. Not specifying describes all
LoadBalancers owned by the AWS Account.
GENERAL OPTIONS
--aws-credential-file VALUE
Location of the file with your AWS credentials. This value can be set by
using the environment variable 'AWS_CREDENTIAL_FILE'.
--connection-timeout VALUE
Specify a connection timeout VALUE (in seconds). The default value is
'30'.
--delimiter VALUE
What delimiter to use when displaying delimited (long) results.
--ec2-cert-file-path VALUE
Location of the file with your EC2 X509 certificate. This value can be
set by using the environment variable 'EC2_CERT'.
--ec2-private-key-file-path VALUE
Location of the file with your EC2 private key. This value can be set by
using the environment variable 'EC2_PRIVATE_KEY'.
--headers
If you are displaying tabular or delimited results, it includes the
column headers. If you are showing xml results, it returns the HTTP
headers from the service request, if applicable. This is off by default.
-I, --access-key-id VALUE
Specify VALUE as the AWS Access Id to use.
--region VALUE
Specify region VALUE as the web service region to use. This value can be
set by using the environment variable 'EC2_REGION'.
-S, --secret-key VALUE
Specify VALUE as the AWS Secret Key to use.
--show-empty-fields
Show empty fields and rows, using a "(nil)" value. The default is to not
show empty fields or columns.
--show-request
Displays the URL the tools used to call the AWS Service. The default
value is 'false'.
--show-table, --show-long, --show-xml, --quiet
Specify how the results are displayed: tabular, delimited (long), xml, or
no output (quiet). Tabular shows a subset of the data in fixed
column-width form, while long shows all of the returned values delimited
by a character. The xml is the raw return from the service, while quiet
suppresses all standard output. The default is tabular, or 'show-table'.
-U, --url VALUE
This option will override the URL for the service call with VALUE. This
value can be set by using the environment variable 'AWS_ELB_URL'.
INPUT EXAMPLES
Describes the state and properties of all the user's LoadBalancers
$PROMPT> elb-describe-lbs --headers
Describes the state and properties of the specified LoadBalancers
$PROMPT> elb-describe-lbs --headers --lbs example-lb1,example-lb2
OUTPUT
This command returns a table that contains the following:
* NAME - LoadBalancer name.
* DNS-NAME - DNS name of the LoadBalancer.
* HEALTH_CHECK - Configured healthcheck for LoadBalancer. This column
appears only in the --show-long view.
* AVAILABILITY-ZONES - Configured Availability zones for LoadBalancer. This
column appears only in the --show-long view.
* INSTANCE-ID - Instances registered to LoadBalancer. This column appears
only in the --show-long view.
* LISTENERS - Configured Listener port/protocol configurations for this
LoadBalancer. This column appears only in the --show-long view.
* CREATED_TIME - Time LoadBalancer was created.
OUTPUT EXAMPLES
LOAD-BALANCER NAME DNS-NAME CREATED_TIME
LOAD-BALANCER example-lb1 example-lb1-875399986.elb.amazonaws.com 2009-04-15:39:56Z
LOAD-BALANCER example-lb2 example-lb2-44703607.elb.amazonaws.com 2009-04-15T22:40:08Z
LOAD-BALANCER example-lb3 example-lb3-1268242586.elb.amazonaws.com 2009-04-09T22:49:02Z
Service List | Table of Contents
SYNOPSIS
elb-disable-zones-for-lb
LoadBalancerName --availability-zones value[,value...]
[General Options]
DESCRIPTION
Remove availability zones from an LoadBalancer
ARGUMENTS
LoadBalancerName
Name of the LoadBalancer. You can also set this value using "--lb".
Required.
SPECIFIC OPTIONS
-z, --availability-zones VALUE1,VALUE2,VALUE3...
List of availability zones to remove from the LoadBalancer. Required.
GENERAL OPTIONS
--aws-credential-file VALUE
Location of the file with your AWS credentials. This value can be set by
using the environment variable 'AWS_CREDENTIAL_FILE'.
--connection-timeout VALUE
Specify a connection timeout VALUE (in seconds). The default value is
'30'.
--delimiter VALUE
What delimiter to use when displaying delimited (long) results.
--ec2-cert-file-path VALUE
Location of the file with your EC2 X509 certificate. This value can be
set by using the environment variable 'EC2_CERT'.
--ec2-private-key-file-path VALUE
Location of the file with your EC2 private key. This value can be set by
using the environment variable 'EC2_PRIVATE_KEY'.
--headers
If you are displaying tabular or delimited results, it includes the
column headers. If you are showing xml results, it returns the HTTP
headers from the service request, if applicable. This is off by default.
-I, --access-key-id VALUE
Specify VALUE as the AWS Access Id to use.
--region VALUE
Specify region VALUE as the web service region to use. This value can be
set by using the environment variable 'EC2_REGION'.
-S, --secret-key VALUE
Specify VALUE as the AWS Secret Key to use.
--show-empty-fields
Show empty fields and rows, using a "(nil)" value. The default is to not
show empty fields or columns.
--show-request
Displays the URL the tools used to call the AWS Service. The default
value is 'false'.
--show-table, --show-long, --show-xml, --quiet
Specify how the results are displayed: tabular, delimited (long), xml, or
no output (quiet). Tabular shows a subset of the data in fixed
column-width form, while long shows all of the returned values delimited
by a character. The xml is the raw return from the service, while quiet
suppresses all standard output. The default is tabular, or 'show-table'.
-U, --url VALUE
This option will override the URL for the service call with VALUE. This
value can be set by using the environment variable 'AWS_ELB_URL'.
INPUT EXAMPLES
Remove availability zones from LoadBalancer example-lb
$PROMPT> elb-disable-zones-for-lb example-lb --headers --availability-zones us-east-1a,us-east-1b
OUTPUT
This command returns a table that contains the following:
* AVAILABILITY-ZONES - Availability zones now configured for the
LoadBalancer.
OUTPUT EXAMPLES
AVAILABILITY_ZONES AVAILABILITY-ZONES
AVAILABILITY_ZONES "us-east-1c"
Service List | Table of Contents
SYNOPSIS
elb-enable-zones-for-lb
LoadBalancerName --availability-zones value[,value...]
[General Options]
DESCRIPTION
Add availability zones to existing LoadBalancer
ARGUMENTS
LoadBalancerName
Name of the LoadBalancer. You can also set this value using "--lb".
Required.
SPECIFIC OPTIONS
-z, --availability-zones VALUE1,VALUE2,VALUE3...
List of availability zones to add to the LoadBalancer. Required.
GENERAL OPTIONS
--aws-credential-file VALUE
Location of the file with your AWS credentials. This value can be set by
using the environment variable 'AWS_CREDENTIAL_FILE'.
--connection-timeout VALUE
Specify a connection timeout VALUE (in seconds). The default value is
'30'.
--delimiter VALUE
What delimiter to use when displaying delimited (long) results.
--ec2-cert-file-path VALUE
Location of the file with your EC2 X509 certificate. This value can be
set by using the environment variable 'EC2_CERT'.
--ec2-private-key-file-path VALUE
Location of the file with your EC2 private key. This value can be set by
using the environment variable 'EC2_PRIVATE_KEY'.
--headers
If you are displaying tabular or delimited results, it includes the
column headers. If you are showing xml results, it returns the HTTP
headers from the service request, if applicable. This is off by default.
-I, --access-key-id VALUE
Specify VALUE as the AWS Access Id to use.
--region VALUE
Specify region VALUE as the web service region to use. This value can be
set by using the environment variable 'EC2_REGION'.
-S, --secret-key VALUE
Specify VALUE as the AWS Secret Key to use.
--show-empty-fields
Show empty fields and rows, using a "(nil)" value. The default is to not
show empty fields or columns.
--show-request
Displays the URL the tools used to call the AWS Service. The default
value is 'false'.
--show-table, --show-long, --show-xml, --quiet
Specify how the results are displayed: tabular, delimited (long), xml, or
no output (quiet). Tabular shows a subset of the data in fixed
column-width form, while long shows all of the returned values delimited
by a character. The xml is the raw return from the service, while quiet
suppresses all standard output. The default is tabular, or 'show-table'.
-U, --url VALUE
This option will override the URL for the service call with VALUE. This
value can be set by using the environment variable 'AWS_ELB_URL'.
INPUT EXAMPLES
Add availability zones to LoadBalancer example-lb
$PROMPT> elb-enable-zones-for-lb example-lb --headers --availability-zones us-east-1a,us-east-1b
OUTPUT
This command returns a table that contains the following:
* AVAILABILITY-ZONES - Availability zones now configured for the
LoadBalancer.
OUTPUT EXAMPLES
AVAILABILITY_ZONES AVAILABILITY-ZONES
AVAILABILITY_ZONES "us-east-1a, us-east-1b"
Service List | Table of Contents
SYNOPSIS
elb-register-instances-with-lb
LoadBalancerName --instances value[,value...] [General Options]
DESCRIPTION
Registers instances to a LoadBalancer. Returns all instances registered to
the LoadBalancer
ARGUMENTS
LoadBalancerName
Name of the LoadBalancer. You can also set this value using "--lb".
Required.
SPECIFIC OPTIONS
--instances VALUE1,VALUE2,VALUE3...
List of instances to register with the LoadBalancer. Required.
GENERAL OPTIONS
--aws-credential-file VALUE
Location of the file with your AWS credentials. This value can be set by
using the environment variable 'AWS_CREDENTIAL_FILE'.
--connection-timeout VALUE
Specify a connection timeout VALUE (in seconds). The default value is
'30'.
--delimiter VALUE
What delimiter to use when displaying delimited (long) results.
--ec2-cert-file-path VALUE
Location of the file with your EC2 X509 certificate. This value can be
set by using the environment variable 'EC2_CERT'.
--ec2-private-key-file-path VALUE
Location of the file with your EC2 private key. This value can be set by
using the environment variable 'EC2_PRIVATE_KEY'.
--headers
If you are displaying tabular or delimited results, it includes the
column headers. If you are showing xml results, it returns the HTTP
headers from the service request, if applicable. This is off by default.
-I, --access-key-id VALUE
Specify VALUE as the AWS Access Id to use.
--region VALUE
Specify region VALUE as the web service region to use. This value can be
set by using the environment variable 'EC2_REGION'.
-S, --secret-key VALUE
Specify VALUE as the AWS Secret Key to use.
--show-empty-fields
Show empty fields and rows, using a "(nil)" value. The default is to not
show empty fields or columns.
--show-request
Displays the URL the tools used to call the AWS Service. The default
value is 'false'.
--show-table, --show-long, --show-xml, --quiet
Specify how the results are displayed: tabular, delimited (long), xml, or
no output (quiet). Tabular shows a subset of the data in fixed
column-width form, while long shows all of the returned values delimited
by a character. The xml is the raw return from the service, while quiet
suppresses all standard output. The default is tabular, or 'show-table'.
-U, --url VALUE
This option will override the URL for the service call with VALUE. This
value can be set by using the environment variable 'AWS_ELB_URL'.
INPUT EXAMPLES
Register instances to an LoadBalancer example-lb
$PROMPT> elb-register-instances-with-lb example-lb --headers --instances i-11111111,i-22222222,i-33333333
OUTPUT
This command returns a table that contains the following:
* INSTANCE-ID - Instance Ids of registered instances.
OUTPUT EXAMPLES
INSTANCE INSTANCE-ID
INSTANCE i-11111111
INSTANCE i-22222222
INSTANCE i-33333333
Service List | Table of Contents
Amazon ElasticLoadBalancing CLI version 1.0.1.23 (API 2009-05-15)