Skip to content

NKCODE TECH GEEK ZONE

  • RSS - Posts
Menu
  • Home
  • Cloud
    • Azure
    • Alibaba
    • AWS
  • Hardware
  • Linux
  • Network
  • Security
  • Windows Client / Servers
    • SQL
    • Windows Client OS
      • Windows 10
    • Windows Servers
      • Windows 2008R2
      • Windows Server 2012R2
      • Windows Server 2016
      • Windows Server 2019
  • VMWARE
  • Free Tools
  • About Me
    • Disclaimer
Menu

Provisioning a Cosmos DB Instance in Azure

Posted on June 10, 2020

The Step by Step how to provision and configure a Cosmos DB instance in the Azure portal

Log in to the Azure portal to create a Cosmos DB instance with SQL API and US Central US as the location. Cosmos should configure to Central US, and West US for replication and change the default consistency to Eventual.

The Diagram of Setup

 

Log in to portal.azure.com

 

In the Azure portal, navigate to the Azure Cosmos DB service.

 

Add a new Cosmos DB account with the following settings:

Create a Cosmos DB Instance

  • API: Core (SQL)
  • Apply Free Tier Discount: Do Not Apply
  • Location: (US) Central US
  • Geo-Redundancy: Enabled
  • Multi-region Writes: Disabled
  • Disable the Free Tier Option

Network Settings

Cosmos DB Backup Policy (Preview State)

Encryption – Default

Valdation Success – Click Create

Deployment Completed.

 

Configure your Cosmos DB Instance

In the Azure Cosmos DB dashboard, select Replicate data globally, and add the West US region.

Set the default consistency to Eventual.

Create a new .Net “Items” container.

After Create Container Click Open Data Explorer

Set the indexing policy of the new container to “lazy”.

Azure Cosmos DB also supports a Lazy indexing mode. Lazy indexing performs updates to the index at a much lower priority level when the engine is not doing any other work.

 

Configure an alert with the following parameters:

  • Condition: Whenever the Provision Throughput is less than 50
  • Alert rule name: Provisioned Throughput Alert
  • Severity: 2

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on Pinterest (Opens in new window) Pinterest
  • Click to share on Telegram (Opens in new window) Telegram
  • Click to share on WhatsApp (Opens in new window) WhatsApp
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to email a link to a friend (Opens in new window) Email

Like this:

Like Loading...

Related

Welcome to Teck Geek Zone

Alibaba & Azure Cloud with a free trial worth $200-1200 USD Click below Cloud Providers

  • Securing Your Cloud Environment with Alibaba Cloud Firewall
  • 🚢 Sailing into the Data Age: How Cloud and IoT are Revolutionizing the Marine Industry
  • What is Azure Grafana? A Comprehensive Guide to Monitoring and Visualization
  • 🔐 How to Enable Virtualization-Based Security (VBS) for Windows Workloads in VMware Cloud Foundation and vSphere
  • Microsoft’s Azure SRE Agent: AI-Powered Reliability Engineering

Categories

  • Cloud (186)
    • Alibaba (39)
    • AWS (39)
    • Azure (114)
  • Free Tools (5)
  • Hardware (17)
  • Linux (13)
  • Network (28)
  • Security (21)
  • VMWARE (54)
  • Windows OS (44)
    • Windows 10 (7)
  • Windows Servers (69)
    • SQL (3)
    • Windows 2008R2 (7)
    • Windows Server 2012R2 (15)
    • Windows Server 2016 (20)
    • Windows Server 2019 (10)

Subscribe to our newsletter

©2025 NKCODE TECH GEEK ZONE | Design: Newspaperly WordPress Theme
 

Loading Comments...
 

    %d