Assigning an OpenStack instance a public IP address is a simple procedure. You first need to navigate to the Instances page at:
Dashboard -> Compute -> Instances
Then, you need to do the following:
The public IP can be selected via the next dialog box by performing the following:
Once the 'associate' button is clicked, the public IP will be routed to the server.
An easy way to test this is to try and SSH into the instance, typically a Windows user would use 'Putty' to achieve this, *nix users should use the following:
ssh -i cloud.key <username>@<instance_ip>
It should be noted that this IP address will not be visible in the instance's operating system, but ingress traffic destined for that IP will be routed to the instance's private IP via NAT. Equally egress traffic will be seen as originating from that floating IP address.
Last updated 19 July 2016, 13:29 GMT