Ask Your Question
0

change public api url

asked 2016-01-03 07:56:50 -0600

Moorthy gravatar image

I have a private cloud Openstack setup (kilo) behind firewall. I got a requirement to access Openstack from Internet using its APIs. To enable accrss from Internet, created a ptoxy server in DMZ that forwards requests to Openstack behind firewall.

When 'keystone endpoint-list' equivalent is used from Internet, it provides public URL which in side the firewall. Can I change the public URL IP to that of DMZ server? How to change? Will it beak anything?

I am using Horizon UI in internal network.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-01-05 13:21:28 -0600

Radhakrishnan Rk gravatar image

Hi, You can done it simple by updating your new public url network ip address under endpoint table of keystone db.If you are -using domain name instead of ip address,you can map the new public ip corresponding to that domain name in domain management portal.In my case,I entered my public endpoint name in /etc/hosts file for the sake of simplicity. For example, image description

image description

Then modify the neutron,nova conf file where it needs your public url.

To verify the whether changes has been reflected or not by using the following command.

export your openstack credentials to your shell environment.

$ sudo source admin-rc.sh

$ sudo openstack endpoint list

$ sudo openstack endpoint show <endpoint id="">

or

$ sudo nova endpoints

You will get the output like this for all registered services via keystone.

image description

Thanks and regards,

Radhakrishnan.R

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2016-01-03 07:56:50 -0600

Seen: 3,331 times

Last updated: Jan 05 '16