# VPN

## Overview

<figure><img src="/files/MAunoiPB26LEtGrpkFQz" alt=""><figcaption><p>a single VPN connection</p></figcaption></figure>

* The VPC connects to your network via a virtual private gateway and a customer gateway.

## Features

### VPN - CloudHub

* Connect **multiple remote sites** to AWS through VPN connections.
* Use VPC virtual private gateway with multiple Customer gateways.
* Use this approach if you have **multiple branch offices** and existing internet connections and would like to implement a convenient, potentially low-cost hub-and-spoke model for primary or backup connectivity between these remote offices.

<figure><img src="https://docs.aws.amazon.com/images/whitepapers/latest/aws-vpc-connectivity-options/images/image12.png" alt=""><figcaption><p>CloudHub architecture</p></figcaption></figure>

***

## Concepts

* **IPsec VPN**: AWS uses IPsec (Internet Protocol Security) for VPN connections.
* **Customer Gateway**: This is either a physical device or software in your network that connects to the VPN.


---

# 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://mamawhocode.gitbook.io/aws/services/network/vpc/vpn.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.
