Description Usage Arguments Value References See Also
Associate/Disassociate IP with Instance
1 2 3 4 | associate_ip(instance, ip, private = NULL, netinterface = NULL,
allow = FALSE, ...)
disassociate_ip(ip, ...)
|
instance |
A character string containing an EC2 instance ID or an object of class “ec2_instance”. Or, actions can be taken on multiple instances in one call by passing a character vector of instance IDs, or a list of objects of class “ec2_instance”. |
ip |
An object of class “ec2_ip” or an allocationId (for a VPC IP) or publicIp (for a standard IP). |
private |
For a VPC |
netinterface |
For a VCP |
allow |
... |
... |
Additional arguments passed to [ec2HTTP()]. |
A list.
http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_AssociateAddress.html http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DisassociateAddress.html
allocate_ip()
, describe_ips()
, release_ip()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.