Create and Configure a Virtual Cloud Network

9
3
Send lab feedback

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

  • Create a VCN on OCI.

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.

    FieldValue
    VCN NAMEOCI_HOL_VCN
    COMPARTMENTSelect the appropriate compartment under List Scope in the left navigation pane.
    VCN CIDR BLOCK10.0.0.0/16
    PUBLIC SUBNET CIDR BLOCK10.0.2.0/24
    PRIVATE SUBNET CIDR BLOCK10.0.1.0/24
    USE DNS HOSTNAMES IN THIS VCNChecked

    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

  • Authors - Flavio Pereira, Larry Beausoleil

  • Contributors - Oracle LiveLabs QA Team (Kamryn Vinson, QA Intern, Arabella Yao, Product Manager Intern, DB Product Management), Tom McGinn (Database Product Management)

SSR