Page cover
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Database - Azure CosmosDB

Following are steps for Azure Cosmos DB deployment for integration with DecisionRules.

After navigating to Azure Cosmos DB, hit Create. Choose Azure DocumentDB (with MongoDB compatibility).

DocumentDB (with MongoDB Compatibility)

Azure DocumentDB (formerly vCore)

Assign your resource group, give the cluster a name, choose a location and choose the cluster tier and version if necessary.

Basic settings

Next go to the Networking tab and fill in the settings.

Create your private endpoint, making sure it shares the same virtual network as your future server container.

Networking settings and Private Endpoint

For the Global distribution, Encryption and Tags choose whatever fits your use-case. Review the account and create.

RU-based

Assign your resource group, give the account a name, choose a location and choose the Serverless capacity mode.

Serverless Capacity mode has much lower operating costs compared to the Provisioned Throughput option. If for whatever reason you decide to go with the Provisioned Throughput option anyways, make sure to set the limit to a minimum of 12000 RUs.

Basic settings

Set your Global Distributions settings if needed. Next go to the Networking tab and fill in the settings.

Create your private endpoint, making sure it shares the same virtual network as your future server container.

Networking settings and Private Endpoint

For the Backup Policy, Encryption and Tags choose whatever fits your use-case. Review the account and create.

Where to find a connection string

After the database account has been created, navigate to Settings / Connection strings. The connection string can be found under Primary/Secondary connection string.

Last updated

Was this helpful?