> For the complete documentation index, see [llms.txt](https://docs.verygoodsecurity.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.verygoodsecurity.com/enterprise-platform/developer-resources/advanced-connectivity/aws-privatelink.md).

# AWS PrivateLink

Use AWS PrivateLink to establish private, direct connectivity between VGS and your service providers or internal services. AWS PrivateLink is used in place of VPN or VPC connections to and from AWS-enabled services.

### Overview

Using AWS PrivateLink connectivity offers many benefits, including:

* **Private Connectivity**: AWS PrivateLink provides secure, private connectivity between VPCs, AWS services, and on-premises networks without exposing traffic to the public internet.
* **Reduced Attack Surface**: By keeping traffic within the AWS network, PrivateLink minimizes exposure to potential threats and vulnerabilities associated with the public internet.
* **Low Latency**: Since the data does not traverse the public internet, it experiences lower latency and potentially higher throughput.
* **Easier VPC Peering**: Establishing connectivity with services in different VPCs becomes straightforward without the complexity of VPC peering configurations.
* **Simplified Management**: Customers can manage and monitor their private connections easily using VGS Management Console, CLI, or APIs.

AWS PrivateLink connectivity is available in the following Availability Zones

| Environment          | Region | Availability Zones              |
| -------------------- | ------ | ------------------------------- |
| prod/vault/live      | US     | use1-az2, use1-az4, use1-az6    |
| prod/vault/live-eu-1 | EU     | euc1-az1, euc1-az2, euc-az3     |
| prod/vault/live-ap-1 | AP     | apse1-az1, apse1-az2, apse1-az3 |

With VGS, AWS PrivateLink connections come in two flavors

* Service Provider - Inbound Connections to VGS - Establish PrivateLink connectivity into VGS services
* Service Consumer - Outbound Connections from VGS - Establish PrivateLink connections from VGS into your services

### Service Provider - Inbound Connections from Third Party to VGS

<figure><img src="https://1773866054-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzbOVGj5YTirkppRKlOP9%2Fuploads%2FtVw3IdUpjXUERDX9UqRT%2Fimage.png?alt=media&amp;token=bb6e141f-2d60-487b-b823-4d9377d44a06" alt="" width="375"><figcaption></figcaption></figure>

In order to establish a PrivateLink connection to VGS, the customer must provide the following information to VGS

| Field                   | Input Type                                                                                                                                                                                                        |
| ----------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Customer AWS Account ID | Any valid AWS account ID                                                                                                                                                                                          |
| Customer AWS Region     | Either us-east-1 or eu-central-1 or ap-southeast-1                                                                                                                                                                |
| Ports + Service(s)      | <p>forward-http-proxy - 4433<br>reverse-http-proxy - 443<br>sftp-proxy - 8022<br>tcp-proxy, ports 9000-9900<br><br>These ports are which each VGS service protocol will be exposed on via the PrivateLink NLB</p> |

### Service Consumer - Outbound Connections from VGS to Third Party

<figure><img src="https://1773866054-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzbOVGj5YTirkppRKlOP9%2Fuploads%2FeGQ3vQFcPP5GXOpjarq6%2Fimage.png?alt=media&amp;token=9f4be08f-3b93-4fdb-85c3-61fa86f2f4b8" alt="" width="375"><figcaption></figcaption></figure>

In order to establish a PrivateLink connection from VGS, the customer must provide the following information to VGS

| Field                        | Input Type                                                   |
| ---------------------------- | ------------------------------------------------------------ |
| Customer AWS Account ID      | Any valid AWS account ID                                     |
| Customer AWS Region          | Either `us-east-1` or `eu-central-1` or `ap-southeast-1`     |
| PrivateLink Service Name     | e.g. com.amazonaws.vpce.us-east-1.vpce-svc-0e123abc123198abc |
| PrivateLink Service Endpoint | e.g. vpce-svc-03d5ebb7d9579a2b3.us-east-1.vpce.amazonaws.com |
| Ports + Service(s)           | List of Ports + Service(s)                                   |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.verygoodsecurity.com/enterprise-platform/developer-resources/advanced-connectivity/aws-privatelink.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
