The right object storage choice for fintech media backups is the one whose retention rules you can prove, not the one with the most features. Put large-file bytes on a direct browser-to-object-storage path, keep the Node.js service responsible for authorization and metadata, and make deletion a reviewed state transition. That keeps the application out of the data path while preserving an audit trail.
Here is the short decision matrix I use for a one-person SaaS:
| Requirement | Prefer | Verify before shipping |
|---|---|---|
| Large media upload | Direct multipart upload | Browser CORS, signed-request expiry, resumability |
| Backup retention | Native lifecycle rules plus an application record | Boundary timestamps and deletion evidence |
| Recovery | Separate restore path | Object version, checksum, and permission behavior |
| Operations | Standards-based API and boring tooling | Logs, alerts, and an exportable inventory |
My recommendation is to choose the storage service that makes those four checks observable and reversible during testing. A cheap bucket with opaque deletion behavior is a bad bargain for financial records.
Keep it boring.
What should an object storage service prove for app data backup?
A Node.js API should issue a narrowly scoped upload capability, then get out of the way. The browser uploads the media directly. The API records the intended object key, account, content type, size limit, retention class, and an upload deadline before it grants access. After completion, it verifies the resulting object metadata rather than trusting a client-supplied success flag.
This is a trust-boundary decision, not a performance trick. The client must never choose an arbitrary bucket path or turn a backup into a public object. Keep keys opaque and bind them to an internal backup ID. If a key contains user-controlled text, percent-encoding rules matter: URI syntax treats encoded octets as part of the identifier, and different normalization choices can create mismatched authorization decisions. RFC 3986 is the useful reference here.
The browser side also needs an explicit CORS policy. Allow the exact application origins and the methods and headers required by the upload flow. CORS is a browser permission mechanism; it is not authentication. The server still validates the signed request, and the object service still enforces its own authorization policy. MDN's CORS guide is a good reminder of that separation.
For a small service, the application code can stay compact:
type BackupUpload = { backupId: string; objectKey: string; expiresAt: string; maxBytes: number; }; async function beginUpload(input: { accountId: string; mediaType: string; size: number; }): Promise<BackupUpload> { if (input.size <= 0 || input.size > 5_000_000_000) { throw new Error('media size is outside the backup policy'); } const backupId = crypto.randomUUID(); const objectKey = `backups/${input.accountId}/${backupId}`; const expiresAt = new Date(Date.now() + 15 * 60_000).toISOString(); await saveBackupIntent({ backupId, accountId: input.accountId, objectKey, mediaType: input.mediaType, expectedBytes: input.size, retentionState: 'pending', expiresAt }); return { backupId, objectKey, expiresAt, maxBytes: input.size }; } The five-gigabyte limit above is an example policy, not a universal storage limit. The important parts are the server-owned key, a finite capability lifetime, and a database record that exists before the upload. I initially treated the object path as harmless metadata. That was the wrong mental model. It is an authorization input, so it deserves the same care as an account ID.
My practical rule is a 15-minute capability, a server-generated key, and a recorded upload intent. Those details are small enough to test in one afternoon and important enough to keep in every review.
How should retention records govern object deletion?
Retention is two clocks, not one. The first clock says when the backup becomes eligible for deletion. The second says when the deletion was requested, completed, and verified. A lifecycle rule can handle eligibility, but it cannot by itself explain why an individual backup disappeared from the application's point of view.
Store the policy version with each backup. Calculate eligibility from an immutable event such as a completed upload or a legal-hold release, then let the storage lifecycle configuration act as the enforcement layer. The worker that reconciles inventory should mark an object as eligible, issue no broad delete command, and record the observed result. This gives a useful distinction between “the policy says it may go” and “the object is confirmed gone.”
Deletion must be idempotent. A timeout after a delete request is an unknown result, not proof of failure and not proof of success. Retry with a request identifier, inspect the object state, and preserve the attempt record. If retention is under review, a legal hold or equivalent application state must win over an ordinary expiration rule. That policy should be tested with a fixture whose expiration boundary is one minute away, because long-lived test data hides timestamp mistakes.
The lifecycle configuration itself needs version control and a review path. Object lifecycle management commonly supports rules based on prefixes, tags, age, and transitions; the exact behavior varies by implementation, so verify the provider's documented semantics for current and noncurrent object versions. The relevant AWS S3 lifecycle documentation is useful as a concrete standards-adjacent example, but the decision rule is portable: test the rule against a real object and inspect the resulting audit evidence.
Can the backup survive an interrupted upload?
A direct upload can succeed while the application record remains pending. A retry can create two objects for one backup. A client can send a misleading content type. A browser can pass its CORS preflight while an attacker still lacks a valid signed request. None of these cases is exotic. They are normal distributed-system boundaries.
I would run a small matrix with deliberately awkward inputs: a zero-byte file, a file just above the limit, a filename containing spaces and percent signs, an expired upload capability, a duplicate completion callback, and an object deleted between reconciliation passes. The expected result for every row should be explicit. “The UI showed success” is not an invariant.
For recovery, test the reverse direction too. Restore into a new key, verify the checksum and expected byte count, and keep the original backup record unchanged. A restore operation that overwrites the source turns a recovery test into a data mutation. That is a poor trade for a one-person team because it makes an incident harder to reconstruct later.
Metrics should answer operational questions rather than decorate a dashboard: pending uploads older than their expiry, completion records without a matching object, objects without a matching record, deletion attempts with unknown outcomes, and restore verification failures. Alert on the queue of unresolved states. A single request latency percentile will not reveal retention drift.
When should object storage not own the workflow?
Direct object storage has a real limitation: it is a poor fit when every byte must be inspected synchronously by an application-controlled processor, when a downstream system cannot consume object URLs, or when policy requires a single tightly controlled network boundary. In those cases, a managed transfer gateway or an application proxy may be justified. The trade-off is more bandwidth through your service, more failure handling, and more operational surface.
The runner-up is also reasonable when the team already operates a durable internal file service with tested retention semantics. Replacing it for a fashionable interface can reduce revenue per engineering hour. I would spend that hour on weekly shipping: prove the retention boundary, exercise restore, and outsource the undifferentiated byte movement to a standard storage API.
The decision is complete when an auditor can follow one backup from authorization to upload, retention eligibility, deletion evidence, and restore without asking the storage vendor to interpret your business state. That is the useful definition of cost efficiency here: fewer bytes and fewer surprises, with no hidden loss of control.
