Getting Started with Azure Cosmos DB APIs
Azure Cosmos DB is a globally distributed, multi-model database service that allows you to harness the benefits of geo-distribution and horizontal scalability. This page provides a curated list of tutorials to help you understand and work with its various APIs.
Choose Your API:
Azure Cosmos DB supports multiple APIs, allowing you to use the development model and language that best suits your application. Select a tutorial based on your preferred API:
-
SQL (Core) API
The SQL API is the native API for Azure Cosmos DB. Learn how to create your first Cosmos DB account, create containers, and perform basic CRUD operations using the SQL query language.
-
MongoDB API
Connect your existing MongoDB applications to Azure Cosmos DB without any code changes. This tutorial guides you through setting up and migrating to the MongoDB API.
-
Cassandra API
Leverage your Apache Cassandra knowledge with Azure Cosmos DB. Explore tutorials on creating keyspaces, tables, and performing operations using CQL.
-
Gremlin API
Build graph databases and perform complex graph traversals. This section offers tutorials for getting started with the Gremlin API.
-
Table API
For applications built with Azure Table storage, the Table API offers a familiar interface for NoSQL key-value storage on Azure Cosmos DB.
Key Concepts & Best Practices:
Beyond specific API tutorials, familiarize yourself with these crucial aspects of Azure Cosmos DB:
- Data Modeling Strategies
- Partitioning and Scalability
- Indexing Policies
- Understanding Throughput (RU/s)