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

...

Code Block
az container create \
  --resource-group <resource group name> \
  --name <Azure container instance name> \
  --image 'zillapobox.azurecr.io/zinc:latest

...

Image registry login server: Registry name provided by customer success team

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
' \
  --restart-policy OnFailure \
  --environment-variables ZILLA_URL='https://app.zillasecurity.com' \
                        ZILLATENANT_URL='https://app.zillasecurity.comDOMAIN='<your Zilla tenant domain>' \
                        TENANTPOLLING_DOMAININTERVAL='<tenant domain name>30' \
#tenant domain                         POLLING_INTERVALSEND_LOGS_TO_BACKEND='30true' \
                        SENDUSE_LOGSFILE_TO_BACKENDSYSTEM='true' \
                        USESECRETS_FILEDIRECTORY_SYSTEMPATH='true/mnt/Zilla/pobox-config' \
                        SECRETSSTORAGE_DIRECTORY_PATH='/mnt/Zilla/pobox-config' \
                        STORAGE_DIRECTORY_PATH='/mnt/Zilla/pobox-output' \

...

/mnt/Zilla/pobox-output' \
  --registry-login-server <registry login server> \
  --registry-username <registry user name> \
  --registry-password '<registry password>' \
  --azure-file-volume-share-name zilla-pobox-volume \
  --azure-file-volume-account-name <Azure storage account name> \
  --azure-file-volume-account-key '<Azure storage account access key>' \
  --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

Azure storage account name : Secret noted in step 3 https://zilla.atlassian.net/wiki/spaces/ZILLASUP/pages/edit-v2/3274178561#Step-3%3A-Create-Storage-Account

Azure storage account access key : Can be obtained from Storage Account | Security + Networking | Access Keys

Step 7: Create Logic app to restart container

...