I’m working with OpenStack APIs and noticed that the following endpoints use specific ports: Port 5000: - /auth/tokens?nocatalog - /auth/projects Port 8774: - /servers/detail - /flavors/detail - /images/detail - /os-hypervisors/detail I would like to know: Are these default port assignments (5000 for authentication and 8774 for compute services) configurable? Under what circumstances might these ports change? For example, would they differ in custom deployments or under certain OpenStack configurations?
Yes these are default ports for respective services, and they are configurable, but you have to create the endpoints again and then update service configs, may be firewall rules too in prod.
under certain OpenStack configurations? This mostly depends on your installer, but once deployed on any port, they won't change, so if you are going to use this in any app, you should confirm with admin, which port is being used for the respective service.
So in any existing production deployment, even for upgrade, these ports won't change by themself, unless the admin would want to redeploy everything. On Mon, Dec 9, 2024 at 2:41 PM <darsh.mehta@crestdata.ai> wrote:
I’m working with OpenStack APIs and noticed that the following endpoints use specific ports: Port 5000: - /auth/tokens?nocatalog - /auth/projects
Port 8774: - /servers/detail - /flavors/detail - /images/detail - /os-hypervisors/detail
I would like to know: Are these default port assignments (5000 for authentication and 8774 for compute services) configurable? Under what circumstances might these ports change? For example, would they differ in custom deployments or under certain OpenStack configurations?
Hi, I'd recommend taking a look at reverse proxying, so you can implement SSL offloading and redundancy for the APIs as well, and maybe even additional security measures (such as a WAF). Cheers, Kees On 09-12-2024 10:55, Amit Uniyal wrote:
Yes these are default ports for respective services, and they are configurable, but you have to create the endpoints again and then update service configs, may be firewall rules too in prod.
under certain OpenStack configurations? This mostly depends on your installer, but once deployed on any port, they won't change, so if you are going to use this in any app, you should confirm with admin, which port is being used for the respective service.
So in any existing production deployment, even for upgrade, these ports won't change by themself, unless the admin would want to redeploy everything.
participants (3)
-
Amit Uniyal
-
darsh.mehta@crestdata.ai
-
Kees Meijs | Nefos