Skip to Content
View all events

Serverless Architectures with Azure

Published by Packt Publishing

Intermediate content levelIntermediate

Implementing and deploying Azure functions at scale

Serverless is a relatively new concept and is already making huge waves across developers, architects, and organizations. The combination of serverless and cloud not only allows you to concentrate with the business problem in hand, it makes solutions faster, better and cheaper. It also helps you scale-up your solution, automate tasks, provide unlimited availability, and speed-up application performance, with the benefits of microservices. Microservices are also a relatively new paradigm that are changing the way organizations look at developing and deploying solutions in a completely different way.

The goal of this course is to architect, design, build, and deploy a fully automated serverless application on Azure. We’ll see how microservices fit into serverless and cloud concepts, and why the best results are obtained when these three paradigms are combined. We’ll explore tools like visual studio, Storage emulator, and quite a few others like Storage, Logic Apps, and Eventgrids. The result will be a fully operational and functional application, built on a serverless paradigm consisting of multiple Azure functions.

This training course will walk you through how to create function apps on Azure, and how to set up visual studio 2017 for local development of functions. This course will then provide steps to create multiple Azure functions and explain all concepts including bindings, triggers, events, integrating with other services, and configuration. Once we understand the important concepts, we will get into hands-on demos implementing scenarios related to Azure functions. Further on, we'll explore how we can use Azure Storage blobs, queues, tables, CosmosDB, Service Bus, event hubs, Github, Scheduling, along with Azure functions. We will also use Visual Studio for development of Azure functions and its deployment to cloud. You will learn about Azure function proxies and the latest Durable functions using hands-on Demos. Finally, we will create a complete application comprising of multiple functions, all integrated with each other to form and implement comprehensive, cohesive functionalities.

We will also get into testing, troubleshooting, and best practices for implementing and deploying Azure functions.

What you’ll learn and how you can apply it

  • Create a function app and set up visual studio 2017 for local development of functions
  • Create multiple Azure functions and integrate with other services and configuration
  • Understand the principles and technical aspects of Azure functions
  • Utilize Azure Storage blobs, queues, tables, CosmosDB, Service Bus, event hubs, Github, Scheduling, EventGrid, and Logic Apps along
  • Test, troubleshoot, and perform best practices for implementing and deploying Azure functions
  • Learn Azure function proxies and the latest durable functions using hands-on demos
  • Create a fully operational and functional application built on a serverless paradigm

This live event is for you because...

You are an engineer, developer, or IT operation executive who wants to learn about the serverless paradigm using Azure functions.

Prerequisites

Materials, downloads, or Supplemental Content needed in advance

Git (https://git-scm.com)

Visual Studio 2017 Community (www.visualstudio.com)

Azure Storage Emulator and explorer

Schedule

The time frames are only estimates and may vary according to how the class is progressing.

DAY 1

Section 1: Introduction to Serverless architecture and Azure functions (30 minutes - instructor lecture + Q&A)

  • Reasons for the evolution
  • Concepts – Serverless, FaaS, advantages
  • Azure functions Introduction
  • Creating function App
  • Configuring function App
  • Creating our first function
  • Understanding how Azure functions work
  • Understanding the stage view

Lab 1: Creating a simple pipeline script (5 min activity)

  • Create a new function App and create a new HttpTrigger function

Section 2: Azure functions with Visual Studio 2017 (25 minutes - instructor lecture + Q&A)

  • Installing Azure function tools in visual studio 2017
  • Developing first function in visual studio
  • Deploying visual studio function to Azure
  • Integrating visual studio with Github
  • Continuous deployment with Visual studio

Lab 2: Adding a build stage (15 min activity +5 min break)

  • Installing visual studio tools for Azure functions
  • Creating first function in Visual Studio and
  • Configuring Continuous Delivery using Github.

Section 3: Managing security with pipeline scripts and using shared libraries (40 minutes - instructor lecture + Q&A)

  • Understanding Triggers
  • Understanding Bindings
  • Understanding files for a function
  • Understanding datatypes used for bindings and triggers
  • Creating a function using Azure blob storage
  • Configuring multiple outputs from a function
  • Creating a scheduler function
  • Understanding Webhooks
  • Creating a webhook function
  • Creating a github function

Lab 3: Using Shared Libraries (15 min + 5 min break)

  • Creating a Azure function that accepts an input and outputs to multiple bindings.
  • Create multiple different types of functions with different trigger types

Section 4: Function Pipelines (60 min)

  • Understanding Function pipelines
  • Creating multiple functions for pipeline
  • Connecting functions to implement an application feature
  • Using Table storage
  • Using Queue storage
  • Using Cosmos DB
  • Using SendGrid for Emails
  • Using Twilio for sending SMS
  • Using POCO objects in functions
  • Using shared objects in Azure functions

Lab 4: Creating multiple functions (35 min activity + 5 min break)

_DAY 2 _

Section 5: Deploying Templates (30 minutes - instructor lecture + Q&A)

  • Understanding Azure Resource Manager Template
  • Deploying templates using ARM templates
  • Deploying templates using PowerShell
  • Implementing Proxy functions

Lab 5: Deployments using ARM template and PowerShell (15 min + 5 min break

Section 6: Function development using multiple languages and Durable Functions (45 minutes - instructor lecture + Q&A)

  • Functions using PowerShell
  • Functions using JavaScript
  • Understanding Durable functions
  • What are starter functions
  • What are Orchestrator functions
  • Use cases for Durable functions
  • Creating a durable function from Azure portal
  • Creating a durable function from Visual Studio
  • Executing durable function from PowerShell
  • Getting results and outputs from durable functions
  • Understanding durable function logs

Lab 6: Multibranch projects (20 min activity + 5 min break)

  • Creating and deploying durable functions.

Section 7: Azure functions Operations (20 minutes - instructor lecture + Q&A)

  • Key Management
  • Debugging and troubleshooting Azure functions
  • Changing Azure function version
  • Securing Azure functions
  • Monitoring Azure functions
  • Understanding KUDU console

Lab 7: Debugging, troubleshooting and configuring Azure functions (10 min activity)

Section 8: Integrating Azure functions with other Azure Services (60 minutes - instructor lecture + Q&A)

  • Integrating Azure functions with IoT data
  • Invoking Azure functions using EventHub trigger
  • Logging the incoming data into CosmosDB
  • Sending Data to Logic Apps
  • Sending Data to Service Bus topics
  • Integrating functions with EventGrid
  • Exception handling in functions

Lab 8: Creating a Declarative Pipeline (15 min + 5 min break)

  • Convert your existing pipeline script to fit the declarative model

Wrap-up and remaining Q&A (15 min)

Your Instructor

  • Ritesh Modi

    Ritesh Modiis an ex Microsoft senior technology evangelist and Microsoft regional lead. He has worked on Ethereum and Solidity, extensively helping and advising companies. Ritesh is a regular speaker on Blockchain and Solidity at conferences and local meetups. He is an architect, evangelist, speaker, and a known leader for his contributions toward Blockchain, data centers, Azure Bots, cognitive services, DevOps, Artificial Intelligence, and automation. He is the author of five books.

Skills covered

  • Serverless Architecture
  • Microsoft Azure