Attaching Floating IP when launching an Instance in Horizon

asked 2015-01-13 01:11:55 -0500

jeffrey-olsen gravatar image

When launching an instance in Horizon, could a floating IP be configured in the Post-Creation tab of the configuration?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
1

answered 2015-01-13 18:59:24 -0500

9lives gravatar image

i am afraid Post-Creation tab is not a right place to do floating ip association, it is place to allow user to do some post configurations like install some packages , do update etc via shell script and it is has limitation in size.

If you want to more complex operations like associate floating ip when bootstrapping your instance, you can try use the cloud-init for cloud-init can use shell and python scripts to do much more complex tasks.

For more details about cloud-int refer to http://cloudinit.readthedocs.org/en/l...

Hope that helps!

Vic

edit flag offensive delete link more

Comments

Thanks Vic! I'm going to give it a whirl

jeffrey-olsen gravatar imagejeffrey-olsen ( 2015-01-13 19:45:21 -0500 )edit
0

answered 2015-01-14 01:52:38 -0500

The concept of floating IP is different than you thought,VM even is unaware of that specific floating IP. Suppose you assign a floating IP 115.18.150.202 to a VM which have IP 10.0.0.5 on its private network. Now a rule will be added to Router (Virtual router you created via neutron) to forward all the traffic for 115.18.150.202 to 10.0.0.5

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

3 followers

Stats

Asked: 2015-01-13 01:11:55 -0500

Seen: 618 times

Last updated: Jan 14 '15