Note:

Associate Private Views to the VCN Private Resolvers with ATP Database and Oracle SQL Developer in Different VCNs

Introduction

In Oracle Cloud Infrastructure (OCI), associating private views to the Virtual Cloud Network (VCN) private resolver involves setting up Domain Name Server (DNS) configurations to ensure that specific DNS queries within your VCN resolve to private IP addresses according to your defined DNS records. This set up enhances the management and resolution of internal domain names.

A private view is a collection of DNS zones and records that can be associated with VCNs to resolve domain names internally.

image

In this tutorial, we will combine this with a use case to create an Oracle Autonomous Transaction Processing (ATP) database and perform basic network connectivity tests and tests with the Oracle SQL Developer application from within the same VCN, and from another VCN. This way we can see how the VCN private resolver works and how to configure the private views.

image

Objective

Task 1: Create the VCN Environments

To create an ATP database and test the connections across multiple VCNs we need to have multiple VCNs configured and because the networks inside the VCNs need to communicate with each other we need to attach the VCNs to a Dynamic Routing Gateway (DRG).

Creating the VCN environments is out of the scope for this tutorial. To create multiple VCNs with hub and spoke routing architecture, see Route Hub and Spoke VCN with pfSense Firewall in the Hub VCN .

In this tutorial, we will use:

The goal is to deploy the ATP database in the private subnet of the hub VCN and to test the connection from both Windows instances using Oracle SQL Developer.

image

Task 2: Create an Oracle Autonomous Transaction Processing Database with a Private Access Endpoint

Task 3: Download the Credentials Wallet

Task 4: Use Oracle SQL Developer to Test the Database Connection from the Same VCN

Before we use the Oracle SQL Developer application to test the database connection, first we need to test the network connectivity towards the ATP database.

Task 5: Use Oracle SQL Developer to Test the Database connection from a Different VCN

We have done the ATP database connection test with the Oracle SQL Developer in the same VCN, we will now test in a different VCN.

image

Task 6: Associated Private Views to the VCN Private Resolver

Task 7: Use Oracle SQL Developer to Test the Database Connection from a Different VCN that has Private Views Associated to the VCN Private resolver

Acknowledgments

More Learning Resources

Explore other labs on docs.oracle.com/learn or access more free learning content on the Oracle Learning YouTube channel. Additionally, visit education.oracle.com/learning-explorer to become an Oracle Learning Explorer.

For product documentation, visit Oracle Help Center.