GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
ECLAT-ASSOCADDR(1) Eclat User Reference ECLAT-ASSOCADDR(1)

eclat-assocaddr, eclat-associate-address - associate an IP address with an instance

eclat assocaddr [OPTIONS] INSTANCE IP

eclat assocaddr [OPTIONS] INSTANCE ALLOC-ID

eclat assocaddr --help

The assocaddr command associates an Elastic IP address with an non-VPC instance or associates a VPC Elastic IP address with an instance in your VPC.

The first argument is always the ID of the instance to operate upon. The meaning of the second argument depends on the --vpc command line option. If that option is given, the second argument supplies the allocation ID that AWS returned when you allocated the Elastic IP address for use with Amazon VPC. Otherwise, it is the Elastic IP to assign to the non-VPC instance.

-A, --allow-reassociation
Allows an already associated address to be re-associated with the specified instance (VPC only).
-i, --interface=IFACE
A network interface ID to associate with the instance (vpc only).
-p, --private-address=ADDRESS
Private IP address to associate with the Elastic IP address (vpc only).
-v, --vpc
Assign VPC addresses.

The default output format does not display anything if the operation succeeds. Otherwise it prints on the standard error the diagnostic message returned by the Amazon, and returns code 1 to the shell.

The code 2 is returned if eclat is unable to recognize the response.

Assign an Elastic IP to the instance:

eclat assocaddr i-2ea64347 192.0.2.1

Associate an IP address with an instance in the VPC:

eclat assocaddr --vpc i-4fd2431a eipalloc-5723d13e

eclat(1), eclat-mkaddr(1), eclat-rmaddr(1), eclat-disassaddr(1).

Sergey Poznyakoff

Report bugs to <bug-eclat@gnu.org.ua>.

Copyright © 2012-2018 Sergey Poznyakoff
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.

January 26, 2015 ECLAT

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.