Private connectivity with GCP Private Service Connect
You can use GCP Private Service Connect to establish a secure connection for your Elastic Cloud Hosted deployments and Elastic Cloud Serverless projects to communicate with other GCP services. GCP routes the Private Link traffic within the GCP data center and never exposes it to the public internet.
GCP Private Service Connect connects your Virtual Private Cloud (VPC) to the GCP-hosted services that you use, treating them as if they were in your VPC. You can create and use VPC endpoints to securely access GCP-hosted services.
You can also optionally filter traffic to your deployments or projects by creating Private Service Connect (PSC) endpoint filters as part of your private connection policy in Elastic Cloud. This limits traffic to your deployment or project to the PSC endpoint specified in the policy, as well as any other policies applied to the deployment or project.
Private Link is a connection between a Private Service Connect Endpoint and a Service Attachment. Learn more about using Private Service Connect on Google Cloud.
To learn how private connection policies impact your deployment or project, refer to Network security policies in Elastic Cloud.
Elastic Cloud Hosted and Elastic Cloud Serverless also support IP filters. You can apply both IP filters and private connections to a single Elastic Cloud resource.
Private Service Connect for Elastic Cloud Serverless is currently available in a limited set of GCP regions: asia-southeast1, europe-west1, us-central1, us-east1, and us-east4. Projects in other GCP regions can't use Private Service Connect yet. Support for more regions is planned.
Refer to the list of supported regions for current availability.
The following requirements apply to the project where you want to apply a private connection policy:
- For Observability projects, requires the Observability Complete feature tier.
- For Security projects, requires the Security Analytics Complete feature tier.
There are no specific requirements for other Serverless project types or Elastic Cloud Hosted deployments.
Private connectivity with Private Service Connect is supported only in Google Cloud regions.
Private Service Connect for Elastic Cloud Serverless is available in a limited set of GCP regions. Before you plan your setup, confirm that the region where your project is hosted is in the list of supported regions. Your Private Service Connect endpoint must be in the same region as your project. Private Service Connect connections are regional. As a result, your Private Service Connect endpoint needs to be created in the same region as your deployment or project. The endpoint can be accessed from any region after you enable its Global Access feature.
When using GCP Private Service Connect, the following limitations apply:
Transport client: The Elasticsearch transport client is not supported over private connections.
Remote clusters between Elastic Cloud Hosted deployments: Remote cluster connections (cross-cluster search and cross-cluster replication) between two ECH deployments cannot be connected using private endpoints. Deployment-to-deployment traffic must use the remote deployment's public proxy address. Private connections apply to remote cluster traffic only when the local cluster runs in your own VPC or VNet (self-managed, Elastic Cloud Enterprise, or Elastic Cloud on Kubernetes). Refer to Supported connection paths.
Managed inputs: In Elastic Cloud Hosted deployments, managed inputs are not accessible over private connections. The public endpoints are still available.
SSO to Kibana from the Elastic Cloud console: In Elastic Cloud Hosted deployments, you can't use SSO to log in to Kibana endpoints that are protected by private connections. The connection to the Kibana public URL is still available. In Elastic Cloud Serverless, this limitation does not apply.
As a workaround, you can add an IP filter for the hosts that will use SSO through the Elastic Cloud console.
In Elastic Cloud Hosted, you can still SSO into private Kibana endpoints individually using the SAML or OIDC protocol from your own identity provider, just not through the Elastic Cloud console. Stack-level authentication using the Elasticsearch username and password also works with the private hosted zone URL for your deployment, for example, my-deployment-d53192.kb.psc.asia-southeast1.gcp.elastic-cloud.com.
Limited region availability: Private Service Connect for Elastic Cloud Serverless is available in a limited set of GCP regions. Projects in other regions can't use it. Before you plan your setup, confirm that the region where your project is hosted is in the list of supported regions. Your Private Service Connect endpoint must be in the same region as your project. Remote clusters with API key authentication: Remote cluster connections that use the API key based security model are not yet supported over GCP Private Service Connect because traffic on port 9443is not currently allowed. Only the TLS certificate based security model (port9400) is currently supported for remote cluster traffic.
Service Attachments are set up by Elastic in all supported GCP regions under the following URIs. Some metadata differs between Elastic Cloud Hosted and Elastic Cloud Serverless, even if the region is the same.
GCP public regions
| Region | Service attachment URI | Private zone DNS name |
|---|---|---|
asia-east1 |
projects/cloud-production-168820/regions/asia-east1/serviceAttachments/proxy-psc-production-asia-east1-v1-attachment |
psc.asia-east1.gcp.elastic-cloud.com |
asia-northeast1 |
projects/cloud-production-168820/regions/asia-northeast1/serviceAttachments/proxy-psc-production-asia-northeast1-v1-attachment |
psc.asia-northeast1.gcp.cloud.es.io |
asia-northeast3 |
projects/cloud-production-168820/regions/asia-northeast3/serviceAttachments/proxy-psc-production-asia-northeast3-v1-attachment |
psc.asia-northeast3.gcp.elastic-cloud.com |
asia-south1 |
projects/cloud-production-168820/regions/asia-south1/serviceAttachments/proxy-psc-production-asia-south1-v1-attachment |
psc.asia-south1.gcp.elastic-cloud.com |
asia-southeast1 |
projects/cloud-production-168820/regions/asia-southeast1/serviceAttachments/proxy-psc-production-asia-southeast1-v1-attachment |
psc.asia-southeast1.gcp.elastic-cloud.com |
asia-southeast2 |
projects/cloud-production-168820/regions/asia-southeast2/serviceAttachments/proxy-psc-production-asia-southeast2-v1-attachment |
psc.asia-southeast2.gcp.elastic-cloud.com |
australia-southeast1 |
projects/cloud-production-168820/regions/australia-southeast1/serviceAttachments/proxy-psc-production-australia-southeast1-v1-attachment |
psc.australia-southeast1.gcp.elastic-cloud.com |
europe-north1 |
projects/cloud-production-168820/regions/europe-north1/serviceAttachments/proxy-psc-production-europe-north1-v1-attachment |
psc.europe-north1.gcp.elastic-cloud.com |
europe-west1 |
projects/cloud-production-168820/regions/europe-west1/serviceAttachments/proxy-psc-production-europe-west1-v1-attachment |
psc.europe-west1.gcp.cloud.es.io |
europe-west2 |
projects/cloud-production-168820/regions/europe-west2/serviceAttachments/proxy-psc-production-europe-west2-v1-attachment |
psc.europe-west2.gcp.elastic-cloud.com |
europe-west3 |
projects/cloud-production-168820/regions/europe-west3/serviceAttachments/proxy-psc-production-europe-west3-v1-attachment |
psc.europe-west3.gcp.cloud.es.io |
europe-west4 |
projects/cloud-production-168820/regions/europe-west4/serviceAttachments/proxy-psc-production-europe-west4-v1-attachment |
psc.europe-west4.gcp.elastic-cloud.com |
europe-west9 |
projects/cloud-production-168820/regions/europe-west9/serviceAttachments/proxy-psc-production-europe-west9-v1-attachment |
psc.europe-west9.gcp.elastic-cloud.com |
me-west1 |
projects/cloud-production-168820/regions/me-west1/serviceAttachments/proxy-psc-production-me-west1-v1-attachment |
psc.me-west1.gcp.elastic-cloud.com |
northamerica-northeast1 |
projects/cloud-production-168820/regions/northamerica-northeast1/serviceAttachments/proxy-psc-production-northamerica-northeast1-v1-attachment |
psc.northamerica-northeast1.gcp.elastic-cloud.com |
southamerica-east1 |
projects/cloud-production-168820/regions/southamerica-east1/serviceAttachments/proxy-psc-production-southamerica-east1-v1-attachment |
psc.southamerica-east1.gcp.elastic-cloud.com |
us-central1 |
projects/cloud-production-168820/regions/us-central1/serviceAttachments/proxy-psc-production-us-central1-v1-attachment |
psc.us-central1.gcp.cloud.es.io |
us-east1 |
projects/cloud-production-168820/regions/us-east1/serviceAttachments/proxy-psc-production-us-east1-v1-attachment |
psc.us-east1.gcp.elastic-cloud.com |
us-east4 |
projects/cloud-production-168820/regions/us-east4/serviceAttachments/proxy-psc-production-us-east4-v1-attachment |
psc.us-east4.gcp.elastic-cloud.com |
us-west1 |
projects/cloud-production-168820/regions/us-west1/serviceAttachments/proxy-psc-production-us-west1-v1-attachment |
psc.us-west1.gcp.cloud.es.io |
Elastic Cloud Serverless supports Private Service Connect only in the regions in the following table. If the region of your project is not listed, then you can't set up Private Service Connect for that project.
GCP public regions
| Region | Service attachment URI | Private zone DNS name |
|---|---|---|
asia-southeast1 |
projects/esp-prod-asse1-ecp-privatelink/regions/asia-southeast1/serviceAttachments/asia-southeast1-production-privatelink-serverless |
private.asia-southeast1.gcp.elastic.cloud |
europe-west1 |
projects/esp-prod-euw1-ecp-privatelink/regions/europe-west1/serviceAttachments/europe-west1-production-privatelink-serverless |
private.europe-west1.gcp.elastic.cloud |
us-central1 |
projects/esp-prod-usc1-ecp-privatelink/regions/us-central1/serviceAttachments/us-central1-production-privatelink-serverless |
private.us-central1.gcp.elastic.cloud |
us-east1 |
projects/esp-prod-use1-ecp-privatelink/regions/us-east1/serviceAttachments/us-east1-production-privatelink-serverless |
private.us-east1.gcp.elastic.cloud |
us-east4 |
projects/esp-prod-use4-ecp-privatelink/regions/us-east4/serviceAttachments/us-east4-production-privatelink-serverless |
private.us-east4.gcp.elastic.cloud |
You can also view the service metadata for your selected region by starting to create a new private connection policy for the region and expanding the Service metadata dropdown. You can also retrieve it from the region metadata API.
The process of setting up the Private Service Connect connection to your deployments or projects is split between Google Cloud and the Elastic Cloud UI. These are the high-level steps:
After you create your private connection policy, you can edit, disassociate, or delete it.
Private connection policies are optional for GCP Private Service Connect. After the Private Service Connect endpoint and DNS record are created, private connectivity is established. You only need to create a private connection policy if you want to filter traffic to your deployment or project using PSC endpoint filters, or to record that you've established private connectivity.
Create a Private Service Connect endpoint in your VPC using the Service Attachment URI for your region.
Follow the Google Cloud instructions for details on creating a Private Service Connect endpoint to access Private Service Connect services.
Use the Service Attachment URI for your region. Select the Published service option and enter the selected Service Attachment URI as the Target service. For example, for resources in
asia-southeast1:- For Elastic Cloud Hosted deployments: The Service Attachment URI is
projects/cloud-production-168820/regions/asia-southeast1/serviceAttachments/proxy-psc-production-asia-southeast1-v1-attachment. - For Serverless projects: The Service Attachment URI is
projects/esp-prod-asse1-ecp-privatelink/regions/asia-southeast1/serviceAttachments/asia-southeast1-production-privatelink-serverless.
NoteYou need to reserve a static internal IP address in your VPC. The address is used by Private Service Connect endpoint.
Note down the PSC Connection ID, e.g.
18446744072646845332.- For Elastic Cloud Hosted deployments: The Service Attachment URI is
Create a DNS record.
Create a DNS Zone of type Private.
Refer to the Private zone DNS name column in the Private Service Connect URIs table for the name of the zone. Make sure the zone is associated with your VPC.
For example, in
asia-southeast1:- For Elastic Cloud Hosted deployments: Use
psc.asia-southeast1.gcp.elastic-cloud.com. - For Serverless projects: Use
private.asia-southeast1.gcp.elastic.cloud.
TipPrivate zone DNS names differ between Elastic Cloud Hosted and Elastic Cloud Serverless, even if the region is the same.
- For Elastic Cloud Hosted deployments: Use
Create a DNS record set with an A record pointing to the Private Service Connect endpoint IP. Use
*as the DNS name,Aas the Resource record type, and put the Private Service Connect endpoint IP address as the record value.Follow the Google Cloud instructions for details on creating an A record which points to your Private Service Connect endpoint IP address.
After you create your Private Service Connect endpoint and DNS entries, verify that you are able to reach your deployment or project over Private Service Connect.
To test the connection:
If needed, find the endpoint of an application in your deployment or project:
Log in to the Elastic Cloud Console.
Under Hosted deployments, find your deployment.
TipIf you have many deployments, you can instead go to the Hosted deployments (Elastic Cloud Hosted) page. On that page, you can narrow your deployments by name, ID, or choose from several other filters.
- Select Manage.
- In the deployment overview, select Application endpoints, cluster and component IDs.
- Expand the section for the application you want to access, then copy the Direct endpoint value. It looks something like the following:
https://my-deployment-d53192.es.us-central1.gcp.cloud.es.ioIn this endpoint,
my-deployment-d53192is an alias, andesis the product you want to access within your deployment.Log in to the Elastic Cloud Console.
Under Serverless projects, find your projects.
TipIf you have many projects, you can instead go to the Serverless projects page. On that page, you can narrow your projects by name, ID, or choose from several other filters.
Select Manage.
In the project overview, under Application endpoints, select the application you want to access.
Copy the Direct Private Service Connect endpoint URL. It looks something like the following:
https://my-project-d53192.es.private.us-central1.gcp.elastic.cloud
In this endpoint,
my-project-d53192is an alias, andesis the product you want to access within your project.You can also connect using the project ID, for example, https://6b111580caaa4a9e84b18ec7c600155e.private.us-central1.gcp.elastic.cloud.
Access your deployment or project over Private Service Connect:
- If you have a custom endpoint alias configured, you can use the custom endpoint URL to connect.
- Test the setup using the following cURL command. Pass the username and password for a user that has access to the cluster.
Make sure to replace the URL with your deployment's endpoint information and the private hosted zone domain name that you registered.
Request
$ curl -v https://my-deployment-d53192.es.psc.asia-southeast1.gcp.elastic-cloud.com:9243 -u {username}:{password}Response
.. * Trying 192.168.100.2... .. < HTTP/1.1 200 OK .. { "name" : "instance-0000000009", "cluster_name" : "fb7e805e5cfb4931bdccc4f3cb591f5f", "cluster_uuid" : "2cTHeCQYS2a0iH7YnQHrIQ", "version" : { ... }, "tagline" : "You Know, for Search" }Check the IP address. It should be the same as the IP address assigned to your Private Service Connect endpoint.
The connection is established, and a valid certificate is presented to the client. Elastic responds, in the case of the Elasticsearch endpoint, with basic information about the cluster.
Make sure to replace the URL with the Private endpoint URL from your project.
Request
$ curl -v https://my-project-d53192.es.private.us-central1.gcp.elastic.cloud -u {username}:{password}Response
.. * Trying 192.168.100.2... .. < HTTP/1.1 200 OK .. { "name" : "instance-0000000009", "cluster_name" : "fb7e805e5cfb4931bdccc4f3cb591f5f", "cluster_uuid" : "2cTHeCQYS2a0iH7YnQHrIQ", "version" : { ... }, "tagline" : "You Know, for Search" }Check the IP address. It should be the same as the IP address assigned to your Private Service Connect endpoint.
The connection is established, and a valid certificate is presented to the client. In the case of the Elasticsearch endpoint, Elastic responds with basic information about the cluster.
After you test your Private Link connection, you can create a private connection policy in Elastic Cloud.
Private connection policies are optional for GCP Private Service Connect. After the Private Service Connect endpoint and DNS record are created, private connectivity is established.
Creating a private connection policy and associating it with your deployments or projects allows you to do the following:
- Record that you've established private connectivity between GCP and Elastic in the applicable region.
- Filter traffic to your deployment or project using Private Service Connect endpoint filters.
Follow these high-level steps to add a private connection policy that can be associated with your deployments.
- Optional: Find your Private Service Connect connection ID.
- Create policies using the Private Service Connect endpoint connection ID.
- Associate the Private Service Connect endpoint with your deployment or project.
The PSC connection ID is only required if you want to filter traffic to your deployment or project using Private Service Connect endpoint filters.
- Go to your Private Service Connect endpoint in the Google Cloud console.
- Copy the value of PSC Connection ID.
Create a new private connection policy.
- Log in to Elastic Cloud.
- From the navigation menu, select Organization → Network security.
Select Private connection.
Select the resource type that the private connection will be applied to.
Select the cloud provider and region for the private connection.
TipPrivate connection policies are bound to a single resource type and region, and can be assigned only to resources with the same resource type and in the same region. If you want to associate a policy with multiple resource types or resources in multiple regions, then you have to recreate the policy for all applicable resource types and regions.
Under Connectivity, select PrivateLink. Optional: Under PSC endpoint filter, enter your Private Service Connect endpoint connection ID. You should only specify a Private Service Connect endpoint connection ID if you want to filter traffic to your deployment or project. For each filter, select Add description to add an optional description that helps you identify the filter later.
If you don't specify a PSC endpoint filter, then the private connection policy acts only as a record that you've established private connectivity between GCP and Elastic in the applicable region.
TipYou can apply multiple policies to a single deployment or project. The policies can be of different types. In case of multiple policies, traffic can match any associated policy to be forwarded to the resource. If none of the policies match, the request is rejected with
403 Forbidden.Learn more about how network security policies affect your deployment or project.
Optional: Under Apply to resources, associate the new private connection policy with one or more deployments or projects. If you specified a PSC endpoint filter, then after you associate the filter with a resource, it starts filtering traffic.
To automatically attach this private connection policy to new resources of this type, select Apply by default.
Click Create.
(Optional) If you created a private connection policy for Elastic Cloud Hosted deployments, you can claim your Private Service Connect endpoint connection ID, so that no other organization is able to use it in a private connection policy.
The next step is to associate the policy with your deployment or project.
You can associate a private connection policy with your deployment or project from the policy's settings, or from your deployment's or project's settings.
If the policy contains a PSC endpoint filter, then after you associate the policy with a deployment or project, it starts filtering traffic.
If the policy doesn't contain a PSC endpoint filter, then the association can serve as a reminder that a Private Service Connect endpoint exists for the region of the deployment or project.
Find your deployment on the home page or on the Hosted deployments page, then select Manage to access its settings menus.
On the Hosted deployments page, you can narrow your deployments by name, ID, or choose from several other filters. To customize your view, use a combination of filters, or change the format from a grid to a list.
On the Security page, under Network security, select Apply policies > Private connection.
Choose the policy you want to apply and select Apply.
Find your project on the home page or on the Serverless projects page, then select Manage to access its settings menus.
On the Serverless projects page, you can narrow your projects by name, ID, or choose from several other filters. To customize your view, use a combination of filters, or change the format from a grid to a list.
On the Security page, under Network security, select Apply policies > Private connection.
Choose the policy you want to apply and select Apply.
- Log in to Elastic Cloud.
- From the navigation menu, select Organization → Network security.
- Find the policy you want to edit.
- Under Apply to resources, associate the policy with one or more deployments or projects.
- Click Update to save your changes.
When a private connection is applied to a deployment, you can't use SSO to log in to Kibana endpoints that are protected by private connections from the Elastic Cloud console. The connection to the Kibana public URL is still available.
As a workaround, you can add an IP filter for ingress traffic with the public IP address or addresses of the hosts that will use SSO through the Elastic Cloud console. You should scope your IP filter to the narrowest possible range: the egress IPs of your corporate VPN gateway, NAT gateway, or specific client machines.
If you don't create an IP filter, you might see an error like Invalid SAML request or Forbidden due to traffic filtering.
To add an IP filter:
- Log in to Elastic Cloud.
- From the navigation menu, select Organization → Network security.
- Select Create policy → IP filter.
- Select hosted deployments as the resource type that the IP filter will be applied to.
- Select the cloud provider and region for the IP filter.
- Add a meaningful name and description for the IP filter.
- Under Access control, select Ingress.
- Add the public IP address or addresses of the hosts that will use SSO through the Elastic Cloud console.
- Under Apply to resources, associate the IP filter with one or more deployments.
- Click Create.
For traffic to connect with the deployment or project over Private Service Connect, the client making the request needs to be located within the VPC where you’ve created the Private Service Connect endpoint. You can also set up network traffic to flow through the originating VPC from somewhere else, such as another VPC or a VPN from your corporate network. This assumes that the Private Service Connect endpoint and the DNS record are also available within that context. Check your cloud service provider documentation for setup instructions.
Use the alias you’ve set up as CNAME A record to access your resource.
Use the following URL structure. Take the alias and product from your Elastic endpoint URL, then replace the public domain with the private hosted zone domain name that you registered.
https://{{alias}}.{{product}}.{{private_hosted_zone_domain_name}}
For example, if the public endpoint is:
https://my-deployment-d53192.es.us-central1.gcp.cloud.es.io
the private connection URL is:
https://my-deployment-d53192.es.psc.asia-southeast1.gcp.elastic-cloud.com
You can also connect to the cluster using the Elasticsearch cluster ID, for example, https://6b111580caaa4a9e84b18ec7c600155e.psc.asia-southeast1.gcp.elastic-cloud.com.
Elastic Cloud Hosted supports ports 443 and 9243 for Elasticsearch and Kibana traffic. Remote cluster traffic for cross-cluster search and cross-cluster replication is supported with the TLS certificate based security model (port 9400). The API key based security model is not yet available over GCP Private Service Connect because traffic on port 9443 is not currently allowed. Refer to Connection paths and private connectivity for more information.
Use the following URL structure. Take the alias and product from your project's endpoint, then combine them with the private hosted zone domain name that you registered.
https://{{alias}}.{{product}}.{{private_hosted_zone_domain_name}}
For example:
https://my-project-d53192.es.private.us-central1.gcp.elastic.cloud
You can also copy the Private endpoint URL directly from your project overview in the Elastic Cloud Console.
Elastic Cloud Serverless supports port 443.
You can also connect using the project ID, for example, https://6b111580caaa4a9e84b18ec7c600155e.private.us-central1.gcp.elastic.cloud.
Private zone DNS names differ between Elastic Cloud Hosted and Elastic Cloud Serverless, even if the region is the same.
To access the deployment or project:
If needed, find the endpoint of an application in your deployment or project:
Log in to the Elastic Cloud Console.
Under Hosted deployments, find your deployment.
TipIf you have many deployments, you can instead go to the Hosted deployments (Elastic Cloud Hosted) page. On that page, you can narrow your deployments by name, ID, or choose from several other filters.
- Select Manage.
- In the deployment overview, select Application endpoints, cluster and component IDs.
- Expand the section for the application you want to access, then copy the Direct endpoint value. It looks something like the following:
https://my-deployment-d53192.es.us-central1.gcp.cloud.es.ioIn this endpoint,
my-deployment-d53192is an alias, andesis the product you want to access within your deployment.Log in to the Elastic Cloud Console.
Under Serverless projects, find your projects.
TipIf you have many projects, you can instead go to the Serverless projects page. On that page, you can narrow your projects by name, ID, or choose from several other filters.
Select Manage.
In the project overview, under Application endpoints, select the application you want to access.
Copy the Direct Private Service Connect endpoint URL. It looks something like the following:
https://my-project-d53192.es.private.us-central1.gcp.elastic.cloud
In this endpoint,
my-project-d53192is an alias, andesis the product you want to access within your project.You can also connect using the project ID, for example, https://6b111580caaa4a9e84b18ec7c600155e.private.us-central1.gcp.elastic.cloud.
Send a request:
Request
$ curl -v https://my-deployment-d53192.es.psc.asia-southeast1.gcp.elastic-cloud.com:9243 -u {username}:{password}Response
< HTTP/1.1 200 OK .. { "name" : "instance-0000000009", "cluster_name" : "fb7e805e5cfb4931bdccc4f3cb591f5f", "cluster_uuid" : "2cTHeCQYS2a0iH7YnQHrIQ", "version" : { ... }, "tagline" : "You Know, for Search" }Request
$ curl -v https://my-project-d53192.es.private.us-central1.gcp.elastic.cloud -u {username}:{password}Response
< HTTP/1.1 200 OK .. { "name" : "instance-0000000009", "cluster_name" : "fb7e805e5cfb4931bdccc4f3cb591f5f", "cluster_uuid" : "2cTHeCQYS2a0iH7YnQHrIQ", "version" : { ... }, "tagline" : "You Know, for Search" }
If you are using Private Service Connect together with Fleet, and enrolling the Elastic Agent with a private connection URL, you need to configure Fleet Server to use and propagate the Private Service Connect URL by updating the Fleet server hosts field in the Fleet settings section of Kibana. Otherwise, Elastic Agent will reset to use a default address instead of the Private Service Connect URL.
The URL needs to follow this pattern:
https://{{fleet_component_ID_or_deployment_alias}}.fleet.{{private_hosted_zone_domain_name}}:443
Similarly, the Elasticsearch host needs to be updated to propagate the private connection URL. The Elasticsearch URL needs to follow this pattern:
https://{{elasticsearch_cluster_ID_or_deployment_alias}}.es.{{private_hosted_zone_domain_name}}:443
The settings xpack.fleet.agents.fleet_server.hosts and xpack.fleet.outputs that are needed to enable this configuration in Kibana are not available in the Kibana settings in Elastic Cloud.
After you create your private connection policy, you can edit it, remove it from your deployment or project, or delete it.
You can edit a policy's name, description, Private Service Connect endpoint filter, and more.
- Log in to Elastic Cloud.
- From the navigation menu, select Organization → Network security.
- Find the policy you want to edit, then click the Edit button.
- Click Update to save your changes.
You can also edit network security policies from your deployment's Security page or your project's Network security page.
If you want to remove a specific policy from a deployment or project, or delete the policy, then you need to disconnect it from any associated deployments or projects first. You can do this from the policy's settings, or from your deployment's or project's settings. To remove an association through the UI:
Find your deployment on the home page or on the Hosted deployments page, then select Manage to access its settings menus.
On the Hosted deployments page you can narrow your deployments by name, ID, or choose from several other filters. To customize your view, use a combination of filters, or change the format from a grid to a list.
On the Security page, under Network security, find the policy that you want to disconnect.
Under Actions, click the Delete icon.
Find your project on the home page or on the Serverless projects page, then select Manage to access its settings menus.
On the Serverless projects page, you can narrow your projects by name, ID, or choose from several other filters. To customize your view, use a combination of filters, or change the format from a grid to a list.
On the Security page, under Network security, find the policy that you want to disconnect.
Under Actions, click the Delete icon.
- Log in to Elastic Cloud.
- From the navigation menu, select Organization → Network security.
- Find the policy you want to edit, then click the Edit button.
- Under Apply to resources, click the
xbeside the resource that you want to disconnect. - Click Update to save your changes.
If you need to remove a policy, you must first remove any associations with deployments or projects.
To delete a policy:
- Log in to Elastic Cloud.
- From the navigation menu, select Organization → Network security.
- Find the policy you want to edit, then click the Delete icon. The icon is inactive if there are deployments or projects associated with the policy.