lb_create
Create a Vultr load balancer with configurable region, balancing algorithm, health checks, forwarding rules, SSL, and firewall settings. Specify required region and optional parameters to provision a new load balancer.
Instructions
Create a new load balancer.
Args: region: Region code (e.g., 'ewr', 'lax') ctx: FastMCP context for resource change notifications balancing_algorithm: Algorithm to use ('roundrobin' or 'leastconn') ssl_redirect: Redirect HTTP traffic to HTTPS http2: Enable HTTP/2 support http3: Enable HTTP/3 support proxy_protocol: Enable proxy protocol timeout: Connection timeout in seconds label: Label for the load balancer nodes: Number of backend nodes health_check: Health check configuration dict with keys: - protocol: 'http', 'https', 'tcp' - port: Port number - path: Path for HTTP checks - check_interval: Check interval in seconds - response_timeout: Response timeout in seconds - unhealthy_threshold: Failures before marking unhealthy - healthy_threshold: Successes before marking healthy forwarding_rules: List of forwarding rule dicts with keys: - frontend_protocol: 'http', 'https', 'tcp' - frontend_port: Frontend port number - backend_protocol: 'http', 'https', 'tcp' - backend_port: Backend port number ssl: SSL configuration dict with keys: - private_key: Private key content - certificate: Certificate content - chain: Certificate chain content firewall_rules: List of firewall rule dicts with keys: - port: Port number - source: Source IP or CIDR - ip_type: 'v4' or 'v6' auto_ssl: Auto SSL configuration dict with keys: - domain_zone: Domain zone - domain_sub: Subdomain global_regions: List of global region codes vpc: VPC ID to attach to private_network: Private network ID (legacy) sticky_session: Sticky session configuration with cookie_name
Returns: Created load balancer information
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ssl | No | ||
| vpc | No | ||
| http2 | No | ||
| http3 | No | ||
| label | No | ||
| nodes | No | ||
| region | Yes | ||
| timeout | No | ||
| auto_ssl | No | ||
| health_check | No | ||
| ssl_redirect | No | ||
| firewall_rules | No | ||
| global_regions | No | ||
| proxy_protocol | No | ||
| sticky_session | No | ||
| private_network | No | ||
| forwarding_rules | No | ||
| balancing_algorithm | No | roundrobin |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||