ec2-associate-address From Amazon Elastic Compute Cloud: 2008-12-01 previous page next page ec2-associate-addressSyntax ec2-associate-address -i instance_id ip_address Description Associates an elastic IP address with an instance. If the IP address is currently assigned to another instance, the IP address is assigned to the new instance. This is an idempotent operation. If you enter it more than once, Amazon EC2 does not return an error. OptionsOptionDescriptionRequiredinstance_idThe instance to which the IP address is assigned. Example: i-43a4412a Yesip_addressThe IP address that you are assigning to the instance. Example: 67.202.55.255 YesOutput Amazon EC2 returns a table that contains the following information: Output type identifier ("ADDRESS")Elastic IP address that you are assigning to the instanceInstance to which the IP address is assigned Amazon EC2 displays errors on stderr. ExampleThis example assigns the 67.202.55.255 IP address to the i-43a4412a instance.PROMPT> ec2-associate-address -i i-43a4412a 67.202.55.255 ADDRESS 67.202.55.255 i-43a4412aRelated Topics ec2-allocate-address ec2-describe-addresses ec2-release-address ec2-disassociate-address previous page start next page