---
name: "euca-associate-address"
section: "1"
platform: "linux"
package: "euca2ools"
version: "3.3.1-2"
release: "Debian 10 (Buster)"
platforms: ["linux"]
url: "https://new.carta.tech/euca-associate-address"
---

# euca-associate-address(1)

Associate an elastic IP address with a running instance

## NAME

euca-associate-address - Associate an elastic IP address with a running instance

## SYNOPSIS

euca-associate-address \[-a ALLOC\] (**-i** INSTANCE \| **-n** INTERFACE)

- \[-p ADDRESS\] \[--allow-reassociation\]

  \[--show-empty-fields\] \[-U URL\] \[--region USER@REGION\] \[-I KEY\_ID\] \[-S KEY\] \[--security-token TOKEN\] \[--debug\] \[--debugger\] \[--version\] \[-h\] \[ADDRESS\]

## DESCRIPTION

Associate an elastic IP address with a running instance

### positional arguments:

- ADDRESS

  \[Non-VPC only\] IP address to associate (required)

### optional arguments:

- **-a** ALLOC, **--allocation-id** ALLOC

  \[VPC only\] VPC allocation ID (required)

- **-i** INSTANCE, **--instance-id** INSTANCE

  ID of the instance to associate the address with

- **-n** INTERFACE, **--network-interface** INTERFACE

  \[VPC only\] network interface to associate the address with

- **-p** ADDRESS, **--private-ip-address** ADDRESS

  \[VPC only\] the private address to associate with the address being associated in the VPC (default: primary private IP)

- **--allow-reassociation**

  \[VPC only\] allow the address to be associated even if it is already associated with another interface

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

  show empty values as "(nil)"

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

  compute 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
