Cart

    Sorry, we could not find any results for your search querry.

    How to add a floating IP to an instance

    In this guide, we explain how to assign a Floating IP to an OpenStack instance in the OpenStack dashboard (‘Horizon’). A Floating IP is a flexible public IP address that allows traffic to be routed to and from your private network. Where useful, we link to background articles so you know exactly what you’re doing.


     

    Requirements

     


     

    Assigning a Floating IP in Horizon

     

    These steps apply to AMS2. Working in AMS? Then only complete Step 2, Step 9 and Step 10.

     

     

    Step 1

    Log in to the OpenStack Dashboard ‘Horizon.


     

    Step 2

    Don’t have an instance yet? First follow the steps in OpenStack getting started: creating an instance.


     

    Step 3

    Create a router to route traffic between your internal network and the external network. Go to ‘Network’ > ‘Routers’ and click ‘+ CREATE ROUTER’.

    Horizon: Network > Routers with the ‘+CREATE ROUTER’ button highlighted


     

    Step 4

    Fill in the fields as shown in the example and click ‘CREATE ROUTER’.

    Horizon: ‘Create Router’ dialogue with example configuration

    • Router Name: internal-router (choose a name of your choice)
    • External Network: NET-FLOAT
    • Availability-zone Hint: AMS2-EQ3, AMS2-EU4, AMS2-GS5

     

    Step 5

    You’ll return to the routers overview. Click the router you just created (‘internal-router’).

    Horizon: Routers overview with ‘internal-router’ highlighted


     

    Step 6

    Attach the router to your subnet: open the ‘Interfaces’ tab and click ‘+ADD INTERFACE’.

    Horizon: Router detail > ‘Interfaces’ tab with ‘+ADD INTERFACE’ highlighted


     

    Step 7

    Under ‘Subnet’, select your internal network. Leave ‘IP Address’ blank and confirm.

    Horizon: Add Interface dialogue with internal subnet selected


     

    Step 8

    Go to ‘Compute’ > ‘Instances’. In the ‘Actions’ dropdown on the right of your instance, click ‘ASSOCIATE FLOATING IP’.

    Horizon: Instances overview with ‘ASSOCIATE FLOATING IP’ in the Actions menu


     

    Step 9

    Select the Floating IP address and the instance’s internal IP address, then click ‘ASSOCIATE’.

    Horizon: ‘Associate Floating IP’ dialogue with IP addresses selected


     

    Step 10

    Horizon shows a green notification in the top right confirming the Floating IP has been associated. In the overview, verify that your instance now has a public IP address.

    Horizon: confirmation message after associating a Floating IP


     

    All done! You’ve assigned a Floating IP to your instance via Horizon. In this guide you (optionally) created a router, attached the internal subnet and associated a public IP address. Check the related links above if you want to extend or automate your setup.


     

    :contentReference[oaicite:0]{index=0} :contentReference[oaicite:1]{index=1} :contentReference[oaicite:2]{index=2}

    Need help?

    Receive personal support from our supporters

    Contact us