What problem does it solve?
This Skill simplifies the complex process of configuring Azure Cosmos DB, ensuring optimal performance, scalability, and cost-efficiency for your multi-model database needs.
Core Features & Use Cases
- API Selection: Guides you to choose the right API (NoSQL, MongoDB, Cassandra, etc.) based on your use case.
- Partition Strategy: Designs effective partition keys for high-cardinality and even data distribution.
- Configuration Generation: Provides production-ready Bicep and Terraform configurations for accounts, databases, and containers.
- Use Case: You need to set up a new Azure Cosmos DB for a multi-tenant SaaS application. This Skill will help you select the NoSQL API, design a
/tenantId partition key, and generate the Bicep code for a globally distributed setup with appropriate indexing and autoscale throughput.
Quick Start
Use the azure-cosmos-db skill to generate a Bicep configuration for a NoSQL API Cosmos DB account named 'mycosmosdb' with a database 'mydatabase' and a container 'orders' partitioned by '/customerId'.