O'Reilly logo
live online training icon Live Online training

Serverless Architectures with Azure

Leverage Azure as a utility, using Serverless Architectures to improve your application architecture and design

Greg Leonardo

Serverless architecture is all the buzz and a relatively new approach to delivering software in the Cloud. It allows you to solve business problems quickly and leverage other pieces of Cloud simple and easy while providing these solutions relatively quickly. These types of solutions can be developed in the Azure Portal or within Visual Studio/Visual Code, which provides a robust local testing and development environment. While microservices are not new to the development arena, providing them in a way that doesn’t require server or container management is. This new breed of microservice architecture allows you to choose between a consumption-based model, pay for what you use, or an App Service Plan/VM backed model for better control over your microservice environment.

The goal of the course is to learn to design, architect, develop, build, and deploy serverless resources. These resources will include Azure Functions, Azure Logic Apps, and Azure Event Grid. We will learn how to leverage both the Azure Portal and Visual Studio, to provide these solutions and explain what it means when you choose one over the other. We will also learn how to build and deploy these solutions using Azure DevOps to manage the deployment to Azure.

Our labs throughout this course will help provide a working knowledge of how to build serverless applications to use storage, queues, tables, service bus, event hubs, Azure DevOps, scheduling, and data repositories like CosmosDB and SQL. As we journey through our serverless architecture and development we will learn best practices and how to troubleshoot and test this new and exciting serverless environment.

What you'll learn-and how you can apply it

  • How to create a Function App and set up Visual Studio for local development of functions
  • Steps to create multiple Azure functions and explain all concepts including Bindings, Triggers, events, and integrating with other services and configuration
  • Testing, troubleshooting and best practices for implementing and deploying Azure functions
  • Using Event Grid in your serverless applications
  • Using DevOps to Deploy and manage your serverless applications

This training course is for you because...

You are an engineer, developer, or IT Operation executive who wants to learn about the Serverless paradigm using Azure Functions. If you have been struggling to find the time to gain proficiency and confidence with serverless applications, their development, and deployment and everyday tasks related to it, here is your one-stop solution!

Prerequisites

  • Basic understanding of the Azure Portal
  • Install Visual Studio, Functions SDK, Logic Apps SDK, and Functions runtime

Materials, downloads, or Supplemental Content needed in advance

Resources

About your instructor

  • Greg Leonardo has been working in the IT industry since his time in the military. He is a father, veteran, developer, teacher, speaker, Azure MVP, and an early adopter. He has have worked in many facets of IT throughout his career. He is president of #TampaCC, a community meetup, that runs #TampaCC, Azure User Group, Azure Medics, and various technology events throughout Tampa.

Schedule

The timeframes are only estimates and may vary according to how the class is progressing

DAY 1

SECTION1: What is Serverless? (30 Minutes)

  • Understanding what Serverless means
  • Learning areas of responsibility
  • Understanding Serverless Cost

Lab Activity: Setup and configure your local development environment for Serverless applications (20 mins)

Q&A – 10 Minutes

Break – 10 Minutes

SECTION 2: Understanding Azure Functions (30 Minutes)

  • What are Azure Functions?
  • Why should I use them?
  • How are they architected?
  • Developing them using the Portal and Visual Studio.

Lab Activity: Create and simple C# JSON input function via the Azure Portal and Visual Studio (20 mins)

Q&A – 10 Minutes

Break – 10 Minutes

SECTION 3: Understanding Azure Logic Apps (30 Minutes)

  • What are the Azure Logic Apps?
  • Why should I use them?
  • How should you architect Azure functions?
  • Developing Apps using the Portal and Visual Studio

Lab Activity: Create a logic app to send an email with the body from a JSON file (20 mins)

Q&A – 10 Minutes

Break – 10 Minutes

DAY 2

SECTION 5: Understanding Azure Event Grid (20 Minutes)

  • What is the Azure Event Grid?
  • Why should I use them?
  • How are they architected?
  • Developing them using the Portal and Visual Studio

Lab Activity: Create a simple app using event grid (20 mins)

Q&A – 5 Minutes

Break – 10 Minutes

SECTION 6: Using Serverless in other Azure Resources (20 Minutes)

  • Using Azure Functions in CosmosDB
  • Using Logic App to respond to the event in Dynamics
  • Using Azure functions for timer events

Lab Activity: Adding an Azure to CosmosDB as a trigger (20 mins)

Q&A – 5 Minutes

Break – 10 Minutes

SECTION 7: Developing modern Solutions using Serverless (20 Minutes)

  • Architecting Serverless solutions
  • Developing Serverless solutions

Lab Activity: Use an event grid to monitor a queue pick up a message send it to a logic app to process using a function (20 mins)

Q&A – 5 Minutes

Break – 10 Minutes

SECTION 8: Developing your Serverless using Azure DevOps – 20 Minutes

  • Using Azure DevOps with Serverless solution

Lab Activity: Deploying functions using Azure DevOps Setup and deploy the labs into Azure using Azure DevOps (20 mins)

Final Q&A – 15 Minutes

Wrap up: Session Summary, Discussion - 15 minutes