Getting started - Beginner

Allocate a floating IP to an instance (4/5)

When you create an OpenStack instance, it receives a private IP address. Your instance is accessible for other instances with this private IP address . If you want to access your instance(s) over the internet, you'll need to assign a (floating) IP to these instances. A floating IP is an IP address on a external network. A floating IP address gives access to an instance to a private network from a external network. A floating IP address can only be defined on networks when the router has the attribute router:external set to true

Allocating a floating IP

When you created your instance it was automatically assigned with a fixed internal IP address. This IP address is permanently connected to the instance until it is terminated. Unlike the fixed IP address, you can modify the floating IP connections at any time.

  1. Select your Project, now go to Compute and click Access & Security.
  2. Click the Floating IPs tab followed by Allocate IP to Project.
    1. Choose the Pool from which to pick the IP address.
    2. Click Allocate IP.
    3. In the Floating IPs list, click Associate.
  3. In the Manage Floating IP Associations dialog box, you can choose the following:
    1. The IP is filled in automatically, but you can press the + to add additional IP addresses.
    2. In the field Port to be associated select the instance to connect to the IP address.
    3. Click Associate.

Was this article helpful?


Go to the next tutorial in Getting started

How to log in to your instance (5/5)

After you have created your instance you probably want to connect to it remotely. For Linux instances you need to use SSH (Secure Shell) and for Windows instances you need to create a RDP session (Remote Desktop Protocol). If you want to connect remotely to your instance from outside of your network you need to allocate and assign a floating IP first. Connect to a linux instance with an imported Key Pair If your instance is CentOS, Fedora or Debian: sh -i .
Fuga OpenStack

Code.Build.Deploy

Terms of use