# Add AWS Vpc

In this tutorial, we will compose a AWS VPC and two Subnets.

On the Canvas page, enter VPC in the component search box and select the component Vpc as shown below:

&#x20;Diagram – Stack, Component list, Select Vpc

<div align="left"><figure><img src="/files/k9GkliRD3QnHlWB60cB3" alt="" width="255"><figcaption></figcaption></figure></div>

Using the mouse controls, drag the Vpc component on to the canvas

Using the mouse controls, Select the Vpc shape on the Canvas

The VPC properties dialog box opens on the right side of the Canvas

Enter the following minimum following properties as shown below:

Diagram - Enter Vpc properties

<div align="left"><figure><img src="/files/yLaDxZxo2tUr9eFVlYxI" alt="" width="287"><figcaption></figcaption></figure></div>

In this example,&#x20;

Enter CidrBlock as 172.20.0.0/16

and Name as aws-vpc-1

Enter "Submit" to save the settings

{% hint style="info" %}
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 components. For additional information on properties for each of the components, 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.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.qmcloud.io/getting-started/add-aws-vpc.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
