Compose Infrastructure Using the Canvas
Once a stack is defined, cloud infrastructure can be composed using the canvas component.
Navigate to the deployment section in the menu items and select the appropriate Stack to edit.
Under the action’s column, select “Go to canvas” action
A blank canvas is displayed.
In this tutorial, we will compose a VPC and two Subnets.
Diagram 16 – Stack, Component list
Diagram 17 – Component list, VPC
Using the mouse controls, drag VPC on to the canvas
Select the VPC shape on the Canvas
The VPC properties dialog box opens on the right of the canvas
Enter the following minimum details for the VPC
Diagram 18 – VPC component details
CidrBlock (Example 172.20.0.0/16)
Name (Example aws-vpc-1)
Important Note – Shapes (objects) may have many properties and not all properties are required. It is assumed that the user is aware of the minimum properties that are required for each of the shapes. For additional information on properties for each of the shapes, you can refer to Pulumi documentation for AWS at https://www.pulumi.com/registry/packages/aws/api-docs/. Each of the AWS components have a detailed description and examples listed in this document.
Select Submit to save the settings.