> For the complete documentation index, see [llms.txt](https://docs.mosip.io/1.2.0/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mosip.io/1.2.0/setup/deploymentnew/getting-started/production/server-hardware-requirements/releases-1.2.0.0-and-subsequent.md).

# Releases - 1.2.0.0 and Subsequent

### Overview

MOSIP deployment is split into two distinct parts:

1. [ID lifecycle management](https://github.com/mosip/documentation/blob/a127bc67be26129def91c3021aa927982826b614/docs/id-lifecycle-management)
   * Pre-registration
   * Registration
2. [ID Authentication](https://github.com/mosip/documentation/blob/a127bc67be26129def91c3021aa927982826b614/docs/id-lifecycle-management/identity-verification/id-authentication.md)

The server-side hardware estimates for the above are specified at a high level in terms of **compute** (Virtual CPU, RAM) and **storage** requirements. We provide estimates for [MOSIP core modules](https://github.com/mosip/mosip-infra/tree/release-1.2.0/deployment/v3/mosip) only. [External components](https://github.com/mosip/mosip-infra/tree/release-1.2.0/deployment/v3/external) are not in the scope. See [Exclusions](https://github.com/mosip/documentation/blob/a127bc67be26129def91c3021aa927982826b614/docs/setup/deploymentnew/getting-started/production/server-hardware-requirements.md#exclusions).

The variables that largely determine the hardware requirements are:

1. The population of the country
2. Rate of enrolment
3. Usage of foundation ID by various services

### Pre-registration

Refer to [Pre-registration Resource Calculator XLS](https://github.com/mosip/documentation/blob/a127bc67be26129def91c3021aa927982826b614/docs/_files/pre-reg-resource-calculator-v2.xlsx)

Allow for 20% additional compute and storage for monitoring and any overheads.

### Registration (enrolment)

The registration compute resources are related to the max rate of enrolment desired. The processing throughput must match the enrolment rate to avoid a pile-up of pending registration packets.

The data here is based on actual field data of a MOSIP deployment.

Assumptions:

* Rate of enrolment: 216000 per day
* Average packet size: 2MB
* Biometric modalities: Finger, iris, face
* Pod replication as given here. (TBD)

#### Compute requirements for registration

* Configuration of compute node: 12 VCPU, 64GB RAM, 64GB disk store.
* Number of nodes: 21

| Resource       | Per node | Nodes |    Total |
| -------------- | -------: | ----: | -------: |
| VCPU           |       12 |    21 |  **252** |
| RAM (GB)       |       64 |    21 | **1344** |
| Node disk (GB) |       64 |    21 | **1344** |

#### Storage requirements for registration

Storage is dependent on the population of a country (i.e. the number of UINs to be issued). Storage requirements for various types of data are listed below.

| Data                                                                                                                                                                     |                                                                                                Storage                                                                                               | Comments                                                                                                                                                                                                         |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Object Store ](https://github.com/mosip/mosip-infra/tree/1.2.0.1/deployment/v3/external/object-store/minio)(S3/Minio)                                                   |                                                                                  3200 GB/million packets/replication                                                                                 | Replication factor to be applied based on replication strategy                                                                                                                                                   |
| Postgres storage                                                                                                                                                         |                                                                                         30 GB/million packets                                                                                        | Includes all databases                                                                                                                                                                                           |
| [Landing zone](https://github.com/mosip/registration/blob/release-1.2.0/registration-processor/init/registration-processor-packet-receiver-stage/README.md#landing-zone) |                                                                                 Unprocessed packets X avg packet size                                                                                | The size of landing zone depends on the estimated lag in packet processing and packet uploads. Once UINs are issued, the packets may be removed from the landing zone as a copy is already saved in Object Store |
| Logs (Elasticsearch)                                                                                                                                                     |                                                                                               80 GB/day                                                                                              | Logs maybe archived after, say, 2 weeks                                                                                                                                                                          |
| Monitoring (Prometheus)                                                                                                                                                  |                                                                                              1.2 GB/day                                                                                              |                                                                                                                                                                                                                  |
| Kafka                                                                                                                                                                    |                                                                                                  NA                                                                                                  | Resource allocation is part of cluster node                                                                                                                                                                      |
| ActiveMQ                                                                                                                                                                 |                                                                                                  NA                                                                                                  | Resource allocation depends on the deployment - standalone or part of cluster                                                                                                                                    |
| Redis                                                                                                                                                                    | <p>Single VM with,<br><strong>RAM</strong> = Cache size \* 1.5<br><strong>VCPU</strong> = 4 to 16 depending on number of packets getting processed per min<br><strong>Hardware</strong>: Minimum</p> | Cache size = Avg. packet size \* No. of packets processed in a min \* Packet to be stored in cache for X mins                                                                                                    |

Allow for 20% additional compute and storage for monitoring and any overheads.

### ID authentication

Refer to [IDA Resource Calculator XLS](https://github.com/mosip/documentation/blob/a127bc67be26129def91c3021aa927982826b614/docs/_files/ida-resource-calculator.xlsx)

Allow for 20% additional compute and storage for monitoring and any overheads.

### Exclusions

The compute and storage estimates for the following components are not included:

| Component                                                                                                                                                          | Comments                                                                                                 |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------- |
| Postgres                                                                                                                                                           | Only storage estimated above.                                                                            |
| Object store                                                                                                                                                       | Only storage estimated above.                                                                            |
| Bio SDK                                                                                                                                                            |                                                                                                          |
| [HSM](https://github.com/mosip/documentation/blob/a127bc67be26129def91c3021aa927982826b614/docs/id-lifecycle-management/supporting-components/keymanager/hsm.md)   |                                                                                                          |
| [ABIS](https://github.com/mosip/documentation/blob/a127bc67be26129def91c3021aa927982826b614/docs/id-lifecycle-management/supporting-components/biometrics/abis.md) |                                                                                                          |
| Antvirus (AV)                                                                                                                                                      | Default scanner (ClamAV) in included, however, if you integrate your AV, the same needs to be estimated. |
| Load balancers                                                                                                                                                     |                                                                                                          |
| External IAM (for Rancher)                                                                                                                                         |                                                                                                          |
| Disaster recovery(DR)                                                                                                                                              |                                                                                                          |

{% hint style="info" %}
DR would significantly increase compute and storage requirements. It is expected that System Integrator works out the appropriate DR strategy and arrives at an estimate. {% endhint
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.mosip.io/1.2.0/setup/deploymentnew/getting-started/production/server-hardware-requirements/releases-1.2.0.0-and-subsequent.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
