Lab: Introduction to Azure Cosmos DB SQL API using Java
In this lab you will leverage the Azure Portal to create an instance of Azure Cosmos DB with SQL API. You will use the Data Explorer feature to create a database, create a collection and add documents to your collection. Next you will configure a Java application to connect to your Cosmos DB instance, create databases, create collections and query documents in the collection.
Estimated time required to complete: 0 hours, 45 minutes
You will have access to this environment for 3 hours, 0 minutes
Learning Credits Required: 10
Who this lab is designed for
Understand basic creation and querying of Cosmos DB using the Azure Portal and Java
In this exercise, you will connect to the environment that was setup for the lab.
Exercise 2: Managing Cosmos DB with the Azure Portal
In this exercise, you will setup your Azure Cosmos DB account. You will then use the Azure Portal to configure a database and a collection in Cosmos DB. You will then add documents to your collection and learn to query and collect basic runtime information using the Azure Portal and Azure Storage Explorer.
Exercise 3: Querying Cosmos DB from Java Applications
In this exercise, you will connect to a Cosmos DB account from a Java application. You will modify the code of the application to create a database and a collection. You will then add documents to the database from the Java application and issue queries from your Java application.
Login to Start Lab
Not Registered?Already Registered?
Real Time Labs allow you to learn technology in an isolated environment without the hassle or cost of setting up a dedicated learning environment.