diff --git a/src/content/docs/hyperdrive/examples/aws-rds-aurora.mdx b/src/content/docs/hyperdrive/examples/aws-rds-aurora.mdx index b8b86be5ae1dca6..d2a3f24c516f19f 100644 --- a/src/content/docs/hyperdrive/examples/aws-rds-aurora.mdx +++ b/src/content/docs/hyperdrive/examples/aws-rds-aurora.mdx @@ -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. --- diff --git a/src/content/docs/hyperdrive/examples/azure.mdx b/src/content/docs/hyperdrive/examples/azure.mdx index 0352e1150ad9a03..33fbe5f9ef9250c 100644 --- a/src/content/docs/hyperdrive/examples/azure.mdx +++ b/src/content/docs/hyperdrive/examples/azure.mdx @@ -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. --- diff --git a/src/content/docs/hyperdrive/examples/cockroachdb.mdx b/src/content/docs/hyperdrive/examples/cockroachdb.mdx index 8a44430a37884cb..b5f5779cd50cf3b 100644 --- a/src/content/docs/hyperdrive/examples/cockroachdb.mdx +++ b/src/content/docs/hyperdrive/examples/cockroachdb.mdx @@ -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. --- diff --git a/src/content/docs/hyperdrive/examples/digital-ocean.mdx b/src/content/docs/hyperdrive/examples/digital-ocean.mdx new file mode 100644 index 000000000000000..d81b25adde4c043 --- /dev/null +++ b/src/content/docs/hyperdrive/examples/digital-ocean.mdx @@ -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 + + + +:::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. +::: \ No newline at end of file diff --git a/src/content/docs/hyperdrive/examples/google-cloud-sql.mdx b/src/content/docs/hyperdrive/examples/google-cloud-sql.mdx index dba3130e8bc3c55..5fa818f3d3a59a1 100644 --- a/src/content/docs/hyperdrive/examples/google-cloud-sql.mdx +++ b/src/content/docs/hyperdrive/examples/google-cloud-sql.mdx @@ -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. --- diff --git a/src/content/docs/hyperdrive/examples/pgedge.mdx b/src/content/docs/hyperdrive/examples/pgedge.mdx index 2b8bea70da335c0..87e9400ed82bc05 100644 --- a/src/content/docs/hyperdrive/examples/pgedge.mdx +++ b/src/content/docs/hyperdrive/examples/pgedge.mdx @@ -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. ---