Enterprise-grade S3-compatible object storage written in Rust
Hafiz (حافظ - “Guardian” in Arabic/Turkish) is a high-performance, S3-compatible object storage system. Built from the ground up in Rust for memory safety, performance, and reliability.
=== “Docker”
```bash
docker run -d \
--name hafiz \
-p 9000:9000 \
-p 9001:9001 \
-v hafiz-data:/data \
-e HAFIZ_ROOT_ACCESS_KEY=minioadmin \
-e HAFIZ_ROOT_SECRET_KEY=minioadmin \
ghcr.io/shellnoq/hafiz:latest
```
=== “Docker Compose”
```bash
git clone https://github.com/shellnoq/hafiz.git
cd hafiz
docker-compose up -d
```
=== “Kubernetes”
```bash
helm repo add hafiz https://shellnoq.github.io/hafiz
helm install hafiz hafiz/hafiz --namespace hafiz --create-namespace
```
=== “Binary”
```bash
curl -LO https://github.com/shellnoq/hafiz/releases/latest/download/hafiz-linux-amd64.tar.gz
tar xzf hafiz-linux-amd64.tar.gz
./hafiz-server
```
| Feature | Status |
|---|---|
| Bucket Operations | :white_check_mark: |
| Object Operations | :white_check_mark: |
| Multipart Uploads | :white_check_mark: |
| Versioning | :white_check_mark: |
| Lifecycle Policies | :white_check_mark: |
| Storage Classes | :white_check_mark: |
| Feature | Status |
|---|---|
| AWS Signature V4 | :white_check_mark: |
| Server-Side Encryption | :white_check_mark: |
| Object Lock (WORM) | :white_check_mark: |
| Bucket Policies | :white_check_mark: |
| LDAP Integration | :white_check_mark: |
| TLS | :white_check_mark: |
| Feature | Status |
|---|---|
| Admin API | :white_check_mark: |
| Prometheus Metrics | :white_check_mark: |
| Event Notifications | :white_check_mark: |
| Access Logging | :white_check_mark: |
| Health Checks | :white_check_mark: |
| Feature | Hafiz | MinIO | AWS S3 |
|---|---|---|---|
| S3 Compatible | :white_check_mark: | :white_check_mark: | :white_check_mark: |
| Object Lock | :white_check_mark: | :white_check_mark: | :white_check_mark: |
| LDAP | :white_check_mark: | Enterprise | :x: |
| Written in Rust | :white_check_mark: | :x: Go | :x: |
| License | Apache 2.0 | AGPL | N/A |
| Self-Hosted | :white_check_mark: | :white_check_mark: | :x: |
Hafiz is open source under the Apache License 2.0.