---
name: "eulb-attach-lb-to-subnets"
section: "1"
platform: "linux"
package: "euca2ools"
version: "3.3.1-2"
release: "Debian 10 (Buster)"
platforms: ["linux"]
url: "https://new.carta.tech/eulb-attach-lb-to-subnets"
---

# eulb-attach-lb-to-subnets(1)

\[VPC only\] Add a load balancer to one or more subnets

## NAME

eulb-attach-lb-to-subnets - \[VPC only\] Add a load balancer to one or more subnets

## SYNOPSIS

eulb-attach-lb-to-subnets **-s** SUBNET1,SUBNET2,... \[--show-empty-fields\]

- \[-U URL\] \[--region USER@REGION\] \[-I KEY\_ID\]

  \[-S KEY\] \[--security-token TOKEN\] \[--debug\] \[--debugger\] \[--version\] \[-h\] ELB

## DESCRIPTION

\[VPC only\] Add a load balancer to one or more subnets

### positional arguments:

- ELB

  name of the load balancer to modify (required)

### optional arguments:

- **-s** SUBNET1,SUBNET2,..., **--subnets** SUBNET1,SUBNET2,...

  IDs of the subnets to add the load balancer to (required)

- **--show-empty-fields**

  show empty values as "(nil)"

- **-U** URL, **--url** URL

  load balancing service endpoint URL

- **--region** USER@REGION

  region and/or user names to search when looking up config file data

**-I** KEY\_ID, **--access-key-id** KEY\_ID

**-S** KEY, **--secret-key** KEY

**--security-token** TOKEN

- **--debug**

  show debugging output

- **--debugger**

  launch interactive debugger on error

- **--version**

  show the program's version and exit

- **-h**, **--help**

  show this help message and exit
