Skip to content
2 changes: 1 addition & 1 deletion src/content/docs/hyperdrive/examples/aws-rds-aurora.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ summary: Connect Hyperdrive to an AWS RDS or Aurora database instance.
pcx_content_type: example
title: Connect to AWS RDS and Aurora
sidebar:
order: 12
order: 14
description: Connect Hyperdrive to an AWS RDS or Aurora database instance.
---

Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/hyperdrive/examples/azure.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ summary: Connect Hyperdrive to an Azure Database for PostgreSQL instance.
pcx_content_type: example
title: Connect to Azure Database
sidebar:
order: 10
order: 12
description: Connect Hyperdrive to a Azure Database for PostgreSQL instance.
---

Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/hyperdrive/examples/cockroachdb.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ summary: Connect Hyperdrive to a CockroachDB database.
pcx_content_type: example
title: Connect to CockroachDB
sidebar:
order: 9
order: 11
description: Connect Hyperdrive to a CockroachDB database.

---
Expand Down
35 changes: 35 additions & 0 deletions src/content/docs/hyperdrive/examples/digital-ocean.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
type: example
summary: Connect Hyperdrive to a Digital Ocean database instance.
pcx_content_type: example
title: Connect to Digital Ocean
sidebar:
order: 9
description: Connect Hyperdrive to a Digital Ocean database instance.
---

import { Render } from "~/components";

This example shows you how to connect Hyperdrive to a Digital Ocean database instance.

## 1. Allow Hyperdrive access

To allow Hyperdrive to connect to your database, you will need to ensure that Hyperdrive has valid user credentials and network access.

### DigitalOcean Dashboard

1. Go to the DigitalOcean dashboard and select the database you wish to connect to.
2. Go to the **Overview** tab.
3. Under the **Connection Details** panel, select **Public network**.
4. On the dropdown menu, select **Connection string** > **show-password**.
5. Copy the connection string.

With the connection string, you can now create a Hyperdrive database configuration.

## 2. Create a database configuration

<Render file="create-hyperdrive-config" />

:::note
If you see a DNS-related error, it is possible that the DNS for your vendor's database has not yet been propagated. Try waiting 10 minutes before retrying the operation. Refer to [DigitalOcean support page](https://docs.digitalocean.com/support/why-does-my-domain-fail-to-resolve/) for more information.
:::
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ summary: Connect Hyperdrive to a Google Cloud SQL database instance.
pcx_content_type: example
title: Connect to Google Cloud SQL
sidebar:
order: 11
order: 12
description: Connect Hyperdrive to a Google Cloud SQL database instance.
---

Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/hyperdrive/examples/pgedge.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ summary: Connect Hyperdrive to a pgEdge Postgres database.
pcx_content_type: example
title: Connect to pgEdge Cloud
sidebar:
order: 9
order: 10
description: Connect Hyperdrive to a pgEdge Postgres database.
---

Expand Down
Loading