dcloud ec2 elastic-ips associateAttach an elastic IP to an instance
IAM ec2:AssociateAddressChanges state
Synopsis
dcloud ec2 elastic-ips associate id --instance-id instanceIdArguments
<id>Requiredstring
Also accepted as
--id. Constraints: uuid
Flags
--instance-idRequiredstring
The instance to attach the address to (i-…)
Constraints: /^i-[0-9a-f]{6,32}$/
Example
dcloud ec2 elastic-ips associate id --instance-id exampleGenerated from the API description, the same one the API checks requests against and the CLI is built from.