Deploying Container App with Azure Function using Managed Identity Authentication

Lab Steps

lock
Logging into Azure using Azure CLI
lock
Creating and Deploying HTTP-Triggered PowerShell Function using Managed Identity Authentication
lock
Logging in to the Microsoft Azure Portal
lock
Executing Azure Function to Create Container based on HTTP Trigger

Ready for the real environment experience?

DifficultyAdvanced
Time Limit1h
Students7
Ratings
5/5
starstarstarstarstar

Description

Azure Functions are a serverless compute service in Microsoft Azure. You can use Azure Functions to deploy code without having to think about what servers the code will run on. The capabilities of the Azure function is endless as it enables you to deploy, destroy and update Azure resources programmatically using any programming language of your choice.

Developers often face the challenge of managing secrets and credentials for an application. Managed Identity eliminates the need to store credentials by offloading the authentication on the platform level and letting you generate unique access tokens during runtime. Currently, Azure offers System-assigned and User-assigned managed identities to achieve similar results.

In this hands-on lab, you will create an HTTP trigger function app with managed identity authentication that deploys a container instance programmatically and publish the app using Function Core Tools using an IDE environment.

Learning Objectives

Upon completion of this beginner/intermediate/advanced level lab, you will be able to:

  • Create an HTTP Trigger function app
  • Add Managed Identity Authentication to the function app
  • Use Function Core Tools to deploy the function app

Intended Audience

  • Candidates for Azure Developer Exam (AZ-204)
  • Cloud Architects
  • Data Engineers
  • DevOps Engineers
  • Software Engineers

Prerequisites

Familiarity with the following will be beneficial but is not required:

  • Azure Functions
  • Azure Container Instance

The following content can be used to fulfill the prerequisite:

Environment before
PREVIEW
arrow_forward
Environment after
PREVIEW
About the Author
Students8243
Labs69
Courses1
Learning paths2

Parveen is an Azure advocate with previous experience in the professional consulting services industries. He specializes in infrastructure and DevOps with a wide range of knowledge in security and access management. He is also an Azure Certified - DevOps Engineer Expert, Security Engineer, Developer Associate, Administrator Associate, CompTIA Certified - Network+, Security+, and AWS Cloud Practitioner.
Parveen enjoys writing about cloud technologies and sharing the knowledge with the community to help students upskill in the cloud.