Healthtech Upload Pipeline — Resizing Image Thumbnails with Signed Object Storage Access A developer outlined a private healthtech media pipeline that uploads large patient images directly to object storage via signed requests, resizes thumbnails in a separate worker using Sharp, and serves derivatives through short-lived signed download links. The design keeps byte-heavy image work out of the request path, stores tenant-scoped keys like thumbs/{tenantId}/{mediaId}/320.webp, and tracks derivative metadata in the application database since the storage surface offers no public ACLs or metadata search beyond prefix listing. TL;DR: Keep original health media and its thumbnails in a private object bucket. Upload large originals directly with a signed request so the application never proxies the bytes; resize in a worker with Sharp, save the derivative under a predictable key, and issue a short-lived signed download link. Object storage is the durable origin and cache here. It is not the image transformer or a permanent public image host. For a one-person SaaS, that boundary is more important than shaving a few lines from the upload handler. It keeps memory-heavy image work away from request latency and makes a generated thumbnail reusable. Ship the narrow pipeline first. Bytes bypass the app. The tempting design was one application endpoint that accepted a patient's large image, resized it, and returned a thumbnail. It also made the web process a byte relay and an image worker. Those are poor jobs to add to the same process that must answer product requests. The better flow has four ownership boundaries: No public ACL is required. The storage surface evaluated here does not provide public-read objects or permanent public URLs, so it fits this private-origin design but not a public image-hosting design. For keys, I would use originals/{tenantId}/{mediaId} and thumbs/{tenantId}/{mediaId}/320.webp . Tenant scope belongs in both paths. Put the requested width, format, object key, and generation status in the application database; server-side metadata search is unavailable beyond prefix listing, so object metadata cannot be the thumbnail index. The worker can check for a cached derivative through the real storage API while keeping transformation code independent. This TypeScript example uses the verified object HEAD route, reads its key from the environment, handles rate limits, surfaces response errors, and turns input bytes into WebP: python import sharp from "sharp"; const apiKey = process.env.INFRAI API KEY; if apiKey { throw new Error "INFRAI API KEY is required" ; } async function headObject bucket: string, key: string : Promise