[Openstack-operators] How to deliver VM's http services over one valie IP in openstack?

Clint Byrum clint at fewbar.com
Wed Mar 11 17:34:14 UTC 2015


Excerpts from Mohammad alizadeh's message of 2015-03-10 10:11:05 -0700:
> Hi experts,
> I want to provide Demo account(for my demo users) with ability to launch
> one instance and ability to access the VM's http service(e.g. mediawiki web
> pages) in my openstack public cloud (1 hour for each demo users).
> I segregated one valid IP, for this purpose(Its not reasonable to assign
> different valid IP for different demo users separately which only activated
> for one hour). So, How can I use single Valid IP Address to deliver
> different subdomains and different web access to different demo users in
> openstack?
> Thanks in advance.

Hi Mohammad.

You need a layer-7 proxy that can inspect the Host header and forward
requests to the backend IP's. I'm not sure if Neutron LBaaS supports
that just yet. Also it may be fairly tricky to do the mapping to the
backend hosts. You could probably setup Designate and have a post-boot
process automatically setup the mapping from the hostname they desire
to the private IP they are assigned, and have the proxy use that for
resolution.

Or if you happen to have IPv6 transit.. it might be easier to just
require your users to use IPv6 and give everybody IPv6 IP's directly on
their instances.



More information about the OpenStack-operators mailing list