Zend_Service_Amazon_Ec2: Elastic IP AddressesBy default, all Amazon EC2 instances are assigned two IP addresses at launch: a private (RFC 1918) address and a public address that is mapped to the private IP address through Network Address Translation (NAT). If you use dynamic DNS to map an existing DNS name to a new instance's public IP address, it might take up to 24 hours for the IP address to propagate through the Internet. As a result, new instances might not receive traffic while terminated instances continue to receive requests. To solve this problem, Amazon EC2 provides elastic IP addresses. Elastic IP addresses are static IP addresses designed for dynamic cloud computing. Elastic IP addresses are associated with your account, not specific instances. Any elastic IP addresses that you associate with your account remain associated with your account until you explicitly release them. Unlike traditional static IP addresses, however, elastic IP addresses allow you to mask instance or Availability Zone failures by rapidly remapping your public IP addresses to any instance in your account. Example #1 Allocating a new Elastic IP
Example #2 Describing Allocated Elastic IP Addresses
Example #3 Releasing Elastic IP
Returns a boolean TRUE or FALSE.
Example #4 Associates an Elastic IP to an Instance
Returns a boolean TRUE or FALSE.
Example #5 Disassociate an Elastic IP from an instance
Returns a boolean TRUE or FALSE.
|
|