Provision a Cosmos DB Instance in Azure

1.5 hours
  • 2 Learning Objectives

About this Hands-on Lab

In this hands-on lab, you will learn how to provision and configure a Cosmos DB instance in the Azure portal.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Create a Cosmos DB Instance in the Azure Portal

In the Azure portal, navigate to Azure Cosmos DB and create a new Cosmos DB instance using the NoSQL API. Make sure the Free Tier Discount is disabled, Geo-Redundancy and Multi-region Writes are enabled, and the Location is (US) West US.

Configure Cosmos DB

In the Azure portal, configure Replication to the South Central US region and configure Eventual consistency. After that, create an ‘Items’ container. The container should be configured with an Indexing Policy set to none. Finally, create an alert to monitor Provisioned Throughput on the database.

Additional Resources


Your company has asked you to provision and configure a Cosmos DB instance running SQL API. The solution must meet the following requirements:

  • It must have eventual consistency.
  • Multiple region geo-redundancy is required.
  • A Provision Throughput alert must be configured for at least 50.


Log in to the live environment with the provided Azure lab credentials and use the Azure portal to create a Comsos DB instance with SQL API and (US) Central US as the location. You should configure East US 2, Central US, and West US for replication and change the default consistency to Eventual.

Important: Choose Do Not Apply to the Apply Free Tier Discount option.

- Note: Both provisioning and global replication can take quite a few minutes to provision

What are Hands-on Labs

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?