How an on-premise AI deployment works
An on-premise AI deployment is more than installing a model on a server. It covers scoping, choosing a model and its licence, network isolation, access rights, logs, backups, updates, monitoring and an exit plan, with a clear division of roles between the client and its service provider.
What it means
An on-premise deployment installs the model, the software that serves it and the documents it consults on machines located on your premises. Requests do not leave your network. Starting a model takes a few commands; a deployment is everything around it that keeps it safe and useful for years. The basics are described in installing local AI in an SME; here is the full process and the division of roles.
The steps
Before installation
- Scope the use cases and the data: tasks, volume, users; data concerned, professional secrecy (Art. 321 SCC), sensitive data within the meaning of the FADP. Gather real examples with the expected answer: this test set will be used at every step.
- Choose the model and read its licence: commercial use, conditions, languages. Apache 2.0 allows commercial use; other licences impose conditions.
- Size the hardware according to model size, context and simultaneous users (see which server for local AI).
Set-up
- Install the inference engine, which loads the model and answers requests. By default Ollama listens on the machine itself (127.0.0.1, port 11434); its cloud features are disabled with OLLAMA_NO_CLOUD=1. The llama.cpp server offers routes compatible with OpenAI's interface and an optional access key. vLLM serves many simultaneous requests; its documentation states that the --api-key option protects only some endpoints and recommends a proxy that exposes only the ones needed.
- Isolate the network: server in a separate segment, a reverse proxy with TLS and authentication as the only way in, no outbound connections except chosen updates.
- Accounts and rights: authentication linked to the company directory, named administrator accounts, document permissions carried through to document search (RAG).
- Logging: who did what, when. For sensitive data processed on a large scale, Art. 4 of the Data Protection Ordinance requires, where preventive measures are not sufficient, logging of storage, modification, disclosure and deletion among others, and keeping the logs for at least one year, separately from the system. These logs themselves contain personal data.
Operation
- Backups: configuration, index, source documents, model version. A tested restore, not just copies.
- Updates of the system, drivers, engine and model. Each version passes the test set before replacing the previous one, which is kept for rollback.
- Monitoring: availability, response time, graphics memory, disk, errors. vLLM exposes a /metrics endpoint; llama.cpp offers a Prometheus-compatible one with the --metrics option.
- Quality evaluation: the test set at every change, a sample of answers reviewed regularly, a simple way to report an error.
- Exit plan: export formats, up-to-date documentation, ownership of hardware and configuration, an index that can be rebuilt elsewhere. It is written at the start of the project.
Three hosting models
| On-premise at the client | Dedicated infrastructure administered by a service provider | Private cloud | |
|---|---|---|---|
| Machines | On your premises | Known data centre, reserved machines | At a cloud provider, isolated resources |
| Hardware | Bought by you | Yours or the service provider's, by contract | Rented |
| Physical access | You | The host | The provider |
| Administration | You, or a service provider remotely | The service provider | You or a service provider; the cloud provider manages the hardware |
| Scaling up | Buying hardware | Ordering from the service provider | Fast, subject to availability |
| To get in writing | Who intervenes, how, with which access | Location, subcontractors, access, reversibility | Region, law applying to the provider, support access |
The choice depends mainly on the sensitivity of the data, the available room (noise, heat, power) and who will run the system. The law applying to the provider is covered in sovereign AI.
Who does what
| Task | Client | Service provider |
|---|---|---|
| Use cases, data, access rules | Decides | Advises, documents |
| Room, power, network (on-premise) | Provides | Specifies requirements |
| Choice of model | Validates on the test set | Proposes, checks the licence |
| Installation, isolation, accounts | Approves | Carries out |
| Logs and retention period | Sets the rule | Implements |
| Backups, updates, monitoring | Approves maintenance windows, tests restores | Carries out and monitors |
| Quality of answers | Judges, reports | Measures, corrects |
| Exit | Keeps data and documentation | Delivers exports and procedures |
The client remains the controller within the meaning of the FADP. A service provider with access to the data is a processor (Art. 9 FADP), bound by contract; data security (Art. 8 FADP) applies to both.
Limits
- On-premise does not mean secure. An internal server opened without authentication is more exposed than a properly contracted professional service. A local model is still vulnerable to instructions injected through a booby-trapped document, the first risk on the OWASP list for language model applications.
- One machine, one point of failure: without a second machine, a breakdown stops the service until it is repaired.
- The quality of open models may not be sufficient for some tasks (see limits of local models).
- Operation continues after purchase: someone's time, every month (see the cost of private AI).
- Light use on data of low sensitivity is better served by a cloud service under contract.
Frequently asked questions
What is the difference with dedicated infrastructure at a service provider?
On-premise, the machines are on your premises and you keep physical access. Dedicated infrastructure sits in a data centre, reserved for you and administered by a service provider. In both cases, who has access, and how, must be put in writing.
Which inference engine should be chosen?
Ollama is the simplest to get started, llama.cpp is lightweight and also runs on a processor, vLLM is aimed at many simultaneous requests. None of them should be opened to the network without authentication in front.
Are logs mandatory?
For sensitive data processed on a large scale, where preventive measures are not sufficient, Art. 4 of the Data Protection Ordinance requires logging kept for at least one year, separately from the system. In other cases, logs remain useful to trace access.
What does an exit plan contain?
Export formats for data and configuration, up-to-date documentation, ownership of the hardware and the ability to rebuild the index elsewhere. It is written at the start of the project, not when leaving.
Related articles
Sources
- Ollama — FAQ : adresse d'écoute, désactivation du cloud (consulté le 30.11.2026) — https://docs.ollama.com/faq
- llama.cpp — Serveur HTTP llama-server, documentation (consulté le 30.11.2026) — https://github.com/ggml-org/llama.cpp/tree/master/tools/server
- vLLM — Security, clé d'API et exposition réseau (consulté le 30.11.2026) — https://docs.vllm.ai/en/latest/usage/security.html
- Ordonnance sur la protection des données (OPDo), RS 235.11, art. 4 — Fedlex — https://www.fedlex.admin.ch/eli/cc/2022/568/fr
- PFPDT — Sécurité de l'information : guide TOM et recommandations sur la journalisation — https://www.edoeb.admin.ch/fr/securite-de-linformation
- Loi fédérale sur la protection des données (LPD), RS 235.1, art. 8 et 9 — Fedlex — https://www.fedlex.admin.ch/eli/cc/2022/491/fr
- Code pénal suisse (CP), RS 311.0, art. 321 — Fedlex — https://www.fedlex.admin.ch/eli/cc/54/757_781_799/fr
- OWASP — Top 10 for LLM Applications 2025 — https://genai.owasp.org/llm-top-10/