How to Add High Availability to a Partner Attachment

Validated on 17 Jun 2025 • Last edited on 17 Jun 2025

A Virtual Private Cloud (VPC) is a private network interface for collections of DigitalOcean resources. VPC networks are inaccessible from the public internet and other VPC networks, and traffic on them doesn’t count against bandwidth usage. You can link VPC networks to each other using VPC peering connections.

DigitalOcean’s Partner Network Connect lets you establish high-bandwidth, low-latency network connections directly between DigitalOcean VPC networks and other public cloud providers or on-premises datacenters.

High availability (HA) makes these connections more reliable by adding a second, redundant connection. When the first connection fails or degrades, traffic automatically shifts to the second.

Adding high availability to a partner attachment creates a second partner attachment that is linked with the first, where DigitalOcean handles the following automatically:

  • Placing the new partner attachment in a different diversity zone
  • Monitoring the connection for traffic disruption
  • Failing over to the redundant connection when necessary
Note
While high availability increases reliability, DigitalOcean cannot make end-to-end service level guarantees for Partner Network Connect, as parts of the end-to-end connection are provided by your network as a service (NaaS) provider and other downstream partners.

Add High Availability to a Partner Attachment

To start using high availability partner attachments, first contact support or your account manager to enable this feature for your team.

Once your team is enabled, you can add high availability to your existing partner attachments. If you haven’t already, create a partner attachment.

When your partner attachment is created, use the control panel or the DigitalOcean API to add a second, high availability connection to it.

In the control panel’s Networking section, click the Multi-cloud Integrations tab.

Under Partner Network Connect click on the name of the partner attachment you’d like to add high availability to. This loads the attachment’s details page.

Scroll down to the Add High Availability button and click it. If you don’t see the button, make sure high availability is enabled for your team account. Reach out to your account manager or contact support for assistance.

Clicking the button brings up the Add high availability window. You can accept all the default configuration options, or update the name and connection details to meet your needs.

Click the Add high availability button at the bottom of the window to finish the process. You are taken back to the details page of the original partner attachment. The pane with the Add High Availability button is now titled High Availability Partner Attachment and shows a summary of the HA partner attachment. Click View details to go to the details page of the HA partner attachment to finish its setup.

To add high availability to a partner attachment using the DigitalOcean API, create a second partner attachment that is linked to the first using the parent_uuid parameter. This automatically establishes the high availability relationship.

First, retrieve the ID of the existing partner attachment. This is the parent partner attachment. You can list all of your partner attachment names and IDs using doctl:

doctl network attachment list --format Name,ID

Or using the API:

curl -X GET \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $DIGITALOCEAN_TOKEN" \
  "https://api.digitalocean.com/v2/partner_network_connect/attachments"

Use the parent partner attachment ID in the next API call.

Send a POST request to the /v2/partner_network_connect/attachments endpoint with a JSON payload like the following. Replace <parent-attachment-id> with the ID you retrieved previously, and create a name for <attachment-name>.

curl -X POST \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $DIGITALOCEAN_TOKEN" \
  --data-binary @- \
  "https://api.digitalocean.com/v2/partner_network_connect/attachments" <<EOF
{
  "parent_uuid": "<parent-attachment-id>",
  "name": "<attachment-name>",
  "connection_bandwidth_in_mbps": 1000,
  "region": "AMS",
  "naas_provider": "MEGAPORT",
  "vpc_ids": [
    "c140286f-e6ce-4131-8b7b-df4590ce8d6a",
    "994a2735-dc84-11e8-80bc-3cfdfea9fba1"
  ]
}
EOF

This is the normal create call for a new partner attachment with an additional parent_uuid parameter that links the two partner attachments together.

The remaining parameters are still required. region, naas_provider, and the vpc_ids list must match the configuration of the parent partner attachment. The connection_bandwidth_in_mbps parameter does not need to match.

Complete the Connection

After you’ve created the high availability partner attachment, you still need to set up the other side of the connection with your Network as a Service provider. Refer to the Create a Megaport Cloud Router section of How to Create a Partner Attachment for help completing the full setup process.

We can't find any results for your search.

Try using different keywords or simplifying your search terms.