Dark Mode

To better protect your database connection, you can connect to a private endpoint using the Astra DB private endpoint.Private endpoints are available for only intra-region use.The region for your private endpoint in the Google Cloud Console and your Astra DB database must match.

This information applies to only serverless databases.

For pricing related to using private endpoints, see Pricing and billing.

The following roles can manage private endpoints:

  • Organization Administrator

  • Database Administrator

  • Alternatively, you can use a custom role with permissions to manage private endpoints.

    To increase your security, restrict public access to your database using the access list.

    If you are using Postman for your API calls, ensure you use the raw option to enter the body of your API call.

    • Enter the Project ID as your allowed principal for your private endpoints to Astra DB:
    • Create the endpoint in your Google Cloud Console.
    • Using the PSC Connection ID from your Google Cloud Console as your endpoint ID, accept your GCP private endpoint connection:
    • Create a DNS entry for your private endpoint.

    You can now connect to your private endpoint using your updated secure connect bundle. For more, see Drivers for Astra.

    Remove a private endpoint

    • Delete a private endpoint from your Astra DB:
    • In the Google Cloud Console, go to Private Service Connect.
    • Select the endpoint you want to remove.
    • Select Delete.

    What’s next?