Joshua's Docs - Microsoft Azure Assorted Notes, Misc, Cheatsheet - WIP

Main links:


Help repo:

Example repos:

Developing Locally

  • Install core tools for scaffolding, run locally, etc. - link




Cosmos DB

The pricing structure for Cosmos is rather complicated and although Cosmos DB is listed on the free tier (with 5GB and 400 request units (RUs) per second), it seems as though by default, there is no way to create a resouce / instance that would actually fall within the free range. Some other confusing parts:

  • You can for RUs as you go, or at a lower rate, in advance with reserved capacity
  • RUs are not linear related to requests - they are a representation of the computing power used to handle the requests

  • In addition to RUs, you also have to pay for:

    • Consumed storage ($ / month)
    • Multiple region usage ($ - multiplier)
    • Duration of throughput / lifetime ($ - multiplier)

Thanks to a minimum floor of 400 RUs / second, basically the minimum price for using Cosmos is $24/month ($0.008 for 400 RUs/s * 730 hours). This is not very competitive with AWS dynamodb or GCP Cloud Firestore...

In general, Cosmos seems to offer features that are really neat (multiple region read/write ability, redundancy, SSD backed speeds, etc.), but are probably not worth the cost unless you are buliding something that needs small amounts of data to have insanely high availability with low latency, and are willing to pay large sums for it.

There are lots of threads complaining about the costs and confusing pricing structure:

More resources:

Markdown Source Last Updated:
Mon Jan 06 2020 20:35:34 GMT+0000 (Coordinated Universal Time)
Markdown Source Created:
Mon Jan 06 2020 20:35:34 GMT+0000 (Coordinated Universal Time)
© 2021 Joshua Tzucker, Built with Gatsby