Add one or more listeners to a load balancer.
Syntax
eulb-create-lb-listeners --listener "lb-port=PORT, protocol=PROTOCOL,
instance-port=PORT, instance-protocol=PROTOCOL,
cert-id=ARN"
ELB
Options
Option |
Description |
Required |
--listener "lb-port=PORT,
protocol={HTTP,HTTPS,SSL,TCP},
instance-port=PORT,
instance-protocol={HTTP,HTTPS,SSL,TCP},
cert-id=ARN" |
Port and protocol settings for the load
balancer. This option may be used multiple
times. lb-port and
protocol specify the
external port number and protocol,
instance-port and
instance-protocol specify
the port and protocol to use for routing traffic
to backend instances, and
cert-id specifies the ARN
of the server certificate to use for encrypted
connections. |
Yes (Minimum:
lb-port,
protocol,
instance-port) |
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 no output.
Example
eulb-create-lb-listeners -l "lb-port=22, protocol=TCP, instance-port=22, instance-protocol=TCP" MyLoadBalancer