If you are an IBM® Cloud Public user and want to connect the data collector
to the on-premises Cloud
APM server, configure the
IBM Cloud Secure Gateway.
About this task
If the data collector cannot directly connect to the on-premises Cloud
APM server, for example, when there is a firewall, you must
configure the Secure Gateway.
Procedure
-
Set up the Secure Gateway. For instructions, see Getting started with the Secure Gateway.
Important: The host where you install the Secure Gateway Client must have network
connectivity with the your Cloud
APM server.
-
Click Secure Gateway from the list of services for the application to
open the Secure Gateway UI.
-
In the Secure Gateway UI, set the following variables to add a destination:
-
Set the Resource Hostname value to the host name of the Cloud
APM server (as seen from your on-premises network).
-
Set the Resource Port to 80.
-
Set the Protocol to HTTP.
When you save the destination, the Secure Gateway assigns and displays a
Cloud Host : Port value for the destination, which is required in step
5.
-
In the IBM Cloud dashboard for the
application, click and add a variable named APM_BM_GATEWAY_URL.
-
Set the value of the APM_BM_GATEWAY_URL variable to the following
format:
http://Cloud_Host:Port_value_of_your_destination
For
example:
APM_BM_GATEWAY_URL=http://cap-sg-stage-2.integration.ibmcloud.com:15450
-
Start the Secure Gateway client. Check the log file of the client to ensure that there are no
error messages that indicate a configuration or communication problem.
Results
The data collector is connected to the on-premises Cloud
APM server.