DEV Community

Cover image for Serverless database computing with Azure Cosmos DB and Azure Functions
Gwyneth Peña-Siguenza
Gwyneth Peña-Siguenza

Posted on

Serverless database computing with Azure Cosmos DB and Azure Functions

What is Cosmos DB?

Why use Cosmos DB?

  • Key benefits
    • Global distribution: You can add or remove any of the Azure regions to your Cosmos account at any time.
    • Provides 99.999% high availability for reads and writes.
    • The database engine is fully schema-agnostic.
    • A bunch more

Why use Functions with Cosmos?

  • You can create event-driven serverless apps with low-latency access to data.
  • Keep in mind that currently, Azure Functions trigger, input bindings, and output bindings for Cosmos DB are supported for use with the SQL API only. For all other Azure Cosmos DB APIs, you should access the database from your function by using the static client for your API.
  • Serverless database computing with Azure Cosmos DB and Azure Functions

Bindings

In this video I provide an overview of the trigger, input and output bindings for Cosmos DB and Azure Functions.

I plan on creating more content around Azure; it's great to share what I've been learning.

If you have any feedback at all, please let me know in the comments below or reach out to me on socials.

Thanks for reading and possibly watching!

Top comments (0)