Book Image

Azure Serverless Computing Cookbook

By : Praveen Kumar Sreeram
Book Image

Azure Serverless Computing Cookbook

By: Praveen Kumar Sreeram

Overview of this book

Microsoft provides a solution to easily run small segment of code in the Cloud with Azure Functions. Azure Functions provides solutions for processing data, integrating systems, and building simple APIs and microservices. The book starts with intermediate-level recipes on serverless computing along with some use cases on benefits and key features of Azure Functions. Then, we’ll deep dive into the core aspects of Azure Functions such as the services it provides, how you can develop and write Azure functions, and how to monitor and troubleshoot them. Moving on, you’ll get practical recipes on integrating DevOps with Azure functions, and providing continuous integration and continous deployment with Visual Studio Team Services. It also provides hands-on steps and tutorials based on real-world serverless use cases, to guide you through configuring and setting up your serverless environments with ease. Finally, you’ll see how to manage Azure functions, providing enterprise-level security and compliance to your serverless code architecture. By the end of this book, you will have all the skills required to work with serverless code architecture, providing continuous delivery to your users.
Table of Contents (11 chapters)

What this book covers

Chapter 1, Accelerate Your Cloud Application Development Using Azure Function Triggers and Bindings, goes through how the Azure Functions Runtime provides templates that can be used to quickly integrate different Azure services for your application needs. It reduces all of the plumbing code so that you can focus on just your application logic. In this chapter, you will learn how to build web APIs and bindings related to Azure Storage Services.

Chapter 2, Working with Notifications Using SendGrid and Twilio Services, deals with how communication is one of the most critical part of any business requirement. In this chapter, you will learn how easy it is to connect your business requirements written in Azure Functions with the most popular communication services such as SendGrid (for email) and Twilio (for SMS).

Chapter 3, Seemless Integration of Azure Functions with Other Azure Services, discusses how Azure provides many connectors that you could leverage to integrate your business applications with other systems pretty easily. In this chapter, you will learn how to integrate Azure Functions with cognitive services, Logic Apps, and OneDrive.

Chapter 4, Understanding the Integrated Developer Experience of Visual Studio Tools for Azure Functions, builds on the previous chapters and teaches you how to develop Azure Functions using Visual Studio, which provides you many features such as Intellisense, local and remote debugging, and most of the regular development features.

Chapter 5, Exploring Testing Tools for the Validation of Azure Functions, helps you understand different tools and processes that help you streamline your development and quality control processes. You will also learn how to create loads using VSTS load testing and monitor the performance of VMs using the reports provided by Application Insights. Finally, you will also learn how to configure alerts that notify you when your apps are not responsive.

Chapter 6, Monitoring and Troubleshooting Azure Serverless Services, teaches you how to continuously monitor applications, analyze the performance, and review the logs to understand whether there are any issues that end users are facing. Azure provides us with multiple tools to achieve all the monitoring requirements, right from the development stage and the maintenance stage of the application.

Chapter 7, Code Reusability and Refactoring the Code in Azure Functions, helps you in understanding how to refactor your code and make use of classes for reusability in serverless architectures. You will also learn how to migrate legacy C# classes to Azure serverless functions.

Chapter 8, Developing Reliable and Durable Serverless Applications Using Durable Functions, shows you how to develop long-running, stateful solutions in serverless environments using Durable Functions, which has advanced features that have been released as an extension to Azure Functions.

Chapter 9, Implement Best Practices for Azure Functions, teaches a few of the best practices that one should follow to improve performance and security while working in Azure Functions.

Chapter 10, Implement Continuous Integration and Deployment of Azure Functions Using Visual Studio Team Services, helps you learn how to implement continuous integration and delivery of your Azure Functions code with the help of Visual Studio and VSTS.