# VPC

A **Virtual Private Cloud (VPC)** is a logically isolated network in a cloud environment where users can launch resources in a defined and controlled manner. It acts as the core network boundary for your resources, including compute, storage, and networking components, offering security and traffic control. The best analogy for a VPC is to consider if you are building a neighbourhood, where you will put all your resources (VM, Storage in this case), which is isolated from other neighbourhoods created by you or other resources, the neighbourhood here is the VPC

#### Key Properties <a href="#key-properties" id="key-properties"></a>

* VPCs are region-specific and cannot span multiple regions.
* Resources that require VPC attachment:
  * GPU VMs
  * CPU VMs
  * Block Storage
  * Subnets
  * Security Groups
  * Static IP Addresses
* Resources **excluded** from VPCs:
  * AI Pods
  * Object Storage (region-dependent, not VPC dependent)
  * AI Studio services
  * AI Solution services
  * Ola Maps services

***

#### Creating a VPC <a href="#creating-a-vpc" id="creating-a-vpc"></a>

1. Go to the **"Networking > VPC"** tab
2. Click **"Create VPC."**
3. Fill in:
   * VPC Name (required)
   * Region (required)
   * Description (optional)
   * You can also configure your subnet configurations in the advanced settings like:
     * Subnet Name&#x20;
     * Subnet Description
     * CIDR
     * Gateway IP&#x20;
     * Network Accessibility
       * Public&#x20;
       * Private
4. Click **"Create VPC."**
5. New VPC will be listed with:
   * Name, Description, Region, Status and subnet settings

{% hint style="success" %}
You have the functionality to leave the subnet empty. We will create a default public subnet with the VPC
{% endhint %}

***

#### &#x20;Deleting a VPC  <a href="#deleting-a-vpc" id="deleting-a-vpc"></a>

Please note that you can delete your VPC only after all the attached resources with the VPC are deleted first.&#x20;

1. Click on the **three-dot menu** → **Delete VPC**
2. Two-step confirmation:
   * Enter VPC Name manually (no copy-paste)
3. If the input matches, the delete proceeds
4. If mismatch: Toast message shown and deletion cancelled

***

#### Billing and Pricing <a href="#billing-and-pricing" id="billing-and-pricing"></a>

| Service | Unit | Price / Hour | Price / Month |
| ------- | ---- | ------------ | ------------- |
| VPC     | Hour | ₹0.28        | ₹204          |

Our VPCs are priced at **Rs 0.28 per VPC per hour**.


---

# 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.cloud.olakrutrim.com/basics/core-infrastructure/networking/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.
