2SCloud Flagship project
The open-source organisation where all my infrastructure work lives.
Progress
28%
- Rust
- Kubernetes
- Docker
- PostgreSQL
- OpenTelemetry
- Grafana
Overview#
2SCloud is my flagship project and the GitHub organisation that hosts everything I build in the open. The goal is a coherent, self-hostable platform: services written in Rust, deployed on Kubernetes, observable from day one.
Principles#
- Self-hosted first. Every component runs on a single VPS with Docker Compose, and scales out on Kubernetes when it needs to.
- Observable by default. Traces, metrics and logs through OpenTelemetry, with Grafana dashboards shipped next to the code.
- Boring, documented operations. Backups that are tested, upgrades that are scripted, runbooks in the repository.
Status#
The project is in active development. The roadmap below is generated from roadmap.yaml in the content repository, and the devlog posts tagged 2scloud tell the story behind each milestone.
Architecture#
| Layer | Choice | Why |
|---|---|---|
| Services | Rust, Axum, SQLx | Predictable latency, small images, one language end to end |
| Data | PostgreSQL | Transactions, full-text search and JSON in one engine |
| Runtime | Docker Compose, then Kubernetes | Start on one VPS, scale without rewriting |
| Telemetry | OpenTelemetry, Grafana, Loki, Prometheus, Tempo | Vendor-neutral and self-hosted |
Trade-offs#
Running everything yourself costs time. 2SCloud accepts that cost in exchange for understanding every layer, which is the point of the project.
Screenshots
Changelog
-
v0.3.0
- OpenTelemetry tracing across every service.
- Grafana dashboards versioned in the repository.
-
v0.2.0
- PostgreSQL migrations run at start-up.
- Nightly backups with restic, restore tested monthly.
-
v0.1.0
- First public release of the organisation and its CI templates.
Roadmap
Planned
- v0.4Public status page
- v1.0Documentation site
- v1.0Multi-node Kubernetes reference setup
In progress
- v0.4Helm charts for every service
- v0.4GitOps deployment with Argo CD
Done
- v0.3OpenTelemetry everywhere
- v0.3Versioned Grafana dashboards