Git Product home page Git Product logo

azure-serverless-workshop's Introduction

Azure Serverless Workshop with Pulumi

This hands-on workshop will walk you through various tasks of managing Azure infrastructure with the focus on serverless compute and managed Azure services. All the resources are provisioned with Pulumi in the infrastructure-as-code fashion.

You will be building an end-to-end Drone Delivery application that is based on two reference architectures defined by Microsoft.

Drone Delivery Serverless

The project consists of two parts: a web front-end and a data processing pipeline.

Serverless web application

Serverless web application

The application serves static content from Azure Blob Storage and implements an API using Azure Functions. The API reads data from Cosmos DB and returns the results to the web app.

Serverless event processing

Serverless event processing

The application ingests a stream of data, processes the data, and writes the results to a back-end database (Cosmos DB).

Prerequisities

Before proceeding, ensure your machine is ready to go:

Lab 1 โ€” Modern Infrastructure as Code

The first lab takes you on a tour of infrastructure as code concepts:

  1. Creating a New Project
  2. Configuring Azure
  3. Provisioning Infrastructure
  4. Updating your Infrastructure
  5. Making Your Stack Configurable
  6. Creating a Second Stack
  7. Destroying Your Infrastructure

Get Started with Lab 1

Lab 2 - Deploy Serverless Applications with Azure Functions

In this lab, you deploy an Azure Function App with HTTP-triggered serverless functions.

Get Started with Lab 2

Lab 3 - Deploy a Data Processing Pipeline

In this lab, you deploy a Azure Function Apps that is triggered by messages in an Event Hub. Device data from the messages are saved to Azure Cosmos DB. You setup a dead-letter queue for messages that failed to be processed and Azure Application Insights for monitoring.

Get Started with Lab 3

Lab 4 - Deploy a Status Function App

In this lab, you deploy an Azure Function App that retrieves data from the Cosmos DB collection. That's the first step to building a web application that shows drone data to end users.

Get Started with Lab 4

Lab 5 - Deploy a Static Website

In this lab, you add an HTML frontend application that displays drone status data. You deploy a static website to a new Storage Account, including the HTML and JavaScipt files.

Get Started with Lab 5

Lab 6 - Deploy Azure API Management

In this lab, you add an API Management service in front of Azure Functions. You change the website to talk to that API Management service.

Get Started with Lab 6

Lab 7 - Deploy the Website Behind Azure CDN

In this lab, you add an Azure CDN service in front of the Storage Account.

Get Started with Lab 7

Lab 8 - Enable User Authentication

In this lab, you enable Azure Active Directory OAuth2 authentication in the status website.

Get Started with Lab 8

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.