# Set up the network

## Create a VPC

Go To: VPC networks > VPC networks > Create VPC network. ([link](https://console.cloud.google.com/networking/networks/add))

1. Enter the following values:
   1. Name: **care-vpc**
   2. Maximum Transmission unit (MTU): **1460**
   3. VPC network ULA internal IPv6 range: **Disabled**
   4. Subnet creation mode: **Custom**
   5. Create a new subnet using following values:
      1. Name: **cluster-snet**
      2. Region: **asia-south1**
      3. P stack type: **IPv4 (single-stack)**
      4. IPv4 range: **10.0.0.0/16**
      5. Private Google Access: **On**
      6. Flow logs: **Off**
   6. Firewall rules: **Leave default**
   7. Dynamic routing mode: **Regional**

#### Equivalent commands:

{% code overflow="wrap" fullWidth="true" %}

```sh
gcloud compute networks create care-vpc --project=$PROJECT --subnet-mode=custom --mtu=1460 --bgp-routing-mode=regional
```

{% endcode %}

{% code overflow="wrap" %}

```sh
gcloud compute networks subnets create cluster-snet --project=$PROJRCT --range=10.0.0.0/16 --stack-type=IPV4_ONLY --network=care-vpc --region=asia-south1 --enable-private-ip-google-access
```

{% endcode %}

## Reserve a static IP address

Go To: VPC Networks > IP Addresses > RESERVE EXTERNAL STATIC IP ADDRESS ([link](https://console.cloud.google.com/networking/addresses/add))

1. Enter the following values:
   1. Name: **pip-care**
   2. Network Service Tier: **Premium**
   3. IP version: **IPv4**
   4. Type: **Regional**
   5. Region: **asia-south1 (Mumbai)**
   6. Attached to: **None**
2. Note down the IP address

#### Equivalent commands:

{% code overflow="wrap" fullWidth="true" %}

```bash
gcloud compute addresses create pip-care --project=$PROJECT --region=asia-south1
```

{% endcode %}


---

# 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://deploydocs.coronasafe.network/cloud-deployment-overview/google-cloud-deployment/set-up-the-network.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.
