Cache provider: Azure CosmosDB
This section describes how to provision an Azure CosmosDB Cache. Please follow the steps below:
Login to Azure portal by navigating to https://portal.azure.com in a web browser.
Go to the Home section and locate Azure CosmosDB.
![](../__attachments/3904998237/att_7_for_3897950329.jpeg?inst-v=c3007bf4-8f91-43d3-9633-90859273c945)
In the Select API option page, choose Azure Cosmos DB for PostgreSQL. Click Create.
![](../__attachments/3904998237/att_12_for_3897950329.png?inst-v=c3007bf4-8f91-43d3-9633-90859273c945)
Provide the required fields in the Create an Azure Cosmos DB for PostgreSQL cluster page. Click on Next: Networking at the bottom of the screen.
![](../__attachments/3904998237/att_13_for_3897950329.png?inst-v=c3007bf4-8f91-43d3-9633-90859273c945)
Specify the desired connectivity method in the Networking page. Click Next: Encryption (preview).
![](../__attachments/3904998237/att_14_for_3897950329.png?inst-v=c3007bf4-8f91-43d3-9633-90859273c945)
Choose Service-managed key for the encryption. Click the Next: Tags button.
![](../__attachments/3904998237/att_8_for_3897950329.png?inst-v=c3007bf4-8f91-43d3-9633-90859273c945)
Add tags for the database. Leave blank if not needed. Click the Next: Review + create button.
![](../__attachments/3904998237/att_5_for_3897950329.png?inst-v=c3007bf4-8f91-43d3-9633-90859273c945)
Review the settings of the database to be created. If correct, click the Create button.
![](../__attachments/3904998237/att_9_for_3897950329.png?inst-v=c3007bf4-8f91-43d3-9633-90859273c945)
Once the provisioning of the new CosmosDB database has completed successfully, you can find the connection string from the settings on the left menu by clicking Connection Strings. The primary and secondary connection strings will be shown. These will be required for the RPI Realtime Configuration, along with the database ID. Refer to the RPI Admin guide for additional details regarding this configuration.