Connect VPC and Subnets

Once the VPC and Subnet components have been added to the canvas and their properties are defined, it is now required to define the VPC properties for each of the subnets.

As the desired VPC doesn’t exist yet in our example, we will define the VPC property of each of the subnets by using connectors.

Each of the shapes on the canvas are shown with various dots on the edge of the shape, that represent the properties of the object. When you hover your mouse controls on the dots, the appropriate property representing dot is displayed on the canvas near the shape.

Connectors (Or lines or arrows) can be created by connecting the green and the red dots of shapes. By selecting the green dot on an object/shape and dragging to the appropriate red dot on the shape that is being connected, a connector is created. A connector connects the two objects and defines properties or dependencies.

In our case for connecting VPC and the Subnets, use the Mouse control to select the green dot on the VPC object and drag and connect to the red dot on the Subnet object.

The following diagram depicts the red dot on the Subnet shape that corresponds to VPCID:

Diagram – Component shape and properties

Using the mouse controls, select the green dot on the VPC object and draw a line to connect to the red dot on the subnet. This connector defines the VPCID property for the subnet.

Diagram – Connectors

The following diagram depicts all the required connections to connect VPC and the two subnets.

Diagram – VPC and Subnets connected using connectors

Last updated