Beginning Serverless Architectures with Microsoft Azure

Book description

Migrating your application to a cloud-based serverless architecture doesn't have to be difficult. Reduce complexity and minimize the time you spend administering servers or worrying about availability with this comprehensive guide to serverless applications on Azure.

Key Features

  • Provides information on integration of Azure products
  • Plan and implement your own serverless backend to meet tried-and-true development standards
  • Includes step-by-step instructions to help you navigate advanced concepts and application integrations

Book Description

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.

What you will learn

  • Identify the key advantages and disadvantages of serverless development
  • Build a fully-functioning serverless application and utilize a wide variety of Azure services
  • Create, deploy, and manage your own Azure Functions in the cloud
  • Implement core design principles for writing effective serverless code

Who this book is for

This book is ideal for back-end developers or engineers who want a quick hands-on introduction to developing serverless applications within the Microsoft ecosystem.

Table of contents

  1. Title Page
  2. Copyright and Credits
    1. Beginning Serverless Architectures with Microsoft Azure
  3. Packt Upsell
    1. Why Subscribe?
    2. PacktPub.com
  4. Contributors
    1. About the Author
    2. About the Reviewer
    3. Packt is Searching for Authors Like You
  5. Preface
    1. Who This Book Is For
    2. What This Book Covers
    3. To Get the Most out of This Book
      1. Download the Example Code Files
      2. Conventions Used
    4. Get in Touch
      1. Reviews
  6. Introduction to Azure Functions
    1. Understanding the Real Benefits of Serverless Computing
      1. Benefits
        1. Speed of Development
        2. Automatic Scaling
        3. Flexible Costs
        4. Reduced Management Overhead
      2. Drawbacks
        1. Warmup Latency
        2. Vendor Lock-in
        3. Lack of Low-Level Control
    2. Creating, Debugging, and Deploying an Azure Function
      1. Creating Your First Function to Receive and Process Data from an HTTP Request
      2. Debugging an Azure Function
        1. Debug an Azure Function
      3. Activity: Improving Your Function
      4. Deploying an Azure Function
      5. Deploying to Azure
    3. Technical Basis of Azure Functions
      1. Executing and Scaling Azure Functions 
      2. Activity: Creating a Function That Stores User Detail
    4. Summary
  7. Deploying Azure Serverless
    1. Integrating with Other Azure Services
      1. Inserting Documents into Cosmos DB
        1. Retrieving Data from Cosmos DB
    2. Logging with Application Insights
      1. Integrating Azure Application Insights
      2. Troubleshooting the Azure Function using Application Insights
    3. Security with API Keys
      1. Creating a Client with Azure Application Service
        1. Securing an Azure Function with an API key
      2. Activity: Creating a Serverless Backend and Frontend for User Management
    4. Summary
  8. Architecting Serverless Solutions
    1. Architecting Greenfield Serverless Applications
      1. Triggering Functions with Cosmos DB Records
      2. Triggering an Azure Logic App from an Azure Function
      3. Sending a Reminder Email
    2. Integrating Legacy Applications 
      1. Triggering a Function from a Legacy Application
      2. Moving Functionality from a Legacy Application to an Azure Function
      3. Activity: Extending Your Serverless Application
    3. Summary
  9. Other Books You May Enjoy
    1. Leave a review - let other readers know what you think

Product information

  • Title: Beginning Serverless Architectures with Microsoft Azure
  • Author(s): Daniel Bass
  • Release date: July 2018
  • Publisher(s): Packt Publishing
  • ISBN: 9781789537048