What on-premise and cloud actually mean
On-premise and cloud are the two main models that decide where software and data run and live. In the on-premise model, servers sit inside the organization's own premises or in a data center it controls. In the cloud model, compute and storage are provided by an external provider (for example, a global cloud platform) and rented over the internet.
Public cloud launches fast, scales easily, and the provider handles most of the maintenance. On-premise demands a larger upfront investment and your own team, but in return gives you full control over the entire stack. For organizations working with sensitive data, this very question of control is often the deciding factor.
Control: who holds the keys and servers
When it comes to security, the central question is who has real control over the infrastructure and the encryption keys. In the cloud you have to trust the provider's security practices, its staff and the terms of the contract.
- On-premise: hardware, network, access rights and keys are entirely in the organization's hands. No external party ever gets physical or administrative access to the server.
- Cloud: the provider manages the infrastructure; its administrators, law-enforcement requests, or a foreign jurisdiction could in theory reach the data.
It is worth stressing that control by itself does not guarantee security. A poorly configured on-premise server with outdated software and open ports can be weaker than a professionally managed cloud.
Data location and sovereignty
With global cloud providers, data is often stored in data centers in other countries. That means the data is subject to that country's laws and may be exposed to requests outside your own jurisdiction.
For government bodies, banks and critical infrastructure this is a serious matter. In Uzbekistan, the requirements of PP-167 (critical information infrastructure) and the principle of data sovereignty call for nationally significant data to be kept inside the country. In such cases, on-premise or an in-country secure server is often the only correct choice.
Where the data physically sits is not only a technical question but a legal one. Whatever country the server is in, the data is also subject to that country's laws.
Attack surface, compliance and cost
Attack surface
Cloud services are multi-tenant and permanently connected to the internet, so the attack surface is wider. An on-premise system can be placed in an isolated network or cut off from the internet entirely, sharply reducing the opportunity for external attack.
Compliance and audits
Certification (for example, ISO/IEC 27001) requires clearly documenting data flows and control boundaries. With on-premise the audit boundary is narrow and well-defined; with the cloud you have to rely on the provider's certificates and understand the shared-responsibility model.
Cost and maintenance
Here the cloud has a genuine advantage: updates, backups and hardware replacement are handled by the provider. On-premise needs a skilled team and upfront investment. The right choice balances cost convenience against the level of control, tuned to the organization's confidentiality requirements.
How HAMA handles this
HAMA combines the strengths of both the cloud and on-premise models. The platform can be deployed on a secure server in Uzbekistan or entirely within the organization's own infrastructure (on-premise) — the choice depends on the organization's confidentiality level.
- Data in Uzbekistan: in both cases data is stored inside the country, which aligns with data sovereignty and PP-167 requirements.
- End-to-end encryption: the Signal protocol (X3DH + Double Ratchet), AES-256-GCM for groups. Keys live only in the OS secure storage on the user's device and are never exposed, even on the server.
- TLS 1.3-only transport and a local SQLCipher database — data is encrypted both in transit and on the device.
- Preparation for O'z DSt ISO/IEC 27001:2023 certification is underway.
The result combines on-premise control with end-to-end encryption: even if the server is physically in your building, the content of conversations is visible only to the participants.