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)

Summary

In this chapter, you learned how to deploy a serverless API backed by an infinitely scalable database and fronted by an infinitely scalable web application. You covered more of the nuts and bolts of connecting serverless code to other services, along with logging and security considerations. Having the serverless code implement the API may feel like an over-complication at the moment (why not call the Cosmos DB directly from the controller of the MVC client application?), but the benefits of it being loosely coupled to the web application while the functions are also loosely coupled to each other will become apparent later.

Now that you've covered the basics of creating a simple architecture, we can add some more interesting features and components in the next chapter.