Difference between revisions of "Floating IP addresses"

From Luna Node
Jump to: navigation, search
(Created page with "Floating IP addresses enables dynamic IP address association with virtual machine instances (they can be associated with a VM, transferred between VMs, or removed back to the ...")
(No difference)

Revision as of 20:36, 20 April 2014

Floating IP addresses enables dynamic IP address association with virtual machine instances (they can be associated with a VM, transferred between VMs, or removed back to the pool while the VMs are still running). On Luna Node Dynamic, all external IP addresses are floating IP addresses, and a virtual machine instance is allocated one when it is created.

Use cases

Here are some use cases for floating IP addresses.

  • Upgrading your website: suppose you want to upgrade your web software with minimal downtime. You could first snapshot your virtual machine to create a clone, and then perform the upgrade on the clone. When you are satisfied that the site is operational, you can seamlessly switch the floating IP address from the original virtual machine to the clone.
  • Reserving IP address: if you want to take a break from working on a project and avoid paying for the virtual machine instance, you can snapshot your virtual machine, de-associate the floating IP and place it on your account, and then delete the VM. Then, when you want to resume work, you only have to create a new VM from the snapshot and assign it the floating IP.

Guide

When your VM is provisioned, it already comes with an external IP address, which is also a floating IP. These IP addresses are included in the VM plan hourly price. You can also have a number of floating IP addresses reserved on your account, but not assigned to any VM; these are charged hourly at $1/month.

To transfer the IP of a VM to your account, go to the Virtual Machines tab, select your VM, and click De-associate floating IP. Then, to assign it to another VM, select the other VM, de-associate its current IP if it has one (you may want to also delete the IP from your account so it isn't charged), and then associate it with the desired floating IP.