Files
3engines_doc/docs/networking/How-to-Add-or-Remove-Floating-IPs-to-your-VM-on-3Engines-Cloud.html.md
2025-07-04 09:34:25 +05:30

70 lines
3.3 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

How to Add or Remove Floating IPs to your VM on 3Engines Cloud[🔗](#how-to-add-or-remove-floating-ips-to-your-vm-on-brand-name "Permalink to this headline")
==============================================================================================================================================================
In order to make your VM accessible from the Internet, you need to use Floating IPs. Floating IPs in 3Engines are public IP addresses assigned to your Virtual Machines. Assignment of a Floating IP allows you (if you have your Security Groups set properly) to host services like SSH or HTTP over the Internet.
How to assign a Floating IP to your VM?[🔗](#how-to-assign-a-floating-ip-to-your-vm "Permalink to this headline")
----------------------------------------------------------------------------------------------------------------
In the Instances tab in Horizon, click the dropdown menu next to your VM and choose **Associate Floating IP**.
![fip1.png](../_images/fip1.png)
You will be shown a window like this:
![fip2.png](../_images/fip2.png)
You may choose an address from the dropdown menu, but if its empty, you need to allocate an address first. Click the **+** icon on the right.
![fip3.png](../_images/fip3.png)
Click **Allocate IP**.
Warning
Please always choose the *external* network!
![fip4.png](../_images/fip4.png)
Select your newly allocated IP address and click **Associate**.
![fip5.png](../_images/fip5.png)
Note
The IP address should be associated with a local address from the **192.168.x.x** subnet. If you have a **10.x.x.x** address change it to an **192.168.x.x** address.
Click **Associate**.
Note
The VMs communicate between themselves trough an internal network **192.168.x.x** so if you are connecting from one Virtual Machine to another
you should use private addresses. If you try to connect your VM to the wrong network you will be notified by the following message:
![fip6.png](../_images/fip6.png)
You now have a public IP assigned to your instance. It is visible in the Instances menu:
![fip7.png](../_images/fip7.png)
You can now connect to your Virtual Machine trough SSH or RDP from the Internet.
How to disassociate a Floating IP?[🔗](#how-to-disassociate-a-floating-ip "Permalink to this headline")
------------------------------------------------------------------------------------------------------
If you no longer need a public IP address you may disassociate it from your VM. Click **Dissasociate Floating IP** from the dropdown menu:
![fip8.png](../_images/fip8.png)
How to release a Floating IP (return it to the pool)?[🔗](#how-to-release-a-floating-ip-return-it-to-the-pool "Permalink to this headline")
------------------------------------------------------------------------------------------------------------------------------------------
Floating IPs (just like any other 3Engines resource) have their cost when kept reserved and not used.
If you dont want to keep your Floating IPs reserved for your project you may release them to the 3Engines pool for other users which will also reduce the costs of your project.
Go to Project → Network → Floating IPs
![fip9.png](../_images/fip9.png)
For the address that is not in use, the **Release Floating IP** option will be available. Click it to release the IP address.