Change the ECE API url
You can configure the HTTPS url used to access the ECE API. You can specify either a DNS host name or an IP address. The primary use for this is to enable single sign-on on your deployments, so you can log into Kibana automatically once logged in to ECE.
To change the ECE API url in the Cloud UI:
- Log into the Cloud UI.
- From the Platform menu, select Settings.
- Select Edit and update the API url setting.
- Select Update and then Save to confirm the change.
To set the API base url during installation or upgrade you can supply the --api-base-url command line argument:
bash <(curl -fsSL https://download.elastic.co/cloud/elastic-cloud-enterprise.sh) install --api-base-url $ECE_HTTPS_url
bash <(curl -fsSL https://download.elastic.co/cloud/elastic-cloud-enterprise.sh) upgrade --user admin --pass $PASSWORD --api-base-url $ECE_HTTPS_url
For existing deployments, the new ECE API url will take effect whenever the deployment configuration plan is next updated.