Implement Private Endpoint for your Autonomous Database

End of February 2020 Private Endpoints in Autonomous Database on Shared Exadata Infrastructure were announced.

This blog post shows an example architecture and a high-level step by step instruction for creating the necessary OCI resources to implement Private Endpoints to access the Autonomous Database from private network only.

All values used here are an example and you are free to choose other ones as desired.

Step 1create a VCN with CIDR

Step 2: create three subnets as follows:

  1. Public subnet “SNpublic” with CIDR for the load balancer
  2. Private subnet “SNapp” with CIDR for the application servers
  3. Private subnet “SNadb” with CIDR for the ADB private endpoint

Step 3: create an Internet Gateway, a Route Table with a rule for the Internet Gateway, and assign the Route Table to the public subnet SNpublic.

Step 4: create a Security List named “SLpublic” with the following rules: Ingress:, Egress: For simplicity and demo purposes, choose “All protocols”. Assign this Security List to the public subnet SNpublic.

Step 5: create a Security List named “SLapp” with the following rules: Ingress:, Egress: and assign it to the private subnet SNapp.

Step 6: create a Network Security Group named “NSGadb” with the following rules: Ingress:, no Egress rules as we are using Stateful Rules here.

Step 7: this is the BIG MOMENT! Create the Autonomous Database and choose “Virtual cloud network” on the creation page.

Select the VCN we created in step 1, the private subnet SNadb created in step 2, and the network security group NSGadb created in step 5.

Step 8: create your application server in the private subnet SNapp.

Step 9: create a public Load Balancer in the public subnet SNpublic and add the application server from step 7 as Backend Set.

Step 10: Download the Autonomous Database Client Credentials and put them on the application server in the private subnet. To access these compute instances, use a Jump Server in the public subnet.

And the finale good news: you can test this configuration using the Always Free resources!

Would you like to get notified when the next post is published?