Name | Type | Required | Description |
---|---|---|---|
members | List | False | The list of Nova server IDs that are load balanced. |
pool_id | String | False | The ID of the load balancing pool. |
protocol_port | Integer | False | The port number of the pool members on which the loadbalanced servers run. |
Name | Type | Required | Description |
---|---|---|---|
availablity_zones | List | False | A list of availability zones to load balance. You must specify a value for either availability_zones or subnets. |
cross_zone | Boolean | False | The state of load balancing across multiple availability zones. The default value is false. |
health_check | Map | True | Periodic application health check to confirm availability of the instances. |
listeners | List | True | A list of listeners, which are processes that listen for connection requests to attach to the load balancer. |
name | String | True | The name of the load balancer. |
scheme | String | False | The load balancer scheme. Specify internal to create an internal load balancer with a DNS name that resolves to private IP addresses or internet-facing to create a load balancer with a publicly resolvable DNS name that resolves to public IP addresses. The default value is internet_facing |
security_groups | List | False | A list of VPC security groups. |
subnets | List | False | A list of subnets to load balance. You must specify a value for either availability_zones or subnets. |
Property | Type | Required | Description |
---|---|---|---|
healthy_threshold | Integer | True | Specifies the number of consecutive health probe successes that are required before moving the instance to the Healthy state. |
interval | Integer | True | Specifies the approximate interval, in seconds, between health checks of an individual instance. |
target | String | True | Specifies the instance's protocol and port to check. The following protocol
values are allowed:
Note:
For TCP and SSL, you specify a port pair. For example, you can specify TCP:5000 or SSL:5000. The health check attempts to open a TCP or SSL connection to the instance on the port that you specify. If the health check fails to connect within the configured timeout period, the instance is considered unhealthy. For HTTP or HTTPS, you specify a port and a path to ping (HTTP or HTTPS:port/PathtoPing). For example, you can specify HTTP:80/weather/us/wa/seattle. In this case, an HTTP GET request is issued to the instance on the specified port and path. If the health check receives any response other than 200 OK within the configured timeout period, the instance is considered unhealthy. The total length of the HTTP or HTTPS ping target cannot be more than 1024 16-bit Unicode characters. |
timeout | Integer | True | Specifies the amount of time, in seconds, during which no response means a failed health probe. This value must be less than the value for Interval. |
unhealthy_threshold | Integer | True | Specifies the number of consecutive health probe failures that are required before moving the instance to the Unhealthy state. |
Property | Type | Required | Description |
---|---|---|---|
instance_port | Integer | True | Specifies the TCP port on which the instance server is listening. |
instance_protocol | String | False | Specifies the protocol to use for routing traffic to back-end instances. The
following values are allowed:
Note:
If the front-end protocol is HTTP or HTTPS, instance_protocol must be at the same protocol layer. Likewise, if the front-end protocol is TCP or SSL, instance_protocol must be TCP or SSL. If there is another listener with the same instance_port whose instance_protocol is secure, for example HTTPS or SSL, the listener's instance_protocol must be secure, for example HTTPS or SSL. If there is another listener with the same instance_port whose instance_protocol is HTTP or TCP, the listener's instance_protocol must be either HTTP or TCP. |
load_balancer_port | Integer | True | Specifies the external load balancer port number. |
protocol | String | True | Specifies the load balancer transport protocol to use for routing. The
following values are allowed:
|
ssl_certificate_id | String | False | The ARN of the SSL certificate to use. For more information about SSL certificates, see Managing Server Certificates in the AWS Identity and Access Management documentation. |
Name | Description |
---|---|
dns_name | The DNS name for the load balancer. |