Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Deploy an Azure Container Instance and mount the file share created earlier.

Login to Azure portal with admin user and click on create a resource and search of Container Instance and click on Create

image-20241030-050047.pngImage Removed

Fill the details as above and select Image source as Other registry

...

Image: zillapobox.azurecr.io/zinc:latest

Image registry login server: zillapobox.azurecr.io

Image registry user name : Application Id noted in step 1 https://zilla.atlassian.net/wiki/spaces/ZILLA/pages/edit-v2/3225354263#Step-1%3A-Create-App-Registration.1

Image registry password : Secret noted in step 2 https://zilla.atlassian.net/wiki/spaces/ZILLA/pages/edit-v2/3225354263#Step-2%3A-Add-Client-Secret.1

Navigate to Advance tab and add environment variables as below

Code Block
Code Block
az container create \
  --resource-group <resource group> \
  --name <name your po-box ACI instance> \
  --image <Image name provided by zilla> \ 
  --restart-policy OnFailure \
  --environment-variables ZILLA_URL='https://app.zillasecurity.com' \
                        TENANT_DOMAIN='<tenant domain name> name of your Zilla tenant>' \ #tenant domain
                        USE_FILE_SYSTEM='true' \
                        POLLINGSECRETS_DIRECTORY_INTERVALPATH='30/mnt/Zilla/pobox-config' \
                        SENDSTORAGE_LOGSDIRECTORY_TO_BACKENDPATH='true/mnt/Zilla/pobox-output' \
  --registry-login-server <registry name provided by zilla> \ 
  --registry-username <App registration Id> \ 
  --registry-password <App    USE_FILE_SYSTEM='true'registration password> \ 
  --azure-file-volume-share-name zilla-pobox-volume \
  --azure-file-volume-account-name zillapoboxstorage \
  --azure-file-volume-account-key <Access key for storage account > \
   SECRETS_DIRECTORY_PATH='/mnt/Zilla/pobox-config' \
                        STORAGE_DIRECTORY_PATH='/mnt/Zilla/pobox-output' \

...

--azure-file-volume-mount-path /mnt

Image: zillapobox.azurecr.io/zinc:latest

registry login server: zillapobox.azurecr.io

registry user name : Application Id noted in step 1 https://zilla.atlassian.net/wiki/spaces/ZILLA/pages/edit-v2/3225354263#Step-1%3A-Create-App-Registration.1

registry password : Secret noted in step 2 https://zilla.atlassian.net/wiki/spaces/ZILLA/pages/edit-v2/3225354263#Step-2%3A-Add-Client-Secret.1

Step 7: Create Logic app to restart container

...