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