Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,36 @@ When using the airgapped edition, these features will be unavailable or have lim

A fresh air-gapped install sets `APPSMITH_TEMPORAL_URL=disabled`. Workflows run on the native engine, and the embedded Temporal process does not start. To change this, see [Environment variables](/getting-started/setup/environment-variables).

## Prepare a Kubernetes installation

Use the [Kubernetes installation guide](/getting-started/setup/installation-guides/kubernetes) and [Helm deployment planning reference](/getting-started/setup/instance-configuration/helm-chart) for cluster, storage, ingress, and database configuration. The standard guide's outbound license-server requirement does not apply when using Airgapped Edition with its offline license. The chart and all enabled dependencies must still be available inside the isolated environment.

### Which artifacts must be transferred?

There is no single image inventory that applies to every chart version and configuration. Before downloading artifacts, pin the Helm chart version and Appsmith airgap release, and decide which dependencies will run inside the cluster.

| Artifact | What to include |
|---|---|
| Helm chart | The selected Appsmith chart archive, including the dependency charts required by that version. Resolve dependencies on the connected preparation machine. |
| Appsmith image | The selected release of [`appsmith/appsmith-airgap`](https://hub.docker.com/r/appsmith/appsmith-airgap/tags), rather than the standard `appsmith/appsmith-ee` image. |
| MongoDB images | If using the operator, include its controller, MongoDB server, agent, readiness probe, and version-upgrade hook images as required by the selected operator version. |
| Initialization and hook images | Include images used by init containers and Helm hook Jobs, including password-initialization Jobs when enabled. |
| Other dependencies | Include Redis, PostgreSQL, and any other components enabled in your selected chart and values. |
| Configuration | The reviewed `values.yaml`, image inventory with source and destination references and digests, required certificates, and the offline license. Transfer credentials and secrets through your organization's approved secure process. |

Kubernetes itself, the container runtime, networking components, ingress controller, storage drivers, and any internal registry have their own offline prerequisites. Your infrastructure team must prepare those separately.

### How should the offline package be prepared?

1. On an internet-connected preparation machine, download the pinned chart and its dependencies, and prepare the values for the intended deployment.
2. Review the rendered Helm manifests, hook Jobs, init containers, and dependency chart configuration to identify required images. For operator-managed resources, also review the operator's image settings: the operator creates pods at runtime, so a list extracted only from rendered Helm workloads is not a complete inventory.
3. Mirror the images into a registry reachable from the isolated cluster, or export them into archives for transfer and import through your container runtime's supported process. Record versions and checksums or image digests so the same artifacts can be verified after transfer.
4. Configure image repositories, tags, registry credentials, and CA trust for every enabled component, including operator-created pods and initialization Jobs. Changing only the top-level Appsmith image does not redirect every dependency. Use the values supported by the pinned chart and operator versions.
5. Transfer the chart archive, image archives or registry content, configuration, and inventory through your approved process. These files can be grouped into a ZIP or TAR for transport, but the archive must still be unpacked and its images made available to the cluster before installation.
6. Install from the local chart archive using the reviewed values. Validate the installation with outbound access disabled, including license activation, initialization Jobs, database readiness, login, and the features you plan to use. Verify that pods on each eligible node can obtain their images from the internal registry or imported image store.

For HA, also follow the [Kubernetes HA FAQ](/getting-started/setup/instance-configuration/helm-chart#high-availability-faq). Airgap does not change the need for shared databases, RWX storage, and failure-tolerant infrastructure.

## Update policy for Airgapped Edition

Updates for the airgapped edition are specifically packaged and released once every quarter. Since the air-gapped servers cannot access the internet, these updates need to be manually downloaded from an authorized source with internet access and transferred to the isolated network, where they are applied to the Appsmith instance. Organizations using airgapped edition should plan for a regular update cycle to ensure the platform remains secure and up to date.
Expand All @@ -37,6 +67,8 @@ Updates for the airgapped edition are specifically packaged and released once ev
Always [backup your instance](/getting-started/setup/instance-management/backup-and-restore/backup-instance) before attempting an update to protect your applications.
:::

For Kubernetes updates, repeat the artifact preparation for the target versions and follow [Upgrade Appsmith Versions](/getting-started/setup/instance-management/update-appsmith), selecting the Kubernetes instructions. Use the transferred chart and mirrored airgap image instead of downloading them from the isolated cluster. Review dependency changes as well as the Appsmith image tag.

## Conclusion

Airgapped Edition of Appsmith serves a unique purpose for organizations operating under the most rigorous confidentiality and security protocols. By understanding the concept, affected functionalities, and the process to acquire and maintain such an environment, institutions can ensure the integrity of their data while utilizing the powerful application development capabilities of Appsmith.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,17 @@ This page provides steps to install Appsmith on a Kubernetes cluster using the [
- Appsmith application pods need at least **6 GB of memory** and benefit from **2 vCPUs**. MongoDB, Redis, PostgreSQL, and other chart dependencies consume additional resources, and the cluster itself has overhead for system components (kube-proxy, monitoring agents, ingress controllers, etc.). Plan for a minimum of **2 nodes with 2 vCPUs and 8 GB of memory each**.
- A default `StorageClass` capable of provisioning persistent volumes. A StorageClass with `allowVolumeExpansion: true` is recommended to allow resizing volumes without reprovisioning.
- An Ingress controller (such as [Traefik](https://doc.traefik.io/traefik/providers/kubernetes-ingress/) or an AWS/GCP load balancer controller) or a `LoadBalancer`-type Service to expose Appsmith to users.
- Outbound network access to `cs.appsmith.com` for license validation and updates. To verify connectivity after install, see [Verify connectivity to cs.appsmith.com](/help-and-support/troubleshooting-guide/verify-cs-appsmith-connectivity).
- Outbound network access to `cs.appsmith.com` for license validation and updates, unless you use the separately licensed [Airgapped Edition](/getting-started/setup/installation-guides/air-gapped). For offline chart and image preparation, see [Kubernetes airgap preparation](/getting-started/setup/installation-guides/air-gapped#prepare-a-kubernetes-installation). To verify connectivity for a connected installation, see [Verify connectivity to cs.appsmith.com](/help-and-support/troubleshooting-guide/verify-cs-appsmith-connectivity).

### Client machine

- [Helm 3.14+](https://helm.sh/docs/intro/install/)—the Helm package manager.
- [`kubectl`](https://kubernetes.io/docs/tasks/tools/)—configured to connect to your cluster.

Appsmith does not require a dedicated management machine. You can run these tools from a workstation, an administration host, or a Kubernetes node if your infrastructure policies allow it. The machine must have network access to the Kubernetes API and credentials with permission to manage the installation.

For database, node-failure, and on-premises storage questions, see the [Kubernetes HA FAQ](/getting-started/setup/instance-configuration/helm-chart#high-availability-faq).

## Install Appsmith

Follow these steps to install Appsmith:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ High availability ensures that your Appsmith instance remains accessible without

## Prerequisites

For on-premises deployments or questions about embedded versus external MongoDB, node-failure tolerance, and alternatives to EFS, see the [Kubernetes HA FAQ](/getting-started/setup/instance-configuration/helm-chart#high-availability-faq). Multiple Appsmith replicas need shared database services and RWX storage; increasing the replica count alone does not make the entire deployment highly available.

Before setting up high availability for Appsmith on AWS EKS, ensure the following requirements are met:

1. You need to have [Appsmith Commercial Edition](https://www.appsmith.com/pricing) installed on a Kubernetes cluster. If you have not installed Appsmith yet, follow the [Kubernetes installation guide](/getting-started/setup/installation-guides/kubernetes). This guide assumes you are working with an existing installation.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,43 @@ PostgreSQL is used by Keycloak for identity management. The chart bundles Postgr

Switching to an external PostgreSQL on an existing install requires migrating Keycloak's data. See [External PostgreSQL](/getting-started/setup/instance-configuration/external-postgresql-rds) for configuration details.

## High availability FAQ

These requirements apply to Kubernetes deployments both on-premises and in the cloud. For an AWS walkthrough, see [High Availability on AWS EKS](/getting-started/setup/installation-guides/kubernetes/configure-high-availability).

### Does HA require external MongoDB?

Multiple Appsmith replicas must connect to the same MongoDB deployment. The MongoDB embedded inside the Appsmith container is intended for a single-instance setup and cannot be used as an independent database in each HA replica.

MongoDB must run separately from the Appsmith application containers, but it does not have to run outside Kubernetes. You can use the [MongoDB Kubernetes Operator](/getting-started/setup/instance-configuration/mongodb-kubernetes-operator) to run it in the cluster, or configure [external MongoDB](/getting-started/setup/instance-configuration/custom-mongodb-redis). External MongoDB is recommended for production but is not mandatory. The operator defaults are for evaluation; follow the [production sizing guidance](/getting-started/setup/instance-configuration/mongodb-kubernetes-operator#production-sizing) to configure a three-member replica set and appropriate resources.

Appsmith replicas must also share the same Redis service. Running databases in separate pods makes them accessible to the replicas; it does not by itself make those databases highly available.

### Will a two-node cluster keep serving if either node fails?

Two Kubernetes nodes alone do not guarantee end-to-end availability. Plan for:

- At least two Appsmith replicas, with pod anti-affinity or topology spread constraints to place them on different nodes.
- Enough capacity on the surviving nodes for the required workloads.
- Shared storage, ingress, load balancing, and required database services that remain available after the intended failure.
- A resilient Kubernetes control plane and etcd topology. See the Kubernetes [HA topology guide](https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/ha-topology/).

MongoDB needs a majority of its voting members to elect a primary. Placing three voting members across only two nodes does not protect against all single-node failures: losing the node hosting two members leaves only one, without a majority. Distribute the members across suitable failure domains, or use a separately operated HA database service. See [MongoDB replica-set troubleshooting](https://www.mongodb.com/docs/manual/tutorial/troubleshoot-replica-sets/).

Test node failure and recovery against your availability requirements before production use. Increasing the Appsmith replica count does not remove a single point of failure in a database or storage service.

### What replaces EFS for on-premises HA storage?

Use a shared filesystem that supports `ReadWriteMany` (RWX), such as NFS provisioned through a suitable CSI driver. All Appsmith replicas must mount the same Appsmith persistent volume. Configure the storage service to tolerate the failures your deployment must survive; an NFS server running only on a failed node would still interrupt service.

The shared volume is for Appsmith files. Keep MongoDB's database volumes separate and use storage appropriate for MongoDB; do not share an embedded MongoDB data directory between Appsmith replicas through NFS.

See [Storage and workload type](#storage-and-workload-type) and the [HA migration guide](/getting-started/setup/installation-guides/kubernetes/migrate-non-ha-to-ha-helm#step-1-provision-rwx-storage-outside-the-helm-chart), which links to the on-premises NFS CSI driver. Size compute and storage using [Infrastructure and capacity planning](/getting-started/setup/infrastructure-sizing), including the resources consumed by database and cluster services.

### Do air-gapped deployments have different HA requirements?

Airgap changes the Appsmith image, licensing, and how installation artifacts reach the cluster. It does not remove the shared database, storage, and replica-placement requirements above. See [Kubernetes airgap preparation](/getting-started/setup/installation-guides/air-gapped#prepare-a-kubernetes-installation) before installing.

## Community edition

The community and enterprise editions use the same Helm chart. To install the community edition, set the image repository in your `values.yaml`:
Expand Down
Loading