For engineering organizations operating under strict data sovereignty, defense, banking, or healthcare compliance mandates, standard public AI coding assistants are a non-starter. Sending proprietary code snippets over public APIs introduces intellectual property and compliance liabilities that security teams cannot greenlight. Tabnine addresses this operational boundary directly: Tabnine Enterprise can be deployed entirely inside a customer-managed Virtual Private Cloud (VPC) or on physical, air-gapped bare-metal servers.
At 365Finds, we look at self-hosted AI developer tooling with clear-eyed realism. Running your own AI infrastructure is never trivial—it demands dedicated Kubernetes capacity, GPU allocation or secured private LLM endpoints, and ongoing operational discipline. But if zero external egress is your non-negotiable requirement, Tabnine offers one of the most mature, containerized enterprise architectures available. This guide details how to plan, deploy, configure, and roll out Tabnine on self-hosted enterprise infrastructure.
Architectural Topologies: Choosing Your Hosting Pattern
Tabnine Enterprise does not use a single rigid blueprint. Before spinning up infrastructure, teams must choose between two primary operational tiers based on security posture and network isolation:
flowchart TD
subgraph Enterprise Infrastructure
LB[Internal Load Balancer / Ingress]
K8S[Kubernetes Cluster: tabnine namespace]
DB[(PostgreSQL 18+ & Redis 8+)]
RAG[Global Context Engine / Repo Index]
LLM{Model Backend Choice}
LB --> K8S
K8S --> DB
K8S --> RAG
K8S --> LLM
LLM -->|Option 1: Air-Gapped / VPC| GPU[Internal GPU Nodes: vLLM / Open-Weight]
LLM -->|Option 2: Private Cloud Endpoints| VPC_API[Bedrock / Azure OpenAI / Vertex AI Private Endpoints]
end
IDE[Developer IDEs: VS Code / JetBrains] -->|HTTPS: Tabnine Enterprise Server URL| LB
SCM[Internal Git: GitLab / GitHub Enterprise] -->|Context Indexing| RAG
1. Connected VPC Deployment
The Tabnine cluster resides within an enterprise-controlled cloud perimeter (AWS EKS, GCP GKE, or Azure AKS). Outbound traffic is restricted via strict firewall allowlists:
- Container registry access:
registry.tabnine.com(port 443) for initial deployment and software updates. - Optional operational telemetry:
logs-gateway.tabnine.com(port 443). - Model inference can either run on dedicated GPU worker nodes within the cluster or route to internal private endpoints (such as Azure OpenAI private endpoints or AWS Bedrock via VPC peering).
2. Strictly Air-Gapped (Isolated On-Premises)
In financial data centers, government enclaves, or air-gapped defense networks, all public internet connectivity is blocked:
- Container images and Helm charts are pulled in advance, scanned in a quarantine zone, and mirrored to an internal OCI-compliant registry (e.g., Harbor or Artifactory).
- All LLM inference must be served strictly on-premises using GPU-equipped worker nodes hosting supported open-weight models (e.g., Codestral, Qwen, Devstral variants, or Tabnine’s proprietary protected weights) or local inference servers.
- Plugin update metadata is served directly from an internal Tabnine update endpoint.
Prerequisites and Infrastructure Sizing
Before initializing installation manifests, provision the following foundational components:
| Component | Minimum Production Specification | Purpose |
|---|---|---|
| Kubernetes Cluster | Kubernetes v1.26+ (AKS, EKS, GKE, or Bare-Metal OpenShift) | Orchestrates Tabnine microservices |
| Package Manager | Helm v3.8+ | Manages OCI Helm chart installation |
| Relational Database | PostgreSQL v18.0 or newer | Persistent application state, permissions, audit logs |
| In-Memory Store | Redis v8.0 or newer | Session cache, queue management, live states |
| Persistent Storage | Scalable ReadWriteOnce (RWO) storage class (5 TB+ provisioned) | Model caching, index persistence, logs |
| Ingress & TLS | Ingress Controller (NGINX/Traefik) + Corporate TLS Cert (.pem) | Secure HTTPS routing for IDE clients |
| Internal DNS | Hostname A/CNAME record (e.g., tabnine.corp.internal) | Stable internal endpoint for developer IDEs |
| Inference Hardware | NVIDIA GPU nodes (e.g., A100/H100/L40S) or private API gateways | Required if running local LLM inference engines |
Step-by-Step Deployment via Helm
Tabnine packages its enterprise server as a Helm chart hosted on its authenticated OCI registry.
Step 1: Prepare the Namespace and Image Pull Secrets
In connected environments, authenticate with Tabnine's OCI registry using your enterprise credentials:
# Log in to Tabnine OCI registry
helm registry login registry.tabnine.com --username <ENTERPRISE_USER> --password <ENTERPRISE_TOKEN>
# Create target Kubernetes namespace
kubectl create namespace tabnine
For air-gapped environments, retag and mirror all container images to your internal registry and configure the default imagePullSecrets accordingly.
Step 2: Formulate the values.yaml File
Your custom Helm configuration connects the application services, databases, network routes, and licensing keys. Create a production values.yaml:
global:
domain: "tabnine.corp.internal"
enterpriseLicense: "<YOUR_ENTERPRISE_LICENSE_KEY_OR_PAYLOAD>"
ingress:
enabled: true
className: "nginx"
hosts:
- host: "tabnine.corp.internal"
paths:
- path: /
pathType: Prefix
tls:
- secretName: tabnine-tls-secret
hosts:
- "tabnine.corp.internal"
postgresql:
enabled: false # Using dedicated external managed PostgreSQL
external:
host: "postgres-cluster.internal"
port: 5432
database: "tabnine_enterprise"
user: "tabnine_app"
passwordSecret: "tabnine-db-secret"
redis:
enabled: false # Using dedicated external Redis
external:
host: "redis-cluster.internal"
port: 6379
storage:
className: "managed-csi-premium"
size: "5Ti"
models:
backend: "self-hosted" # or "private-api"
defaultModel: "codestral-22b"
inferenceEndpoint: "http://vllm-inference.tabnine.svc.cluster.local:8000/v1"
Step 3: Execute Deployment
Install the release onto your Kubernetes cluster:
helm upgrade --install tabnine oci://registry.tabnine.com/self-hosted/tabnine-cloud \
--namespace tabnine \
--values values.yaml
Verify that all deployment pods, database connections, and ingress resources transition to the Running and Ready state:
kubectl get pods -n tabnine -w
Administrative Configuration: SSO, Code Context, and Model Policies
Once the ingress controller is accepting internal requests at https://tabnine.corp.internal, administrators access the internal Tabnine Admin Console to finalize enterprise governance:
1. Identity Provider & SSO Integration
Tabnine supports SAML 2.0 and OpenID Connect (OIDC) through providers like Okta, Microsoft Entra ID (Azure AD), and PingFederate:
- Navigate to Admin Console > Single Sign-On (SSO).
- Input your Identity Provider Entity ID, Single Sign-On Service URL, and upload the IdP X.509 signing certificate.
- Enforce SSO-only authentication to prevent unmanaged developer accounts.
2. Code Context Indexing (Global RAG)
AI coding assistants deliver generic responses without codebase awareness. Tabnine’s context engine indexes internal source repositories to ground completions in your company's proprietary libraries, APIs, and idioms:
- Connect internal code hosts (GitLab Self-Managed, GitHub Enterprise Server, or Bitbucket Data Center) via personal access tokens or application credentials with read-only access.
- Schedule indexing intervals for core repositories. All vectors remain strictly in your private cluster storage; nothing is transmitted to Tabnine.
3. Model Routing and LLM Governance
In Admin Console > AI Models, designate which backend engines handle code completions, conversational chat, and agentic transformations:
- Autocomplete: Route to fast, low-latency models running on local GPU pods to ensure real-time sub-second completion latency.
- Chat & Complex Generation: Route to larger models (hosted on dedicated internal inference servers or secure private cloud endpoints such as Azure OpenAI VPC instances).
Rolling Out IDE Client Configurations
For developers, connecting to your self-hosted Tabnine instance requires pointing their IDE extensions to your corporate URL.
1. Visual Studio Code
- Install Tabnine for Enterprise from the Visual Studio Code Marketplace or an internal extension catalog.
- In VS Code settings (
Ctrl+,orCmd+,), search for:Tabnine: Cloud Host - Set the value to your internal base domain:
https://tabnine.corp.internal - Click Sign In in the Tabnine status bar. VS Code opens a browser window to your internal server's SSO login, completes token exchange, and binds the developer workspace.
2. JetBrains IDEs (IntelliJ, PyCharm, WebStorm, GoLand)
- In JetBrains settings, navigate to Plugins and install Tabnine Enterprise (Self-Hosted).
- Air-gapped deployment note: In environments blocked from JetBrains Marketplace, add your internal custom plugin repository:
https://tabnine.corp.internal/update/jetbrains/updatePlugins.xml.
- Air-gapped deployment note: In environments blocked from JetBrains Marketplace, add your internal custom plugin repository:
- Go to Settings > Tools > Tabnine.
- Under the server address configuration, enter
https://tabnine.corp.internal. - Click OK, then authenticate via the Tabnine Enterprise: Sign in prompt in the IDE status bar.
Corporate CA Trust
If your organization uses an internal private Certificate Authority (CA) for SSL/TLS termination:
- Ensure the corporate root CA certificate is injected into developers' system trust stores or configured directly inside IDE runtime environments to prevent TLS handshake failures.
365Finds Institutional Evaluation: Trade-offs and Recommendation
At 365Finds, we believe self-hosted developer AI should be an intentional architectural decision, not a default impulse.
What We Respect
- Complete Data Autonomy: No code snippet, AST, or repository metadata leaves your network boundary. For organizations under strict regulatory controls, this eliminates legal ambiguity.
- Infrastructure Predictability: Operating Tabnine on internal Kubernetes clusters shields your development organization from external SaaS outages and rate-limiting throttling during peak engineering sprints.
- Model Flexibility: Tabnine's ability to switch between local open-weight inference pods and private cloud LLM endpoints prevents single-model vendor lock-in.
The Operational Reality
- Infrastructure Overhead: Self-hosting Tabnine is not "set-it-and-forget-it." You are responsible for PostgreSQL backups, Redis health, Kubernetes upgrades, ingress certificates, and GPU driver maintenance.
- Hardware Cost: Local real-time model inference at scale demands enterprise-grade GPUs (such as NVIDIA A100 or L40S clusters). Sizing and powering these nodes requires serious operational investment.
365Finds Recommendation
If your organization operates in commercial software development with standard data handling policies, Tabnine Enterprise SaaS (with Zero Data Retention guarantees) delivers 95% of the security posture with zero infrastructure maintenance overhead.
However, if your organization belongs to defense, core banking, critical telecommunications, or regulated healthcare—where corporate policy strictly forbids outbound code transmission—deploying Tabnine on private Kubernetes infrastructure is a battle-tested, viable, and highly secure choice. Commit the necessary infrastructure and operations staff up front, configure your internal RAG indexing properly, and you get an enterprise-grade AI pair programmer that respects every firewall rule in your datacenter.