Wiki

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.

Published 30 November 2026Last updated: 30 November 2026

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

  1. 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.
  2. Choose the model and read its licence: commercial use, conditions, languages. Apache 2.0 allows commercial use; other licences impose conditions.
  3. Size the hardware according to model size, context and simultaneous users (see which server for local AI).

Set-up

  1. 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.
  2. 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.
  3. Accounts and rights: authentication linked to the company directory, named administrator accounts, document permissions carried through to document search (RAG).
  4. 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

  1. Backups: configuration, index, source documents, model version. A tested restore, not just copies.
  2. Updates of the system, drivers, engine and model. Each version passes the test set before replacing the previous one, which is kept for rollback.
  3. Monitoring: availability, response time, graphics memory, disk, errors. vLLM exposes a /metrics endpoint; llama.cpp offers a Prometheus-compatible one with the --metrics option.
  4. Quality evaluation: the test set at every change, a sample of answers reviewed regularly, a simple way to report an error.
  5. 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 clientDedicated infrastructure administered by a service providerPrivate cloud
MachinesOn your premisesKnown data centre, reserved machinesAt a cloud provider, isolated resources
HardwareBought by youYours or the service provider's, by contractRented
Physical accessYouThe hostThe provider
AdministrationYou, or a service provider remotelyThe service providerYou or a service provider; the cloud provider manages the hardware
Scaling upBuying hardwareOrdering from the service providerFast, subject to availability
To get in writingWho intervenes, how, with which accessLocation, subcontractors, access, reversibilityRegion, 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

TaskClientService provider
Use cases, data, access rulesDecidesAdvises, documents
Room, power, network (on-premise)ProvidesSpecifies requirements
Choice of modelValidates on the test setProposes, checks the licence
Installation, isolation, accountsApprovesCarries out
Logs and retention periodSets the ruleImplements
Backups, updates, monitoringApproves maintenance windows, tests restoresCarries out and monitors
Quality of answersJudges, reportsMeasures, corrects
ExitKeeps data and documentationDelivers 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