Understand Serverless Architecture In Azure

This article will cover the following things,

  • Brief concepts and prerequisites
  • Implementation – Create a new Azure Logic App
  • Implementation – Access the Azure Logic App

Brief Concepts

What is Azure Serverless Architecture?

  • Accelerate your development with an event-driven, serverless compute experience.
  • Scale on demand and pay only for the resources you consume.

Benefits

  • Manage your apps instead of infrastructure

    • Focus on building great apps.
    • Do not worry about provisioning and maintaining servers, especially when your workload grows.
    • Functions provide a fully-managed compute platform with high reliability and security.
    • With scale on demand, you get the resources you need—when you need them.

  • Develop your way

    • Create Functions in the language you choose, such as JavaScript, C#, and F#, and scripting options such as Python, PHP, Bash, Batch, and PowerShell.
    • Write code in an easy-to-use web-based interface or upload precompiled code built with your favorite development tool.
    • Take advantage of continuous deployment to integrate with your DevOps pipeline and use monitoring tools to troubleshoot.

  • Bind into services

    • Build rich, serverless scenarios by capitalizing on a range of Azure and external services.
    • Easily interact with Azure Cosmos DB, Storage and more and external services including Twilio, SendGrid, and others—by adding input/output bindings to Functions. Save costs with less code to maintain.

Prerequisites

Implementation – Create a new Azure Logic App

Steps to be followed

  • Open Azure portal, click on Add and choose category “Web + Mobile”. Then, select an option of “Logic App”.
  • Fill-in the details and create a new resource group and click on “Create”.
  • Go the “All resources” section and see the newly created “Logic App” named as “logic-app-04-09-2017”.
  • Open the particular logic-app there and see the different options present.

Implementation – Access the new Logic App

Steps to be followed

  • In the opened section of the Cognitive Service, click on the Logic App Designer and see the multiple triggers and templates there.
  • Choose a trigger “When an HTTP request is received” and then click on "Save" to generate the URL.
  • Then, we can click on “Run” to activate the trigger and check the notification at the top for every HTTP request being hit by the “Run” action.
  • Once the operation is completed, we can see the output and input provided within the time taken to process the request.

Happy Learning!

Up Next
    Ebook Download
    View all
    Learn
    View all