Welcome to OCI. In this session we will learn how to create a
Virtual Cloud Network also known as VCN. When you work with Oracle Cloud Infrastructure,
one of the first steps is to set up a VCN for your cloud resources.
VCN is a virtual, private network that you set up in Oracle data centers. It closely resembles
to a traditional network, with firewall rules and specific types of communication gateways
that you can choose to use. A VCN resides in a single
Oracle Cloud Infrastructure region. A subnet is a subdivision of your VCN.
It directs traffic according to a route table. For more information about Networking concepts,
please refer to the oracle documentation mentioned here.
In the OCI Console, go to Networking > Virtual Cloud Networks. Ensure that you have chosen
the correct Compartment. Click Start VCN Wizard.
At this point you should understand when to use which option.
VCN with Internet Connectivity creates a VCN with public subnet
that can be reached from the internet. It also creates a private subnet that
can connect to internet through a NAT gateway. Use Internet Connectivity and Site-to-Site VPN
to a VCN to set up all the Networking service resources required for a Site-to-Site VPN
between the VCN and your on-premises network. For this session, let us select VCN with Internet
Connectivity, and then click Start VCN Wizard. Enter a VCN Name for your cloud network. The
name is incorporated into the names of all the related resources that are automatically created.
Avoid entering confidential information. Select the compartment you want to create the VCN
and related resources in, if not already selected. A VCN can have multiple non-overlapping
IPv4 CIDR blocks that you can change after you create the VCN.
Regardless of the number of CIDR blocks, the max number of private
IPs you can create within the VCN is 64,000. A VCN can optionally be enabled for IPv6 as well.
For more information about allowed VCN size and address, see the following documentation.
Each subnet in a VCN consists of a range of IPv4 addresses that do not
overlap with other subnets in the VCN. Enter a valid CIDR block for the VCN
Enter a value for public subnet CIDR block. Make sure that the
value is within the VCN's CIDR block. Enter a value for private subnet CIDR block.
It must be within the VCN's CIDR block and not overlap with the public subnet's CIDR block.
Click Next. Review the list of resources
that the workflow creates for you. Notice that the workflow will set up security list rules and route
table rules to enable basic access for the VCN. Click Create to start the short workflow.
After the workflow completes, click View Virtual Cloud Network.
The VCN has Internet gateway NAT gateway
Service gateway with access to the Oracle Services Network.
A regional public subnet with access to the internet gateway.
This subnet uses the VCN's default security list and default route table.
Instances in this subnet may optionally have public IP addresses.
A regional private subnet with access to the NAT gateway and service gateway.
This subnet uses a custom security list and custom route table that the workflow created.
Instances in this subnet cannot have public IP addresses.
To enable network traffic to reach your Windows instance, you need to add a security list rule to
enable Remote Desktop Protocol (RDP) access. Under Resources, click Security Lists.
Click the default security list for your VCN. Click Add Ingress Rules.
In Source Type: CIDR Source CIDR: 0.0.0.0/0,
which is equivalent to any host in the internet IP Protocol: RDP (TCP/3389)
Source Port Range: All Destination Port Range: 3389
When done, click Add Ingress Rules. Now, your VCN is ready to use.
Thanks for watching. Contact Oracle Support for further assistance.