Skip to content

Commit

Permalink
feat: simplify callouts and point to faq
Browse files Browse the repository at this point in the history
  • Loading branch information
ankur-arch committed Apr 8, 2024
1 parent 0ccbd33 commit f04cafd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
4 changes: 1 addition & 3 deletions content/300-accelerate/200-getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@ To get started with Accelerate, you will need the following:

## 1. Enable Accelerate in a project

In order to enable Accelerate, you can log in to [Prisma Data Platform](https://pris.ly/pdp) and create a new project. If your database uses IP allowlisting or you're setting up a firewall to restrict access to trusted IP addresses, ensure static IPs are enabled in your Accelerate configuration.

> ℹ️ To enable static IP support for Accelerate within your existing or new project environment, ensure you're on our **Pro** or **Business** plan. Refer to our [pricing page](https://www.prisma.io/pricing) for more information. To learn more about static IP see this [FAQ](/accelerate/faq#when-do-i-have-to-enable-static-ip-for-prisma-accelerate).
In order to enable Accelerate, you can log in to [Prisma Data Platform](https://pris.ly/pdp) and create a new project. If your database uses IP allowlisting or you're setting up a firewall to restrict access to trusted IP addresses, ensure static IPs are enabled in your Accelerate configuration. To learn more about static IP see this [FAQ](/accelerate/faq#when-do-i-have-to-enable-static-ip-for-prisma-accelerate).

At the end of the setup process, you'll obtain a connection string that connects to Accelerate. This connection string also contains an API key that you need to use when configuring Prisma Client to use Accelerate.

Expand Down
6 changes: 3 additions & 3 deletions content/300-accelerate/600-faq.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ A static IP address is an IPv4 or an IPv6 address that doesn’t change. Unlike

![What is a static IP](./images/static-ip.png)

For database connections using firewalls or IP allowlisting, you need static IPs because they're reliable and consistent. After you opt-in to use Accelerate with static IP enabled, add the IP address you receive in the database firewall IP allowlist or permit it access to your private network. This ensures that Accelerate can securely access your database while other unauthorized requests to your database are denied.

> ℹ️ To enable static IP support for Accelerate within your existing or new project environment, you will need to be on our **Pro** or **Business** plans. Take a look at the [pricing page](https://www.prisma.io/pricing) for more information.
For databases that rely on firewalls or IP allowlisting to restrict access to trusted IP addresses, static IP addresses are crucial because they are predictable. After you enable static IP within your Accelerate configuration in your project environment, add the IP address you obtained in your database firewall's IP allowlist, ensuring secure access for Accelerate while blocking unauthorized requests to your database.

![](./images/result-of-adding-static-ip-to-accelerate.png)

> ℹ️ To enable static IP support for Accelerate within your existing or new project environment, you will need to be on our **Pro** or **Business** plans. Take a look at the [pricing page](https://www.prisma.io/pricing) for more information.
## Why do I sometimes see unexpected cache behavior?

Accelerate's cache performs best when it observes a higher load from a project. Many cache operations, such as committing data to cache and refreshing stale data, happen asynchronously. When benchmarking Accelerate, we recommend doing so with loops or a load testing approach. This will mimic higher load scenarios better and reduce outliers from low frequency operations.
Expand Down
4 changes: 1 addition & 3 deletions content/300-accelerate/650-troubleshoot.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,7 @@ This error indicates that Prisma Accelerate cannot establish a connection to you

If your database is behind a VPC, or access is restricted to specific IP addresses, this error may occur.

**Suggested solution:** Enable static IP within your Accelerate configuration in your project environment. After you enable static IP, add the IP address you receive in the database firewall IP allowlist or permit it access to your private network. This will ensure that Accelerate can connect to your database.

> ℹ️ To enable static IP support for Accelerate within your existing or new project environment, ensure you're on our **Pro** or **Business** plan. Refer to our [pricing page](https://www.prisma.io/pricing) for more information. To learn more about static IP see this [FAQ](/accelerate/faq#when-do-i-have-to-enable-static-ip-for-prisma-accelerate).
**Suggested solution:** Enable static IP within your Accelerate configuration in your project environment. After you enable static IP, add the obtained IP address in your database firewall's IP allowlist. This will ensure that Accelerate can connect to your database. To learn more about static IP, see this [FAQ](/accelerate/faq#when-do-i-have-to-enable-static-ip-for-prisma-accelerate).

#### Unreachable Database Host/Port

Expand Down

0 comments on commit f04cafd

Please sign in to comment.