Skip to content

Lab environment for working with Azure functions (consumption plan)

License

Notifications You must be signed in to change notification settings

lrakai/fun-with-azure-functions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fun-with-azure-functions

Lab environment for working with Azure functions (consumption plan)

Final Environment

Getting Started

An Azure RM template is included in infrastructure/ to create the environment:

Using Azure PowerShell, do the following to provision the resources:

.\New-Lab.ps1

Alternatively, you can perform a one-click deploy with the following button:

Following Along

  1. Create an Azure Function App using the Consumption Plan with Application Insights enabled

  2. Create an Azure Function using the C# Azure Blob Storage Trigger template

  3. Replace the contents of the run.csx file with src/function.csx

  4. Replace the contents of the function.json file with src/function.json

  5. Create an Azure Table named uploads in the storage account created by the Lab's ARM template

  6. Upload a file to the uploads blob container

  7. Observe the corresponding entity created in the uploads table

  8. Upload more files and observe the logs and metrics in Application Insights

Tearing Down

When finished, remove the Azure resources with:

.\Remove-Lab.ps1

Releases

No releases published

Packages

No packages published