Difference between revisions of "Floating IP addresses"

From Luna Node
Jump to: navigation, search
Line 15: Line 15:
  
 
You can use the [https://dynamic.lunanode.com/panel/floatingip.php Manage Floating IPs] page to add and remove floating IP address to and from your account. This page is reachable from the Account tab.
 
You can use the [https://dynamic.lunanode.com/panel/floatingip.php Manage Floating IPs] page to add and remove floating IP address to and from your account. This page is reachable from the Account tab.
 +
 +
== Multiple IPs ==
 +
 +
We can assign multiple floating IPs to a single instance under special circumstances; open a ticket if you need this (there will be an extra hourly fee).
 +
 +
Note that your VM will have multiple internal IPs, each of which map to one external floating IP. For example, your VM may have two IP addresses 192.168.0.5 → 1.2.3.4 and 192.168.0.6 → 4.3.2.1.

Revision as of 05:53, 29 May 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.

Usage

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.

You can use the Manage Floating IPs page to add and remove floating IP address to and from your account. This page is reachable from the Account tab.

Multiple IPs

We can assign multiple floating IPs to a single instance under special circumstances; open a ticket if you need this (there will be an extra hourly fee).

Note that your VM will have multiple internal IPs, each of which map to one external floating IP. For example, your VM may have two IP addresses 192.168.0.5 → 1.2.3.4 and 192.168.0.6 → 4.3.2.1.