IBM Cloud Docs
Using virtual private endpoints for VPC to privately connect to IBM Log Analysis

Using virtual private endpoints for VPC to privately connect to IBM Log Analysis

IBM Cloud® Virtual Private Endpoints (VPE) for VPC enables you to connect to IBM Log Analysis from your VPC network by using the IP addresses of your choosing, allocated from a subnet within your VPC.

As of 28 March 2024 the IBM Log Analysis and IBM Cloud Activity Tracker services are deprecated and will no longer be supported as of 30 March 2025. Customers will need to migrate to IBM Cloud Logs, which replaces these two services, prior to 30 March 2025.

VPEs are virtual IP interfaces that are bound to an endpoint gateway created on a per service, or service instance, basis (depending on the service operation model). The endpoint gateway is a virtualized function that scales horizontally, is redundant and highly available, and spans all availability zones of your VPC. Endpoint gateways enable communications from virtual server instances within your VPC and IBM Cloud® service on the private backbone. VPE for VPC gives you the experience of controlling all the private addressing within your cloud. For more information, see About virtual private endpoint gateways.

Before you begin

Before you target a virtual private endpoint for IBM Log Analysis you must complete the following tasks.

Virtual private endpoint settings, specifically the Internet Protocol (IP) address, might need to be manually updated during Disaster recovery and business continuity actions.

Virtual Private Service Endpoints

The following table lists regions where IBM Log Analysis service supports VPE. It also lists IBM Log Analysis endpoints supported from each region. You can connect to IBM Log Analysis service in another region using supported endpoints. For example, from the Sydney region, you can use IBM Log Analysis service in us-south region using the us-south endpoint.

When connecting to a VPE via CLI or API, you will need to specify the CRN of the region that you will use to connect to the IBM Log Analysis service. Use the table below to locate the CRN of the target region.

Table 1. Lists private endpoints for interacting with IBM Log Analysis APIs over IBM Cloud's private network
Region Endpoints Supported in Region CRN
Dallas (us-south) api.private.us-south.logging.cloud.ibm.com

logs.private.us-south.logging.cloud.ibm.com

crn:v1:bluemix:public:logdna:us-south:::endpoint:api.private.us-south.logging.cloud.ibm.com
Frankfurt (eu-de) api.private.eu-de.logging.cloud.ibm.com

logs.private.eu-de.logging.cloud.ibm.com

crn:v1:bluemix:public:logdna:eu-de:::endpoint:api.private.eu-de.logging.cloud.ibm.com
London (eu-gb) api.private.eu-gb.logging.cloud.ibm.com

logs.private.eu-gb.logging.cloud.ibm.com

crn:v1:bluemix:public:logdna:eu-gb:::endpoint:api.private.eu-gb.logging.cloud.ibm.com
Madrid (eu-es) api.private.eu-es.logging.cloud.ibm.com

logs.private.eu-es.logging.cloud.ibm.com

crn:v1:bluemix:public:logdna:eu-es:::endpoint:api.private.eu-es.logging.cloud.ibm.com
Osaka (jp-osa) api.private.jp-osa.logging.cloud.ibm.com

logs.private.jp-osa.logging.cloud.ibm.com

crn:v1:bluemix:public:logdna:jp-osa:::endpoint:api.private.jp-osa.logging.cloud.ibm.com
Sao Paulo (br-sao) api.private.br-sao.logging.cloud.ibm.com

logs.private.br-sao.logging.cloud.ibm.com

crn:v1:bluemix:public:logdna:br-sao:::endpoint:api.private.br-sao.logging.cloud.ibm.com
Sydney (au-syd) api.private.au-syd.logging.cloud.ibm.com

logs.private.au-syd.logging.cloud.ibm.com

crn:v1:bluemix:public:logdna:au-syd:::endpoint:api.private.au-syd.logging.cloud.ibm.com
Tokyo (jp-tok) api.private.jp-tok.logging.cloud.ibm.com

logs.private.jp-tok.logging.cloud.ibm.com

crn:v1:bluemix:public:logdna:jp-tok:::endpoint:api.private.jp-tok.logging.cloud.ibm.com
Toronto (ca-tor) api.private.ca-tor.logging.cloud.ibm.com

logs.private.ca-tor.logging.cloud.ibm.com

crn:v1:bluemix:public:logdna:ca-tor:::endpoint:api.private.ca-tor.logging.cloud.ibm.com
Washington (us-east) api.private.us-east.logging.cloud.ibm.com

logs.private.us-east.logging.cloud.ibm.com

crn:v1:bluemix:public:logdna:us-east:::endpoint:api.private.us-east.logging.cloud.ibm.com

Using Virtual Private Endpoints

Before you begin

Setting up your VPE

  1. Create an IBM Cloud® Virtual Private Cloud. Follow the Getting started instructions here.

  2. Make sure that your VPC has at least one VSI (virtual server instance), and can connect to the VSI. You can use the UI, CLI, and API to quickly provision IBM Cloud® Virtual Private Cloud from the Virtual server instances page in IBM Cloud console. For more information, see Creating virtual server instances.

  3. Make sure your IBM Log Analysis deployment's private endpoint is enabled.

  4. In the IBM Cloud console, click the menu icon and select VPC > Infrastructure > Network > Virtual private endpoint gateways. Create a VPE for your IBM Log Analysis instances with the following instruction.

  5. After you create your VPE, it might take a few minutes for the new VPE and pDNS to complete the process and begin working for your VPC. Completion is confirmed when you see an IP address set in the details view of the VPE.

  6. To make sure pDNS is functioning for your VPE, ssh into your VSI and run nslookup <instance_hostname>. The following example shows the output from running nslookup on instance hostnames of api.private.us-east.logging.cloud.ibm.com and logs.private.us-east.logging.cloud.ibm.com:

    root@test-vpc-vsi:~# nslookup api.private.us-east.logging.cloud.ibm.com
    Server:      161.26.0.7
    Address:     161.26.0.7#53
    
    Non-authoritative answer:
    Name:   api.private.us-east.logging.cloud.ibm.com
    Address: 10.241.65.4
    
    root@test-vpc-vsi:~# nslookup logs.private.us-east.logging.cloud.ibm.com
    Server:      161.26.0.7
    Address:     161.26.0.7#53
    
    Non-authoritative answer:
    Name:   logs.private.us-east.logging.cloud.ibm.com
    Address: 10.241.65.4
    

    In these examples 10.241.65.4 is your VPE IP address.

  7. You can now use your instance in the VSI.

VPE Discoverability

Following the previous steps results in a IBM Log Analysis instance with private endpoints that is reachable with the Virtual Private Endpoints from your VPC network.

For more information, see Setting up private service endpoints for IBM Log Analysis.

More resources