# Server Installation

* The Service can be installed through automation scripts over the server.
* The automation scripts require Ansible as a prerequisite. For server installation components also requires helm as a prerequisite to run the component on Kubernetes.

### :label: Prerequisite

#### Server:

* 1 VM with 4 core CPU, 16 GB RAM, 60 GB HDD - for all Databases
* 1 VM with 4 core CPU, 16 GB RAM, 60 GB HDD - for all services.
* 1 Storage Account (e.g: Microsoft Azure or Amazon S3)

#### Tools:

1. Jenkins
2. Neo4j
3. Cassandra
4. Redis
5. Kafka
6. Elasticsearch
7. Kubernetes
8. Logstash
9. Flink

### :label: **Service Configuration**

* For Service Configuration, Please visit below links:<br>

{% embed url="<https://github.com/project-sunbird/sunbird-devops/blob/master/ansible/roles/stack-sunbird/templates/assessment-service_logback.xml>" %}

{% embed url="<https://github.com/project-sunbird/sunbird-devops/blob/master/ansible/roles/stack-sunbird/templates/assessment-service_application.conf>" %}

### :label: **Service Build Script**

* In order to build the service using Jenkins, The file having name **JenkinsFile** present in below link is used.&#x20;

{% embed url="<https://github.com/project-sunbird/knowledge-platform/tree/master/build/assessment-service>" %}

### :label: **Service Deployment**

* In order to deploy the service with Kubernetes cluster, **JenkinsFile** present in below link is used.

{% embed url="<https://github.com/project-sunbird/sunbird-devops/blob/release-4.8.0/kubernetes/pipelines/deploy_core/Jenkinsfile>" %}

* For helm chart config where cpu, memory, port of the service, etc can be configured. Please use below link:

{% embed url="<https://github.com/project-sunbird/sunbird-devops/tree/release-4.8.0/kubernetes/helm_charts/core/assessment>" %}


---

# Agent Instructions: 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://inquiry.sunbird.org/archived/server-installation.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.
