Connecting to a private network from the App Connect Dashboard (in IBM App Connect Operator 6.2.0 through 11.0.x)
To use the App Connect Dashboard to deploy Designer or Toolkit integrations that interact with applications that run on a private network, configure secure connectivity across your containerized and private (or on-premises) environments by creating a private network connection. For example, your Designer integration might include an action that puts a message on an on-premises IBM® MQ queue, or your Toolkit integration might contain a message flow that interacts with an SAP Gateway OData service in a private network.
About this task
You enable access to a private network by using a switch server to route data, and a secure agent to connect to endpoints on the private network. The switch server runs in your cluster, and IBM App Connect provides a configuration file (switchclient.json) that you can use to configure a secure agent that runs on your computer.
To begin, you create a private network connection in your Dashboard instance, and then download the configuration file that is supplied to configure the connection. Update the file with endpoint information (including host, port, and certificates) for connecting to one or more applications in your private network. The switchclient.json file also supplies the switch server location, and certificates that are needed to securely communicate with the switch server.
To set up your secure agent, you create an integration server in your IBM App Connect Enterprise on-premises system, and then add the updated switchclient.json file to the integration server's work directory. You complete the setup by starting the integration server, which then runs the secure agent.
When you deploy a Designer integration from the App Connect Dashboard, any
account (of type Accounts
) that you set up to connect to the private network must
include the name of the private network connection so that the flow can use it for secure
connectivity. For Toolkit integrations, you set up secure connectivity by configuring SSH port
forwarding from a local port to the remote port (and host ) in the private network.
Creating a switch server and a dedicated integration server to run the secure agent
To configure secure connectivity between your containerized environment and your private network, you need a switch server in your cluster, and an IBM App Connect Enterprise integration server that runs a secure agent.
Before you begin
To create the IBM App Connect Enterprise integration server, you require an installation of App Connect Enterprise 12.0.7.0 or later on premises. If you need to, you can download and install IBM App Connect Enterprise for Developers on your computer. For more information, see Download IBM App Connect Enterprise for Developers and get started with a hands-on experience in the App Connect Enterprise documentation.
About this task
Use the same switch server with your App Connect Designer and App Connect Dashboard instances in your namespace.
Although you can use an independent integration server or an integration node as the switch client, these instructions provide commands for an independent integration server because the setup is simpler. Use this integration server to run the secure agent only, and do not deploy your own flows to it.
Creating a switch server is a one-time task.
Creating an integration server might also be a one-time task based on your preference. You can choose to create a single integration server to run a secure agent, which can access multiple endpoints that your flows in Designer or your deployed integrations in the Dashboard need to interact with. You can alternatively create and configure multiple integration servers to run separate secure agents.
Procedure
To create a switch server and an IBM App Connect Enterprise integration server, complete the following steps:
What to do next
Configure a private network connection that enables the integration server to run a secure agent.
Configuring a private network connection
You configure a private network connection between a Designer or Toolkit integration in your cluster and an application in a private network by using a switchclient.json configuration file to set up an IBM App Connect Enterprise integration server with a running secure agent.
About this task
Private network connections are shared across App Connect Designer and App Connect Dashboard instances in the same namespace, and are visible on the
Private network connections
page in both instances. If you configure a
secure agent by using a switchclient.json file that you download from the App Connect Dashboard, you can also use the same secure agent for your flows in
App Connect Designer.
- If you are using both App Connect Designer and the Toolkit to develop
flows that you will later deploy as integration servers or integration runtimes from
the Dashboard, configure the private network connection from the
Private network connections
page in Designer. - If you are developing only Toolkit flows that you will later deploy as integration servers or integration runtimes from the Dashboard, configure the private
network connection from the
Private network connections
page in the Dashboard. - For simplicity, use a single private network connection and secure agent to configure
connectivity to your private network. You can either use the default private network connection on
the
Private network connections
page or create another.Alternatively, you can create multiple private network connections from the
Private network connections
page to run multiple secure agents. You might want to do so if you want to maintain separate groupings of endpoint information. - You can define multiple endpoints in the switchclient.json file that you add to the IBM App Connect Enterprise integration server work directory. If you need to specify endpoint information for new connections to your private network, you can update the switchclient.json file in the work directory with these details.
Procedure
To configure a private network connection, complete the following steps:
What to do next
Associate this private network connection with connector accounts (in Designer flows or Designer integrations) that need to connect to your private network.
Connecting your integration to applications in the private network
To deploy an integration that uses the private network connection to access one or more applications in your private network, you need to create configuration objects that can be applied to the integration. The configuration types depend on whether you are deploying a Designer or Toolkit integration.
Integrations that connect to applications on the private network will work only while the secure agent is running.
Procedure
To configure an integration to connect to a private network, complete the following steps from your App Connect Dashboard instance:
Updating your private network connections or deleting a private network connection
You can update the endpoint definitions that are configured for the secure agent. You can also delete a private network connection if it's longer required.
Endpoint definitions are stored in the switchclient.json
file in the work
directory for the App Connect Enterprise integration server on which the secure
agent runs.