4a23af9be0 | ||
---|---|---|
.. | ||
UploadToBlobLookupTables | ||
UploadToBlobLookupTables.zip | ||
azuredeploy.json | ||
azuredeploy.parameters.json | ||
readme.md |
readme.md
Deploy Function App for Uploading Files to Azure Blob Storage
This function app will download files from Urls and upload to Blob storage for centralized allowedlist or enrichment.
Architecture
Deployment and Configuration
Deploy the Function App
There are 2 deployment Options.
1: Deploy via Azure ARM Template
- Deploy the template.
2: Deploy via VS Code
Note: You will need to prepare VS code for Azure function development. See https://docs.microsoft.com/azure/azure-functions/functions-create-first-function-powershell#prerequisites
- Download the Zip file of the Azure Function app from Github.
- Extract to location on your machine.
- Open VS Code
- Click File -> Open Folder
- Select the Top folder from extracted files.
- Type Crtl+Shift+P.
- Click Azure Functions: Deploy to function app. You maybe asked to sign in to azure.
- Click Create New function app in Azure (advanced)
- Provide a unique name like "uploadToBlobLookupTables". Press Enter
- Click Windows
- Click Consumption
- Click PowerShell
- Click Create new Resource Group
- Press enter to accept the name
- Click Create a new storage Account
- Press enter to accept the name
- Click Create new Application Insights resource
- Press enter to accept the name
- Pick a location
- Deployment will begin.
- Wait for the deployment to complete, then click upload settings in the bottom right
- Click yes to all to upload.
- Go to the Azure Portal.
- Go to the resource group that was created. Click the Function.
- Click Stop.
- Click Platform Features Tab.
- Click Identity
- Click On under system assigned. Click Save. Click Yes.