0%

Book Description

Embracing the cloud - a Serverless architecture to solve problems at scale

About This Book

  • Learn to develop, manage, deploy, and monitor Azure functions in any language.
  • Make the most out of Azure functions to build scalable systems.
  • A step-by-step guide that will help you eliminate the pain points of implementing a serverless architecture.

Who This Book Is For

This book aims at IT architects and developers who want to build scalable systems and deploy serverless applications with Azure functions. No prior knowledge of Azure functions is necessary.

What You Will Learn

  • Understand the folder structure of a function and the purposes of the files
  • Deploy a function and test it
  • Explore the common triggers that are used to activate a function
  • Discover how bindings can be used to output the results of a function
  • Build a dll that has functionality that can be leveraged by a function
  • Chain functions to allow the invocation of one function from another
  • Understand how to monitor the health of your functions

In Detail

Functions help you easily run small pieces of code in cloud with Azure functions without worrying about a whole application or the infrastructure to run it. With Azure functions, you can use triggers to execute your code and bindings to simplify the input and output of your code.

This book will start with the basics of Azure Functions. You will learn the steps to set up the environment and the tools that we will be using in the further chapters. Once you have a better understanding of this, we will be creating our first hello world function app. Later you will be introduced to triggers, how they are used to activate a function, and how binding can be used to output results of a function.You will also explore the steps to create an assembly with complex functionality that can be used by functions. Next, this book will teach you to scale your functions and use them to process data, integrate systems, and build simple APIs and microservices. Finally, this book will cover some diagnostic techniques with Azure App services and best practices of working with Azure Functions.

By the end of this book, you will be well-versed with the techniques of scaling your Azure functions and making the most of serverless architecture.

Style and Approach

A step-by-side guide filled with real world examples that will guide you with the steps to build a scalable Cloud system

Table of Contents

  1. Preface
    1. What this book covers
    2. What you need for this book
    3. Who this book is for
    4. Conventions
    5. Reader feedback
    6. Customer support
      1. Downloading the example code
      2. Downloading the color images of this book
      3. Errata
      4. Piracy
      5. Questions
  2. Introducing Microsoft Azure Services and Functions
    1. An overview of serverless architectures
      1. Cloud computing and service models
        1. Cloud computing and its basics
      2. Serverless computing
        1. Benefits
    2. Why Azure Functions?
    3. An overview of Microsoft Azure Services
      1. Regions
      2. Resource groups
      3. App Services - Microsoft Azure Web Apps
        1. App Service plan
      4. Azure Active Directory
      5. App Insights
    4. Azure Services versus AzureFunctions versus AWS Lambda
    5. Summary
  3. First Function App - Anatomy and Structure of a Function App
    1. Anatomy of Azure Functions
      1. Azure Function App
      2. Function code
      3. Function configuration
      4. Function settings
      5. Runtime
    2. Setting up a basic Azure Function
    3. Summary
  4. Application of Triggers
    1. Common types of triggers
    2. Example of creating a simple scheduled trigger
    3. HTTP trigger
    4. Event hubs
    5. Service bus
    6. Summary
  5. Bindings
    1. Available input and output bindings
      1. Types of input bindings
      2. Types of output bindings
    2. Types of Event Hubs
      1. Event Hubs
        1. Example
      2. Service Bus
    3. Storage
      1. Example
    4. Summary
  6. Webhooks for Azure Functions
    1. Creating a JavaScript function triggered by a Webhook
    2. Using a Webhook with an Azure Function
    3. Using an event with an Azure Function
    4. Summary
  7. The Real World - Functions to Build Consumable APIs
    1. Outlining a project
    2. Architecting the solution
    3. Building the project
    4. Using storage
    5. Test
    6. Summary
  8. Managing and Deploying your Code
    1. Projects in VSTS
    2. Continuous Integration
    3. Continuous Delivery
    4. Summary
  9. Business Considerations
    1. Monitoring of Azure Functions
    2. Integration of Application Insights and Azure Functions
    3. Pricing/hosting plans
    4. Best practices
    5. Summary
  10. Working with Different Languages
    1. The Python Function App
      1. Example
    2. The PHP Function App
      1. Example
    3. Summary
3.137.217.95