In one my previous blog I discussed about Private Endpoint that allows to connect to private resources that resides in Virtual Cloud Network(VCN).
But currently Private Endpoint has some limitations such as -
- Not all adapters support Private Endpoint
- The VCN with private resources must be in same region as Oracle Integration Instance
- There can be only one Private endpoint per integration Instance connecting to only one subnet.
Agent can either be installed on OCI or behind the firewall on the same network as the on-premises applications.
Agent in OCI
Connect to applications running on On-Premises Data Center through Oracle Integration Cloud, without requiring traffic routing through the public internet.
This scenario uses as OIC connectivity agent to communicate with the On-Premises Data Center application. The OIC Connectivity agent is installed on an Oracle Cloud Infrastructure Compute instance on a private subnet of a VCN. The agent communicates with OIC integration through a service gateway on one side and with the application running on On-Premises Data Center on the other side through a dynamic routing gateway (DRG) and FastConnect Private Peering or VPN.
The following diagram illustrates this architecture
Agent in customer DC
Connect to applications running on On-Premises Data Center through Oracle Integration Cloud, traffic routing through the public internet.
This scenario uses as OIC connectivity agent to communicate with the On-Premises Data Center application. The OIC Connectivity agent is installed on On-Premises Data Center on a DMZ Network. The agent communicates with OIC integration through public internet and with the application running on On-Premises Data Center on the other side by allowing internal network traffic.
The following diagram illustrates this architecture
In this blog we will see how to install a OIC agent on a compute VM on OCI to enable onprem connectivity but the steps remain same even if you have install the agent on customer DC.
Configure Compute Instance
Navigate to Compute and click on Instances.
Compartment in which you want to create an instance and click Create Instance
In the Create Instance dialog, Enter the Name and choose the availability domain
Choose Image and shape
Choose VCN and Subnet
Add SSH keys : You can either choose to Generate a key pair or upload a public key that you already have. If your are generating a key pair, Download the keys so that you can connect to the instance using SSH. Please note it will not be shown again. The public key is used while creating the instance and the private key is used while connecting to the instance.
Leave everything else default and click on Create
After a few minutes, we can see the instance have created
We can access this Instance created using PuTTY (https://www.putty.org/) or WinSCP (https://winscp.net/).
Open PuttyGen
Load the existing private key file (.key downloaded while creating the compute)
Install OIC Agent
Now we are successfully connected to the instance
Make a Directory under opc directory and move the jdk file to that folder.
mkdir jdk
mv jdk-17.0.9_linux-x64_bin.tar.gz jdk
cd jdk
Extract the .tar file in the jdk Directory
tar -xvf jdk-17.0.9_linux-x64_bin.tar.gz
Similarly make another Directory under opc directory and move the agent file to that folder.





























