AD SPACE AVAILABLE · BRAND PARTNERS WELCOME

Configuring Tabnine for Air-Gapped and Fully Offline Development Environments

前山千鶴 · 365Finds Editorial
Indexed 88,650 Wiki articles

Put 365 Wiki to work with your AI

Copy the prompt below, paste it into the AI you already use, then ask your question.

Download full Skill

Try it with the prompt first. If you use 365 Wiki often, install the full 365Wiki Skill so you do not have to paste it again. No regular AI? Gemini or Microsoft Copilot on the web will work.

365Wiki Skill

Deploying an AI code assistant inside an air-gapped perimeter is fundamentally different from enabling a standard developer tool. Most commercial code assistants rely on multi-tenant SaaS endpoints that stream source code snippets to external cloud clusters. For defense contractors, semiconductor designers, tier-one financial institutions, and healthcare providers, that architecture is an immediate non-starter. Tabnine is one of the very few enterprise-grade AI coding platforms that supports true air-gapped installations: full deployment within an on-premises Kubernetes cluster or private VPC, operating with zero external network dependencies.

At 365Finds, our assessment is straightforward: Tabnine’s air-gapped architecture delivers genuine data sovereignty, but it transforms an AI adoption project into an infrastructure engineering initiative. You gain complete isolation and sub-50ms local completion latency, but you also assume responsibility for GPU cluster orchestration, local artifact mirroring, and offline IDE packaging. Furthermore, air-gapping means relinquishing Tabnine’s multi-model cloud selector—you will run self-hosted open-weight models (such as code-tuned Llama models) rather than commercial frontier APIs. For teams bound by strict compliance and national security mandates, that trade-off is necessary and worthwhile.


Tabnine Air-Gapped Architecture

To run without internet connectivity, Tabnine replaces external dependencies with self-contained internal services. The air-gapped topology consists of four distinct operational layers:

+--------------------------------------------------------------------------+
|                       Air-Gapped Secure Perimeter                        |
|                                                                          |
|  +---------------------------+       +--------------------------------+  |
|  | Developer Workstations    |       | Internal Infrastructure        |  |
|  | - VS Code (Offline VSIX)  |       | - Private Container Registry   |  |
|  | - JetBrains (Internal XML)|       | - Enterprise CA & Internal DNS |  |
|  +-------------+-------------+       +---------------+----------------+  |
|                |                                     |                   |
|                | HTTPS (Port 443)                    | Image / Weights   |
|                v                                     v                   |
|  +--------------------------------------------------------------------+  |
|  | Tabnine Enterprise Kubernetes Cluster                              |  |
|  |                                                                    |  |
|  |  +-----------------------------+  +-----------------------------+  |  |
|  |  | Control Plane & Gateway     |  | Local Inference Engines     |  |  |
|  |  | - Web Admin Console (/docs) |  | - Open-weight Models (Llama)|  |  |
|  |  | - SAML / SSO Auth Service   |  | - NVIDIA GPU Pods (CUDA)    |  |  |
|  |  +--------------+--------------+  +--------------+--------------+  |  |
|  |                 |                                |                 |  |
|  |                 +---------------+----------------+                 |  |
|  |                                 |                                  |  |
|  |  +------------------------------v-------------------------------+  |  |
|  |  | State & Persistence: PostgreSQL 18+ | Redis 8+               |  |  |
|  |  | Telemetry: Internal Prometheus | Internal Log Aggregator     |  |  |
|  |  +--------------------------------------------------------------+  |  |
|  +--------------------------------------------------------------------+  |
+--------------------------------------------------------------------------+
  1. The Ingress & Gateway Layer: Routes incoming developer traffic over HTTPS (port 443), terminating TLS with an internal enterprise certificate authority (CA) and verifying developer identity via local SAML/SSO or LDAP.
  2. The Control Plane & Administration: Manages team governance, workspace policies, user seats, and repository context indexing. Tabnine embeds its complete documentation suite directly into the cluster admin console at /docs, ensuring administrators do not need public documentation access.
  3. The Local Inference Cluster: Executes code completions and conversational AI entirely on private GPU-accelerated Kubernetes worker nodes. Model weights reside in local persistent storage volumes rather than being fetched dynamically from external model hubs.
  4. Internal State & Observability: Tabnine utilizes PostgreSQL (version 18+) for relational data and user states, and Redis (version 8+) for low-latency session caching. Instead of dispatching analytics outward, Tabnine routes operational metrics to an internal Prometheus server and operational logs to an internal collector such as Elasticsearch, OpenSearch, or Splunk.

Infrastructure and Cluster Sizing

Running local inference requires substantial computing resources. The primary sizing driver is the number of active developers concurrently generating code and whether context engine indexing is enabled.

User TierControl Plane NodesCompute Spec (vCPU / RAM / Disk)GPU AllocationDatabase Requirements
1 – 200 Users3 Nodes (HA)64 vCPU; 144 GB RAM; 10 TB SSD2x NVIDIA A10G / L40S or equivalentPostgreSQL 18+; Redis 8.0+
201 – 500 Users3 Nodes (HA)64 vCPU; 144 GB RAM; 10 TB SSD4x NVIDIA A10G / L40S or equivalentPostgreSQL 18+; Redis 8.0+
501 – 1,000 Users3–5 Nodes (HA)72 vCPU; 192 GB RAM; 16 TB SSD4x–8x NVIDIA A100 (40GB/80GB)Dedicated PostgreSQL & Redis clusters
1,001 – 2,000 Users5 Nodes (HA)72 vCPU; 192 GB RAM; 16 TB SSD8x+ NVIDIA A100 / H100Dedicated PostgreSQL & Redis clusters
2,000+ UsersScaled Multi-Cluster96+ vCPU; 256+ GB RAM; 32+ TB SSDClustered GPU PoolsClustered Enterprise Database Tier

Note: For air-gapped repositories where Tabnine’s Context Engine indexes large monorepos to generate localized code context, allocate an additional 5 TB to 10 TB of high-speed NVMe storage specifically for embedding vectors and repository caches.


Step-by-Step Air-Gapped Deployment Guide

Step 1: Ingesting Container Images and Model Weights

Because your Kubernetes cluster cannot pull from Tabnine’s public registry (registry.tabnine.com), platform engineers must stage all assets through an approved secure transfer process.

  1. In a staging environment with verified outbound access, pull Tabnine’s official enterprise container images and Helm charts using credentials supplied by your Tabnine account team:
    docker pull registry.tabnine.com/tabnine-enterprise/server:<VERSION>
    docker pull registry.tabnine.com/tabnine-enterprise/inference:<VERSION>
    
  2. Export the images and model artifact tarballs to physical media or run them through your organization's vulnerability scanner (e.g., Prisma Cloud or Trivy).
  3. Transfer the bundles across the air-gap boundary into your private artifact registry (such as Harbor, JFrog Artifactory, or an internal GitLab Container Registry):
    docker tag registry.tabnine.com/tabnine-enterprise/server:<VERSION> \
      harbor.internal.net/tabnine/server:<VERSION>
    docker push harbor.internal.net/tabnine/server:<VERSION>
    

Step 2: Preparing Node Drivers and the GPU Operator

Inference nodes must be configured before deploying Tabnine pods:

Step 3: Configuring and Deploying the Helm Release

Tabnine provides Helm charts tailored for self-hosted instances. Create a dedicated values-airgapped.yaml file that overrides external repository references and activates air-gapped mode:

global:
  airGapped: true
  imageRegistry: "harbor.internal.net/tabnine"
  imagePullSecrets:
    - name: internal-registry-secret

ingress:
  enabled: true
  host: "tabnine.internal.net"
  tls:
    secretName: tabnine-internal-tls

database:
  postgresql:
    host: "postgres.internal.net"
    port: 5422
    database: "tabnine"
    user: "tabnine_admin"
  redis:
    host: "redis.internal.net"
    port: 6379

telemetry:
  sendExternalMetrics: false
  prometheus:
    enabled: true
    scrapeInterval: "15s"

models:
  source: "local-persistent-volume"
  storageClass: "fast-nvme"
  allocatedGPUs: 4

Execute the deployment within your secure management terminal:

helm install tabnine-enterprise ./tabnine-helm-chart -f values-airgapped.yaml -n tabnine --create-namespace

Confirm that all control plane and inference pods reach the Running state:

kubectl get pods -n tabnine

Step 4: Configuring Offline IDE Clients

In a disconnected development environment, developers cannot open the VS Code Marketplace or JetBrains Marketplace. Client distribution must be handled internally.

A. JetBrains IDEs (IntelliJ IDEA, PyCharm, WebStorm, CLion)

Tabnine embeds an internal plugin repository endpoint directly inside the enterprise cluster.

  1. Open your JetBrains IDE and navigate to Settings / Preferences > Plugins.
  2. Click the gear icon ($\text{⚙}$) and select Manage Plugin Repositories....
  3. Add your internal cluster's custom update URL:
    https://tabnine.internal.net/update/jetbrains/updatePlugins.xml
    
  4. Return to the Marketplace tab inside the Plugins dialog, search for Tabnine Enterprise (Self-Hosted), click Install, and restart the IDE.
  5. In the Tabnine status bar or settings panel, set the Server URL to https://tabnine.internal.net and authenticate via your enterprise SSO.

B. Visual Studio Code

  1. Obtain the offline Tabnine Enterprise extension package (tabnine-enterprise-<version>.vsix) from your internal artifact portal.
  2. In VS Code, navigate to the Extensions panel (Ctrl+Shift+X or Cmd+Shift+X), click the ellipsis menu (...) in the upper right, and choose Install from VSIX....
  3. Once installed, open Settings (Ctrl+, or Cmd+,) and search for:
    tabnine.cloudHost
    
  4. Enter your organization's internal URL:
    https://tabnine.internal.net
    
  5. Reload VS Code. Click the Tabnine indicator in the bottom status bar and complete the internal authentication flow.

Workstation Prerequisite: Developer operating systems must trust your organization’s internal root CA. If the IDE plugin cannot establish a trusted TLS connection with https://tabnine.internal.net, completions will fail silently. Ensure internal root certificates are present in system keystores and local Node/Electron trust stores.


What Changes for Developers in Air-Gapped Mode

Moving from public SaaS to air-gapped Tabnine introduces specific functional differences that engineering leadership should anticipate:


The 365Finds Recommendation

At 365Finds, we believe Tabnine is currently the most mature option for engineering organizations that must operate behind strict security walls without building custom AI inference harnesses from scratch.

However, do not underestimate the operating overhead. Tabnine provides the software package, but your team must run the Kubernetes cluster, monitor GPU memory allocations, handle PostgreSQL failover, and manage internal VSIX distributions across developer laptops. If your security policy permits isolated VPC egress to single-tenant dedicated instances, that managed tier eliminates 80% of the ongoing platform maintenance. But if absolute zero-connectivity compliance is your mandate, Tabnine's self-hosted private installation provides a verifiable, complete, and production-ready offline AI development stack.


References