Note:

Create and Configure a Virtual Cloud Network

Introduction

Oracle Cloud Infrastructure (OCI) Compute lets you create multiple virtual cloud networks (VCNs). These VCNs will contain the security lists, compute instances, load balancers, and many other types of network assets.

Objectives

Prerequisites

Create Your VCN

To see how a VCN is created in Oracle Cloud Infrastructure, watch the following video:

Video for Explore how to create a Virtual Cloud Network on OCI

To create a VCN on Oracle Cloud Infrastructure, follow the steps:

  1. Sign in to the OCI Console using your cloud tenant name, user name, and password.

  2. From the OCI services menu, go to Networking and click Virtual Cloud Networks. Select the appropriate compartment from List Scope in the left navigation pane.

  3. Select VCN with Internet Connectivity and click Start VCN Wizard.

  4. Enter the following information and click Next.

    Field Value
    VCN NAME OCI_HOL_VCN
    COMPARTMENT Select the appropriate compartment under List Scope in the left navigation pane.
    VCN CIDR BLOCK 10.0.0.0/16
    PUBLIC SUBNET CIDR BLOCK 10.0.2.0/24
    PRIVATE SUBNET CIDR BLOCK 10.0.1.0/24
    USE DNS HOSTNAMES IN THIS VCN Checked

    Your screen should look similar to the following:

    Create a VCN Configuration

  5. Review your settings to be sure they are correct.

    Review CV Configuration

  6. Click Create to create the VCN. It will take a moment to create the VCN and a progress screen will keep you apprised of the workflow.

    Workflow

  7. Once you see that the creation is complete, click View Virtual Cloud Network.

In real-world situations, you would create multiple VCNs based on their need for access (which ports to open) and who can access them.

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.