# Add VPC endpoints

An AWS [VPC endpoint](https://docs.aws.amazon.com/vpc/latest/privatelink/concepts.html?ref=wellarchitected) creates a private connection to supported AWS services and VPC endpoint services powered by AWS PrivateLink. Amazon VPC instances do not require public IP addresses to communicate with the resources of the service. Traffic between an Amazon VPC and a service does not leave the Amazon network.

VPC endpoints are virtual devices. They are horizontally scaled, redundant, and highly available Amazon VPC components that allow communication between instances in an Amazon VPC and services without imposing availability risks or bandwidth constraints on network traffic. There are two types of VPC endpoints, [Interface Endpoints](https://docs.aws.amazon.com/vpc/latest/privatelink/create-interface-endpoint.html), and [Gateway Endpoints](https://docs.aws.amazon.com/vpc/latest/privatelink/gateway-endpoints.html).

DuploCloud allows you to specify predefined AWS endpoints for your Infrastructure in the DuploCloud Portal.

## Adding VPC endpoints to a Duplocloud Infrastructure

1. In the DuploCloud Portal, navigate to **Administrator** -> **Infrastructure**. The **Infrastructure** page displays.
2. Select the Infrastructure to which you want to add VPC endpoints.
3. Click the **Endpoints** tab.
4. Click **Add**. The **Infra - Create VPC Endpoints** pane displays.<br>

   <div align="left"><figure><img src="/files/0YvxBkamknzecqN9TIg3" alt=""><figcaption><p><strong>Infra - Create VPC Endpoints</strong> pane displaying avaliable VPC Endpoints</p></figcaption></figure></div>
5. From the **VPC Endpoint Service** list box, select the endpoint service you want to add.
6. Click **Create**. In the **Endpoints** tab, the **VPC Endpoint ID** of your selected service displays.<br>

   <div align="left"><figure><img src="/files/oHT1I1oU9xNDDYE6VIcK" alt=""><figcaption><p><strong>Infrastructure</strong> page with <strong>Endpoints</strong> tab</p></figcaption></figure></div>


---

# 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.duplocloud.com/docs/automation-platform/overview/use-cases/creating-an-infrastructure-and-plan-for-aws/add-vpc-endpoints.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.
