You are viewing a free preview of this lesson.
Subscribe to unlock all 10 lessons in this course and every other course on LearningBro.
A Virtual Cloud Network (VCN) is OCI's equivalent of a VPC — a software-defined network where you deploy and connect your cloud resources. Understanding VCN networking is essential for building secure applications on OCI.
A VCN provides:
When creating a VCN, you assign one or more CIDR blocks:
| CIDR Block | Usable IPs | Common Use |
|---|---|---|
| 10.0.0.0/16 | ~65,000 | Standard VCN |
| 172.16.0.0/12 | ~1 million | Large environments |
| 192.168.0.0/16 | ~65,000 | Small environments |
A VCN can have multiple CIDR blocks, and you can add more after creation.
A subnet is a subdivision of a VCN:
VCN: 10.0.0.0/16
├── Public Subnet: 10.0.0.0/24 (web tier)
├── Private Subnet: 10.0.1.0/24 (app tier)
└── Private Subnet: 10.0.2.0/24 (database tier)
Allows resources in public subnets to communicate with the internet:
Allows resources in private subnets to access the internet without being exposed:
Provides private access to Oracle services (Object Storage, Autonomous Database) without going through the internet:
The DRG is a virtual router that connects your VCN to:
Route tables define how traffic is directed:
Subscribe to continue reading
Get full access to this lesson and all 10 lessons in this course.