How To Enable Internet Access for Oracle Cloud Infrastructure (OCI) Compute Instances on Private Subnets

(Doc ID 2391531.1)

Last updated on MAY 01, 2018

Applies to:

Oracle Cloud Infrastructure - Version N/A and later
Information in this document applies to any platform.

Goal

How can the outbound and inbound traffic work correctly for OCI instances with private network access only? (having their vNIC on a private subnet of a VCN)
This is needed in scenarios where the OS needs to be updated and hence the online repositories need to be accessed, Internet access is needed etc.

Solution

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms