My Oracle Support Banner

How To Establish Connectivity Between OCI Instance On Private Subnet And OCI-C On IPNetwork (Doc ID 2503262.1)

Last updated on AUGUST 30, 2023

Applies to:

Oracle Database Cloud Service - Version N/A to N/A [Release 1.0]
Information in this document applies to any platform.


1. This Note provides the steps needed to setup and configure the connection between OCI VM using the Private Subnet and the OCI-C DBaaS Instance using the IPNetwork.

2. This Note will also help in configuration of various Network Components.

3. These steps can also be followed to configure similar setup or configuration between OCI BM/VM/Compute and the On-Premise environment.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document
 A. Resources used in this Note.
 B. Configure the Resources (In OCI-C).
 B.1 Create a IPNetwork.
 B.2 Create a DBaaS Instance using IPNetwork.
 B.3 Create a VPN Connection.
 C. Configure the Resources (In OCI)
 C.1 Create a VCN in OCI
 C.2 Create a Private Subnet under the VCN
 C.3 Create a OCI DBSystem.
 C.4 Create a Dynamic Routing Gateways.
 C.5 Attach DRG to VCN.
 C.6 Create a CPE object and provide your router's public IP address
 C.7 Create an IPSec connection.
 C.8 Create a route table and route rule for the DRG and add this Route table to Subnet.
 C.9 Create a Security list and update the Ingress and Egress Rules.
 D. Update the VPNaaS configuration with OCI network components.
 E. Test the Connection.

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.