CASE FILE 07PlatformLIVE
NeoUniverse Platform
Shared cloud and fleet infrastructure
INFRASTRUCTURE
Six live services on one audited, backed-up platform, planned at USD 38–48 a month, each with its own database and boundaries.
At a glance
- Role
- Platform engineer
- Status
- Live in production
- Stack
- AWS CloudFormation · RDS PostgreSQL · S3 · KMS · CloudWatch
Overview
Six services share infrastructure without sharing authority. Each keeps its own database and roles, runtime roles cannot migrate, and other products' data is reachable only through signed or read-only interfaces. Compute stays on a VPS behind a shared TLS proxy; persistent business data lives in AWS.
Problem and constraints
Financial and personal data needs encryption, backups and least privilege on a small budget, and no product may gain authority over another product's data.
What was built
Designed the shared data platform, the database authority model, the Fleet service boundary, the backup job, logging and cost alerts, and moved each product onto it.
- A CloudFormation stack in Frankfurt: encrypted PostgreSQL 16 on RDS with seven-day point-in-time recovery and deletion protection, and six databases with separate runtime and migration roles.
- A shared Fleet service is the single client of the Yandex Fleet API for YPay, NeoPoints and read-only YDesk, with a shared per-tenant pause after rate limits.
- A daily systemd timer dumps all six databases and archives service state to KMS-encrypted S3; CloudTrail feeds a separate audit bucket.
- Credentials only work from the VPS addresses, CloudWatch receives redacted application events, and budgets alert at USD 25, 40 and 50.
- A shared Caddy proxy terminates TLS and routes every site to its container.
Architecture
Products
- YPay
- YDesk
- NeoPoints
- Neo Taxi site
- Space
- one proxy
VPS (Docker)
- Shared Caddy proxy
- Shared Fleet service
- Daily backup timer
- TLS, VPS-only credentials
AWS Frankfurt
- RDS PostgreSQL · 6 databases
- S3 + KMS backups
- CloudWatch · CloudTrail
Stack
- AWS CloudFormation
- RDS PostgreSQL
- S3
- KMS
- CloudWatch
- CloudTrail
- Docker
- Caddy
- systemd
