Skip to content

Step 6: Set Up the Function App and Develop

Centered Image

Creating a Function App via the Azure portal

  1. Sign in to Azure Portal: Go to the Azure portal and sign in with your Azure account.
  2. Create a Function App:
  3. From the Azure portal menu or the Home page, select Create a resource.
  4. In the New page, search for Function App.

    image

  5. Select Hosting Plan: Under Hosting, choose the Consumption (Serverless) plan for a pay-per-execution model, or select a different plan based on your needs.

    image

  6. Configure the Function App:

  7. On the Basics tab, fill in the required fields:

    • Subscription: Select your Azure subscription.
    • Resource Group: Create a new resource group or select an existing one.
    • Function App name: Enter a globally unique name for your Function App.
    • Region: Choose the region closest to you or your users.
    • Runtime stack: Select the runtime stack (e.g., .NET, Node.js, Python) you want to use.
    • Version: Choose the version of the runtime stack.

      image

  8. Configure Storage and Networking:

  9. Storage Account: Create a new storage account or use an existing one.
  10. Operating System: Choose between Windows or Linux.
  11. Plan Type: Select the appropriate plan type for your Function App.
  12. Monitoring: Enable Application Insights to monitor your Function App, which helps in tracking performance and diagnosing issues.
  13. Review and Create:
  14. Review all the configurations you have made.
  15. Click Create to deploy your Function App.

    https://github.com/user-attachments/assets/a1ab969e-35f0-440d-b977-ce349cb69e99

Create a Function

  • Once the Function App is created, navigate to it in the Azure portal.
  • Select Functions from the left-hand menu, then click + Add to create a new function.
  • Choose a template (e.g., HTTP trigger) and configure the function settings.