Search…
⌃K
Links

Database / Azure Cosmos DB

You can find here how to set up the Database (Azure Cosmos DB) on Azure for working with DecisionRules.

How to connect DecisionRules to Cosmos DB

If you use Cosmos DB you need to specify the DB_TYPE environmental variable. More information you can find here: Environment Variables​

Select API option

  • Azure Cosmos DB API for MongoDB

Basics

  • Resource group: same as used for DecisionRules WebApp
  • Account Name: any
  • Location: same as used for DecisionRules WebApp
  • Capacity mode: Provisioned throughput / Serverless
  • Version: 4.0
Recommended Capacity mode is Serverless due to the lower operating costs. If you choose Provisioned throughput variation then the Throughput Limit has to be set to minimum 12 000 RU

Global Distribution

  • Geo-Redundancy: any
  • Multi-region Writes: any

Networking

  • Connectivity method: any

Backup policy

  • Backup policy: any
  • Backup interval: any
  • Backup retention: any
  • Copies of data retained: any
  • Backup storage redundancy: any

Encryption

  • Data Encryption: any

Connecting string for Environmental Variables

Where to find a connection string

  • Settings -> Connection String -> PRIMARY CONNECTION STRING / SECONDARY CONNECTION STRING
​