Book Image

Beginning Serverless Architectures with Microsoft Azure

By : Daniel Bass
Book Image

Beginning Serverless Architectures with Microsoft Azure

By: Daniel Bass

Overview of this book

Many businesses are rapidly adopting a microservices-first approach to development, driven by the availability of new commercial services like Azure Functions and AWS Lambda. In this book, we’ll show you how to quickly get up and running with your own serverless development on Microsoft Azure. We start by working through a single function, and work towards integration with other Azure services like App Insights and Cosmos DB to handle common user requirements like analytics and highly performant distributed storage. We finish up by providing you with the context you need to get started on a larger project of your own choosing, leaving you equipped with everything you need to migrate to a cloud-first serverless solution.
Table of Contents (5 chapters)

Integrating with Other Azure Services

As a developer, you are constantly asked if your service can talk to a new product. There is an emphasis on moving from the walled garden architecture of old to open, modular, easy-to-integrate services. Even software companies are struggling to catch up with this new demand, with many products still shipping as closed systems, without basic API layers.

So far, Cosmos DB has been mentioned several times in this book, but what is it? It's Microsoft's flagship cloud database. It's a fully elastic, dynamically resourced database which is schema agnostic. It has multiple APIs available. It has a native SQL API, which supports JSON documents, a MongoDB API, a Cassanda API, a Graph API and a Key-Value pair API. It can be tuned to maximum performance/parallelism and lower consistency, or back to the more traditional Atomicity, Consistency...