Skip to playerSkip to main content
  • 4 months ago

Category

šŸ¤–
Tech
Transcript
00:00Welcome! In this demo, we are going to create a VCN using the OCI VCN wizard.
00:11So this is the topology we are going to follow in our demo.
00:15We'll create a VCN with two subnets, one being a public subnet, other being a private subnet.
00:22And then we will create these gateways, internet gateway, NAT gateway and service gateway.
00:27So let's get started.
00:30I am logged onto my OCI console here and to bring up the networking services,
00:36I'll click on the navigation menu on the left hand side and click on networking here.
00:40As you can see from this view that all the networking services are grouped under this networking link here.
00:48So all the services are available.
00:50So to bring up the virtual cloud networks, I'll click on virtual cloud networks here
00:54and this will bring up the options to create a VCN.
01:00So there is a manual option to create VCN and then there is a way to create VCN using the VCN wizard.
01:06So let me click on the VCN wizard here and it gives me a couple of options to create the VCN.
01:12The first option says I can create the VCN with internet connectivity.
01:16And you can see this, the same topology we looked at earlier, public subnet, private subnet in a VCN,
01:22along with the gateways.
01:24The second option is a little bit more complicated, more complex,
01:28where we have a VCN with a public subnet and a private subnet.
01:32But then we also have a site to site VPN connectivity.
01:36Now this is a more complex scenario.
01:38So let's go with the simpler scenario, which is creating a VCN with internet connectivity.
01:44So I'll click on start VCN wizard and then as you will see here,
01:48it asks me for a couple of information and it will go ahead and create the VCN for me.
01:54So the first thing I'll say is I need a name for the VCN.
01:57So I'll say this is a VCN in US East.
02:00That's my region.
02:03I'm using US East demo.
02:05I'm creating the VCN in the sandbox compartment.
02:08And then right here, it's giving option for the cider block.
02:12Now the cider block here, it's prefilling for me, but I can go ahead and change it.
02:19So this cider block is 10.0.0.0 slash 16.
02:23That's close to 65,000 plus IP addresses.
02:27And it's also giving me a public subnet and a private subnet with these cider blocks.
02:32Now what we do is we take that bigger network.
02:35And then as you can see here, we divide that into smaller networks.
02:39So 10.0.0.0 slash 24 and 10.0.1.0 slash 24.
02:45So each of these networks have 256 IP addresses.
02:50And if we can create 256 such networks using this particular cider block here,
02:56and you can read more on the cider block.
03:00You can get access to calculators and you can calculate all these values if you want to change those.
03:05But I'm happy with these and I'll use the default ones.
03:09So then I'll click next here and it tells me that it's going to create all these artifacts.
03:15I'm okay with those and I'll click create.
03:17And within a couple of seconds, my VCN will get created.
03:22And as you can see here, the VCN gets created.
03:26And I'll show you all the components and show those in a kind of a visual manner.
03:32So if I click on view VCN, I can access all the VCN resources here.
03:37I can see the two subnets got created.
03:40It also created two route tables, two security lists.
03:44And it also created and created all the gateways, internet gateway, NAT gateway and service gateway.
03:50So you can view all these details here.
03:52But there's a better way to kind of look at all these views using something called a network visualizer,
04:00which is which is available under the network command center.
04:03So if I click on it, basically what it does, it shows the same information, but in a more visual manner.
04:10So this is a very simple VCN with two subnets.
04:15But you can have more complex VCNs which have peering relationships and more components.
04:21So you can see here, this is my VCN service gateway, internet gateway, NAT gateway.
04:24If I click on here, I can see all the details like the cider blocks, etc.
04:29And if I click on VCN routing map, I can see that my public subnet uses the internet gateway
04:36to go to the internet, you can see here.
04:41So this could be, I could put a web server here and then you can see the private subnet
04:46basically has, could be, you know, could be hosting databases.
04:50And the private subnet here is kind of going to the service gateway as well as NAT gateway.
04:59And depending on what the use cases are, you could either go to the send the traffic to the service gateway
05:04or the NAT gateway.
05:06So this is how kind of, you know, you can visualize your VCN.
05:10And it's quite simple to create a VCN using a VCN wizard.
05:15I hope you found this demo useful.
05:18Thanks for watching.
Comments

Recommended