Introduction
The following outlines the configuration for connecting a backend private instance though a public instance in the same VCN but different subnets.
This post talks about the necessary configurations of Router, Firewall, and builds a complete end-end example.
High-Level Steps
- Create VCN and two subnets (one public, one private)
- Create VMs - one in each subnet
- Configure Router
- Configure Firewall
- Test and Verify
- Access to OCI Instance
Note this is part one of the multi-part series wherein we extend this example and do necessary configuration on OCI and try to establish Hybrid Connectivity to a private instance on Google Cloud (GCP) using VPN.
Pre-requisites
- User with necessary privileges to create VCN, VM and configure networking
- SSH key (public and private key pair) - Basic knowledge of networking - CIDR, Routers, Firewall, etc..