In this post, I will explain what is Subnets, What was Subnet scope earlier, what’s changed now, what Scope means, and How to create a Regional Subnet or Load Balancer.
What is Subnet?
A subnet is a bigger network(VCN) divided into smaller networks.
So if you see in below image We have a VCN (CIDR is 10.0.0.0/16) and in that, we have two smaller Network Subnet i.e (Subnet A 10.0.1.0/24) and (Subnet B 10.0.2.0/24)
OCI Subnet Past & Now
Originally subnets were designed to cover only one Availability Domain (AD) in a region. They were all AD-specific, which means resources like compute will reside in a particular Availability Domain (AD). Now subnets can be either AD specific or Regional. This means any compute or database using this Regional Subnet can be created in any one Availability Domain (AD) of choice
If you are not familiar with Region, AD, or FD then check here
How to Create a Regional Subnet
You choose the type when you create the subnet. Both types of subnets can co-exist in the same VCN
Benefits for Regional Subnet
- You have the flexibility to choose any AD in the region when you create an instance or other resources. The choice is no longer tied to which AD the subnet is in.
- High availability you can design better. Floating IP you can select and it will be in the same subnet across AD Less number of rules in security list.
- Subnets will be reduced
Next Task For You
- If you don’t yet have an Oracle Cloud Account, you can create a FREE trial account, by using our Step by Step guide
- Create a Virtual Cloud Network (VCN), check here for more Info
- Create a Regional Subnet
Begin your journey towards becoming an Oracle Cloud Architect by Joining the FREE Masterclass on How To Become Oracle Cloud Architect in 8 Weeks.
Click on the below image to join our FREE Telegram Group.