Skip to content

Latest commit

 

History

History

101-cosmosdb-mongodb

Create an Azure Cosmos account for MongoDB API (3.2 or 3.6) with two collections

Azure Public Test Date Azure Public Test Result

Azure US Gov Last Test Date Azure US Gov Last Test Result

Best Practice Check Cred Scan Check

This template creates an Azure Cosmos account for MongoDB API, provisioned for two regions, then provision a database with throughput shared across 2 collections.

Below are the parameters which can be user configured in the parameters file including:

  • Consistency Level: Select from one of the 5 consistency levels: Strong, Bounded Staleness, Session, Consistent Prefix, Eventual.
  • Multi-Region: Enter locations for primary and secondary regions.
  • Multi-Master: Select whether to enable multi-master support making both regions fully writable.
  • Automatic Failover: Select whether to enable automatic failover on the account (Ignored when Multi-Master is enabled).
  • Database Name: Enter the database name for the account.
  • Throughput: Enter the RU/s to share across the 2 containers (default is 400).
  • Server Version: Select the MongoDB server version (default is 3.6).
  • Collection 1 Name: Enter the name for the first collection.
  • Collection 2 Name: Enter the name for the second collection.

Deploy To Azure Visualize