# Datacenters

Datacenters are groups of nodes that have local network connectivity. Optionally an overlay VPN can be configured to provide local connectivity between hosts but this will result in reduced instance MTU.

### Network Mode

For nodes that have layer 2 networking on the local network and unrestricted tagged VLAN traffic can use the *Default* network mode. This uses a VLAN ID for each VPC and has very low overhead.

For nodes that only have layer 3 networking or restrict tagged VLAN traffic the *VXLAN* network mode must be used. This uses a VXLAN overlay network to get layer 2 connectivity between hosts then uses VLAN routing for each VPC. This will reduce the instance MTU by 50. When possible this should be used with jumbo frames. If jumbo frames are not used the instance MTU will be below the standard 1500.

### Private Storage

The private storage is an S3 resource that is used for instance snapshots and pod images for instances and pods that are located in this datacenter. The storage resource must first be defined in the *Storages* tab. When a file is uploaded to private storage a hash is stored in the Pritunl Cloud database. If the file is retrieved from the storage the hash is validated. This protects from malicious modification on the S3 resource but caution should still be taken to prevent malicious to potentially sensitive data on the files.

### Public Storage

The public storage's are either S3 or web based storage resources that provide images for instances and pods. Images from these storage resources will then appear as public images available to instances and pods for all users. Typically this should only be the default official Pritunl images. This will be added by default or can be manually added using the configuration below. Images from the `images.pritunl.com` domain enforce GPG signature validation, this key is included in the source code and verification is done automatically when images are retrieved from domain.

<figure><img src="/files/3BP6VTFdbEtnaoKWCknf" alt=""><figcaption></figcaption></figure>


---

# 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.pritunl.com/kb/cloud/components/datacenters.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.
