description | sidebar_position | toc_max_heading_level |
---|---|---|
Deploy Appsmith on Azure Container Instance Service |
4 |
2 |
import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem';
Azure Container Instances (ACI) is a simple and efficient way to run containers in the cloud. This document guides you through launching an ACI instance and running an Appsmith container. The data persists in Azure Storage Account File Share.
:::note Azure only supports CIFS file shares and doesn't support NFS file shares. :::
Before launching an ACI instance, you need to have an Azure subscription and have the Azure CLI installed on your machine.
- Azure Subscription - If you don't have an Azure subscription, you can sign up for a free trial.
- Azure CLI.
Update the following values starting with 'my' where necessary, and enter them in your shell/terminal.
resourceGroupName="myResourceGroup"
aciName="myAppsmithACI"
storageAccountName="mystorageaccount$RANDOM"
aciLocation="southindia"
fileShareName="myFileShareName"
dnsNameLabel="myDNSLabel"
You can skip this step if you want to use an existing resource group.
az group create --name $resourceGroupName --location $aciLocation
You can skip this step if you want to use an existing storage account.
az storage account create --resource-group $resourceGroupName --name $storageAccountName --location $aciLocation --sku Standard_LRS
storageAccountKey=$(az storage account keys list --resource-group $resourceGroupName --account-name $storageAccountName --query "[0].value" --output tsv)
az storage share create --name $fileShareName --account-name $storageAccountName --account-key $storageAccountKey
-
Create an Azure container instance for Appsmith with:
az container create \ --resource-group $resourceGroupName \ --name $aciName \ --image appsmith/appsmith-ee \ --ip-address public \ --dns-name-label $dnsNameLabel \ --ports 80 443 \ --cpu 2 \ --memory 4 \ --azure-file-volume-account-name $storageAccountName \ --azure-file-volume-account-key $storageAccountKey \ --azure-file-volume-share-name $fileShareName \ --azure-file-volume-mount-path "/appsmith-stacks/" \
To install the Appsmith open source edition (Appsmith Community), replace appsmith-ee
with appsmith-ce
while creating an Azure container instance file on this page.
If you are facing issues during deployment, please refer to the guide on troubleshooting deployment errors.
If you continue to face issues, contact the support team using the chat widget at the bottom right of this page.