Creating a Worker Subnet (VCN-Native Pod)
On Compute Cloud@Customer,
Create the following resources in the order listed:
-
Worker security list
-
Worker subnet
Create a Worker Security List
Create a security list. See Creating a Security List.. For Terraform input, see Example Terraform Scripts (VCN-Native Pod).
This security list defines traffic that is allowed to contact worker nodes directly.
For this example, use the following input for the worker subnet security list.
Console property |
CLI property |
---|---|
|
|
One egress security rule:
|
One egress security rule:
|
Ten ingress security rules: |
Ten ingress security rules:
|
Ingress Rule 1
|
Ingress Rule 1
|
Ingress Rule 2
|
Ingress Rule 2
|
Ingress Rule 3
|
Ingress Rule 3
|
Ingress Rule 4
|
Ingress Rule 4
|
Ingress Rule 5
|
Ingress Rule 5
|
Ingress Rule 6
|
Ingress Rule 6
|
Ingress Rule 7
|
Ingress Rule 7
|
Ingress Rule 8
|
Ingress Rule 8
|
Ingress Rule 9
|
Ingress Rule9
|
Ingress Rule 10
|
Ingress Rule 10
|
Create the Worker Subnet
Create a subnet. See Creating a Subnet. For Terraform input, see Example Terraform Scripts (VCN-Native Pod).
For this example, use the following input to create the worker subnet. Use the OCID of the VCN that was created in Creating a VCN (VCN-Native Pod). Create the worker subnet in the same compartment where you created the VCN.
Create either a NAT private worker subnet or a VCN private worker subnet. Create a NAT private worker subnet to communicate outside the VCN.
Console property |
CLI property |
---|---|
|
|
The difference in the following private subnet is the VCN private route table is used instead of the NAT private route table.
Console property |
CLI property |
---|---|
|
|