---
name: vpc-pps-verify
title: Verifying connectivity to a Private Path service
description: After you create a Private Path service and its status shows `Stable`, it's a good idea to test the connection to your service before making the service available to other clients.
last-updated: 2026-02-17
---

> ## Documentation Index
> The table of contents for this documentation set is at https://cloud.ibm.com/docs/vpc?format=markdown
> The index for all IBM Cloud docs is at: https://cloud.ibm.com/docs/llms.txt
> Use these files to discover more information as needed.

# Verifying connectivity to a Private Path service
{: #pps-verify}

After you create a Private Path service and its status shows `Stable`, it's a good idea to test the connection to your service before making the service available to other clients.
{: shortdesc}

You don't need to **Publish** the service to verify that it works.
{: attention}

## Verifying connectivity to a Private Path service in the console
{: #pps-ui-verify-private-path-service}
{: ui}

To verify connectivity to a Private Path service from the IBM Cloud console, follow these steps:

1. From your browser, open the [IBM Cloud console](https://cloud.ibm.com/login) and log in to your account.
1. Select the **Navigation menu** ![Navigation menu icon](../icons/icon_hamburger.svg), then click **Infrastructure** ![VPC icon](../../icons/vpc.svg) > **Network** > **Private Path services**.
1. Locate your new Private Path in the table and click the name of the service to show its Details page.
1. Copy the CRN to your clipboard.
1. From the **Navigation menu** ![Navigation menu icon](../icons/icon_hamburger.svg), click **Infrastructure** ![VPC icon](../../icons/vpc.svg) > **Network** > **Virtual private endpoint gateways**.
1. Create a VPE gateway using the Cloud Resource Name (CRN) of your Private Path service. For instructions, see [Creating a VPE gateway](https://cloud.ibm.com/docs/vpc?topic=vpc-ordering-endpoint-gateway&format=markdown).

   Create the VPE gateway in the same account that created the Private Path service. After the service is published, VPE gateways can be created from any account that is authorized to use the service.
   {: important}

1. Go back to the Private Path services for VPC list page and click the name of your Private Path service in the table.
1. In the Connections section:

   * If your default policy is set to **Permit all requests**, your request shows in the **Permitted** view.
   * If your default policy is set to **Review all requests**, your request shows in the **Requests to review** view. Permit your connection request.

1. Connect to your service.
1. Verify connectivity to your Private Path service:

   1. Use SSH to log in to a virtual server instance that is running in the VPC that contains the endpoint gateway.
   1. Initiate traffic to the VPE service endpoint DNS name or private IP address.
   1. Confirm that the connection is successful.

## Verifying connectivity to a Private Path service from the CLI
{: #pps-cli-verify-private-path-service}
{: cli}

The following example shows how to use the CLI to verify connectivity to a Private Path service.

Before you begin, make sure to [set up your CLI environment](https://cloud.ibm.com/docs/vpc?topic=vpc-set-up-environment&interface=cli&format=markdown).

To verify connectivity to a Private Path service from the CLI, follow these steps:

1. Create a VPE gateway to connect to your Private Path service by using your Private Path CRN. For instructions, see [Creating a VPE gateway from the CLI](https://cloud.ibm.com/docs/vpc?topic=vpc-ordering-endpoint-gateway&interface=cli&format=markdown).

   Create the VPE gateway in the same account that created the Private Path service. After the service is published, VPE gateways can be created from any account that is authorized to use the service.
   {: important}

1. Connect to your service.
1. Verify connectivity to your Private Path service:

   1. Use SSH to log in to a virtual server instance that is running in the VPC that contains the endpoint gateway.
   1. Initiate traffic to the VPE service endpoint DNS name or private IP address.
   1. Confirm that the connection is successful.

## Verifying connectivity to a Private Path service with the API
{: #pps-api-verify-private-path-service}
{: api}

To verify connectivity to a Private Path service with the API, follow these steps:

1. Follow [these instructions](https://cloud.ibm.com/docs/vpc?topic=vpc-ordering-endpoint-gateway&interface=api&format=markdown) to create a VPE with `TargetCrn` specified with your Private Path service CRN.
1. Make sure that at least one of your load balancer's members health is shown as `ok`.
1. From a virtual server instance in the same VPE's VPC, initiate a request to the VPE's `private IP` or `service_endpoint` and expect to get a reply. For example, SSH into a VSI in the same VPE's VPC with image `ibm-ubuntu-18-04-6-minimal-s390x-3`. Then, run this command:

```sh
  export ip=<VPE-private-ip>
  export port=<load-balancer-listener-port>
  wget http://$ip:$port
```
{: codeblock}

## Verifying connectivity to a Private Path service with Terraform
{: #verifying-private-path-service-terraform}
{: terraform}

The following example verifies connectivity to a Private Path network by using Terraform:

```terraform
resource "ibm_is_virtual_endpoint_gateway" "endpoint_gateway" {
    name = "my-example-egw"
    target {
        crn = ibm_is_private_path_service_gateway.ppsg.crn
        resource_type = "private_path_service_gateway"
    }
    vpc = ibm_is_vpc.vpc.id
}
```
{: codeblock}

For documentation about Terraform resources, see the [Terraform Registry](https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/is_private_path_service_gateway).{: external}

## Next steps
{: #pps-next-step-after-verify}

1. [Publish your Private Path service](https://cloud.ibm.com/docs/vpc?topic=vpc-pps-activating&interface=ui&format=markdown)
1. [Communicate connection information to consumers](https://cloud.ibm.com/docs/vpc?topic=vpc-pps-ui-communicate&interface=ui&format=markdown)
1. [Review connection requests](https://cloud.ibm.com/docs/vpc?topic=vpc-pps-ui-reviewing&interface=ui&format=markdown) and [Create account policies](https://cloud.ibm.com/docs/vpc?topic=vpc-pps-create-account-policy&interface=ui&format=markdown)