06: OCI ‐ Virtual Cloud Network (VCN) ‐ VCN creation - pavankumarchittajallu/OCI_DOC GitHub Wiki

Virtual Cloud Network (VCN)

A Virtual Cloud Network (VCN) in Oracle Cloud Infrastructure (OCI) is a customizable private network that provides isolated environments for cloud resources, complete with subnets, gateways, and security controls.

Step-by-Step VCN Creation

1. Access the Networking Console

  • Log in to the OCI Console and then navigate to Networking > Virtual Cloud Networks. image

  • Click Start VCN Wizard and select VCN with Internet Connectivity. Click Start VCN Wizard button on the bottom right. image

2. Configure Basic VCN Settings

  • Name: Enter a descriptive name (e.g., Sandbox).

  • Compartment: Select the target compartment (e.g., Network). image

  • CIDR Block: Specify the IPv4 range for the VCN (default: 192.0.0.0/16). Example: 192.0.0.0/16.

  • Public Subnet CIDR: Define a public subnet range (default: 192.0.0.0/24). Example: 192.0.2.0/24.

  • Private Subnet CIDR: Define a private subnet range (default: 192.0.1.0/24). Example: 192.0.1.0/24. image

click Next

3. Review and Create

  • Validate the configuration details (e.g., gatewsubnets, andnets, route tables). image

image

  • Click Create to provision the VCN and associated resources.

image

4. Click on view VCN

image

This configuration creates

  • A public subnet with a route to the internet gateway.
  • A private subnet with routes to the NAT and service gateways. image

image


Benefits of Using the Wizard

  • Simplified Setup: Preconfigured gateways, subnets, and security lists reduce manual work.
  • Beginner-Friendly: Guided workflow minimizes configuration errors.
  • Time Efficiency: Full network setup completes in minutes.