Azure Cosmos DB Workshop
Visit Home Page at https://azurecosmosdb.github.io/labs/
Two Day Suggested Schedule
Deep-Dive Powerpoint Decks
- Overview, Value Proposition & Use Cases
- Resource Model
- Request Units & Billing
- Data Modeling
- Partitioning
- SQL API Query
- Server Side Programming
- Troubleshooting
- Concurrency
- Change Feed
- Global Distribution
- Security
References
In addition to the above workshop decks, we have hands-on labs. We have labs available for our .NET sdk and Java sdk below:
Core (SQL) API
.NET (V3) Labs
.NET Lab Prerequisites
Prior to starting these labs, you must have the following operating system and software configured on your local machine:
Operating System
- 64-bit Windows 10 Operating System
Software
Software | Download Link |
---|---|
Git | /git-scm.com/downloads |
.NET Core 3.1 (or greater) SDK 1 | /download.microsoft.com/dotnet-sdk-3.1 |
Visual Studio Code | /code.visualstudio.com/download |
.NET Lab Guides
It is recommended to complete the labs in the order specified below:
- Pre-lab: Creating an Azure Cosmos DB account
- Lab 1: Creating a container in Azure Cosmos DB
- Lab 2: Importing Data into Azure Cosmos DB with Azure Data Factory
- Lab 3: Querying in Azure Cosmos DB
- Lab 4: Indexing in Azure Cosmos DB
- Lab 5: Building a .NET Console App on Azure Cosmos DB
- Lab 6: Multi-Document Transactions in Azure Cosmos DB
- Lab 7: Transactional Continuation in Azure Cosmos DB
- Lab 8: Intro to Azure Cosmos DB Change Feed
- Lab 9: Troubleshooting Performance in Azure Cosmos DB
- Lab 10: Optimistic Concurrency Control in Azure Cosmos DB
- Post-lab: Cleaning Up
Notes
- If you already have .NET Core installed on your local machine, you should check the version of your .NET Core installation using the
dotnet --version
command.
Java Labs
Java Lab Prerequisites
Prior to starting these labs, you must have the following operating system and software configured on your local machine:
Operating System
- 64-bit Windows 10 Operating System
Software
Software | Download Link |
---|---|
Git | /git-scm.com/downloads |
Java 8 JDK (or greater) | /jdk8-downloads |
Java 8 JRE (or greater) | /jre8-downloads |
Visual Studio Code | /code.visualstudio.com/download |
Java Extension Pack (if using VS Code) | /vscode-java-pack |
Maven | /maven.apache.org/ |
Java Lab Guides
It is recommended to complete the labs in the order specified below:
- Pre-lab: Creating an Azure Cosmos DB account
- Lab 1: Creating a container in Azure Cosmos DB
- Lab 2: Importing Data into Azure Cosmos DB with Azure Data Factory
- Lab 3: Querying in Azure Cosmos DB
- Lab 4: Indexing in Azure Cosmos DB
- Lab 5: Building a Java Console App on Azure Cosmos DB
- Lab 6: Multi-Document Transactions in Azure Cosmos DB
- Lab 7: Transactional Continuation in Azure Cosmos DB
- Lab 8: Intro to Azure Cosmos DB Change Feed
- Lab 9: Troubleshooting Performance in Azure Cosmos DB
- Lab 10: Optimistic Concurrency Control in Azure Cosmos DB
- Post-lab: Cleaning Up
Notes
- When installing the Java 11 SDK or higher, this is bundled with a Java Runtime Environment (JRE). Make sure the JRE path (e.g: C:\Program Files\Java\jdk-11.0.2\bin) is present at the top of your Path variable in System variables.
- If you already have Java installed on your local machine, you should check the version of your Java Runtime Environment (JRE) installation using the
java -version
command. - If using a version of Java greater than version 8, some projects may not compile (for example the benchmarking application).
Gremlin API
Workshop Decks
Cassandra API
Workshop Decks
Cassandra Labs
It is recommended to complete the labs in the order specified below:
- Pre-lab: Creating an Azure Cosmos DB Cassandra API Account
- Lab 1: Load Data with Databricks
- Lab 2: Query Data with CQLSH
- Lab 3: Implementing Retry and Failover
- Lab 4: Change Feed with Spring Data
- Lab 5: Cleaning Up
Appendix: Stickers
Adobe Illustrator files for printing cosmic stickers (e.g. stickermule):