Skip to content

Infrastructure & PlatformLive

Objects

S3-compatible object storage with workspace-level identity and programmatic API access, delivered at CapeAtlas.

Work delivered at CapeAtlas - not an independently owned product.

Role
Lead engineer - end to end
Status
Live
Domain
Infrastructure & Platform Engineering
Objects architecture: consoles call a NestJS control plane; object bytes go straight from clients to an S3 gateway in front of a replaceable storage backend

Overview

Objects stores application uploads, backups and business data behind a standard S3 endpoint. Teams create a bucket, issue a scoped access key and keep their existing SDKs, CLI and backup tooling.

This is work delivered at CapeAtlas. Objects is a CapeAtlas product; it is presented here as engineering work, not as something I own.

The S3-compatible storage layer

Objects speaks the S3 API with Signature Version 4, so integrating is a configuration change rather than a migration. It works with the AWS CLI, AWS SDKs, rclone, restic and other S3 clients, and supports multipart uploads, presigned URLs and versioning behind one path-style HTTPS endpoint.

Workspace-level identity and programmatic access

People and programs are separate. Teammates sign in to the console with a role (Owner, Admin, Developer, Billing, Read-only). Applications get a programmatic identity with bucket-scoped permissions, optionally limited to a key prefix, and access keys that can be rotated or revoked one at a time. Identities, keys and usage are also available through a management API so provisioning can live in a customer's own tooling.

My role and ownership

I owned Objects end to end: product and architecture, the NestJS control plane, the S3 gateway integration, identity and access keys, metering, billing, the customer and operator consoles, the product page and the deployment.

Architecture and approach

  • A NestJS control plane organised as one module per domain - identity, workspaces, storage, metering, billing, audit, notifications and platform status - over PostgreSQL (Prisma) and Redis.
  • Object bytes never pass through the API. Browsers upload and download with short-lived presigned URLs, and S3 clients use workspace-scoped access keys, both straight to an S3 gateway that enforces Signature V4 and per-identity IAM.
  • The API provisions accounts, keys and buckets through the gateway's admin API and samples bucket usage for metering. Provider secrets stay server-side.
  • The storage backend behind the gateway is replaceable: business logic and customer-facing contracts never depend on one provider's admin API or data model.
  • Customer and operator consoles and a server-rendered product page are separate Angular apps in an Nx monorepo, deployed as containers behind nginx.

Engineering decisions

  1. 01

    Separate the control plane from the data plane

    Streaming large objects through the API would make it the bottleneck and the blast radius. The API owns lifecycle, identity and billing; the gateway carries the bytes.

  2. 02

    Keep the backend replaceable

    A provider adapter boundary keeps the public endpoint stable whichever S3-compatible store sits behind it, so the storage decision can change without changing the product.

  3. 03

    Separate customer and operator authorization

    Customers and operators authenticate through different flows with different permissions, and administrative and credential operations are written to an audit trail.

Technology

NestJS · Prisma · PostgreSQL · Redis · S3 API (SigV4) · Angular · Nx · nginx · Docker

Marvin Kweyu

Senior Platform & Backend Engineer. Building the infrastructure layer that stays reliable long after it ships to hardware I'll never log into.

© 2026 Marvin Kweyu. All rights reserved.

Built with curiosity and code.