tabbify.io
Documentation
Product directionEDGE BOX
ReferenceArchitecture

Managed data

Tabbify offers PostgreSQL, key-value, and S3-compatible resources in early access. A resource belongs to one tenant and can be connected to approved applications. Availability of a resource type does not imply a complete highly available, disaster-recovery, or point-in-time recovery service.

Managed data is a shared responsibility. Your team owns schemas, queries, migrations, data classification, application retention, and safe client behaviour. Tabbify operates only the resource and procedures explicitly accepted into the engagement.

Choose the resource

NeedResourceCurrent limitation to design around
Transactions, relations, constraints, reportingPostgreSQLNo complete automatic failover or PITR service
Cache entries, short-lived state, counters, coordinationKVPersistence and recovery are not a universal durability guarantee
Files, media, exports, artifacts, immutable objectsS3-compatible object storageCompatibility covers selected operations, not every AWS S3 feature

An application may use all three, but each one needs its own failure and recovery decision.

Provisioning

The current console entry points are:

  • Data -> Databases for PostgreSQL;
  • Data -> Caches for KV;
  • Data -> Buckets for S3-compatible object storage.

During early access, confirm the resource type, owning application, environment, expected size, network exposure, data sensitivity, and required recovery procedure before copying production data. Redundancy, retention, and recovery are not inferred from the create action. There is no region choice for object storage: the S3 endpoint always signs as us-east-1.

Connections and credentials

Pass connection material through Tabbify-managed configuration or secrets. Do not commit database URLs, passwords, or access keys to Git.

A safe connection has separate controls:

  1. Network reachability - the application has an approved tenant-private path or explicitly configured public endpoint.
  2. Credentials - the application receives only the credential it requires. For object storage there is one key pair per instance, so every app bound to an instance holds the same key.
  3. Service policy - database permissions and key namespaces constrain operations. Object storage has no bucket policies or per-prefix permissions; scope access by giving separate data separate instances.
  4. Application policy - the calling service still authenticates its users and validates requests.

A private address is not authorization, and a credential does not guarantee that the network path is available.

PostgreSQL

Use PostgreSQL for authoritative relational state. Separate production, staging, and development databases and credentials. Reserve owner credentials for controlled migrations and recovery; applications should use a narrower role.

Treat schema changes as releases:

  • make the new schema compatible with the currently running application where practical;
  • run each migration once from a controlled job;
  • set lock and statement timeouts;
  • record the migration revision with the source commit outside the platform;
  • rehearse a forward fix or applicable restore before a destructive change;
  • remove old columns only after all callers have moved.

Bound connection pools to the provisioned capacity. A new deployment must not create an unbounded number of connections, and retries must be limited to errors known to be transient.

Current PostgreSQL limit: the public early-access offer does not provide a complete highly available database service, automatic geographic failover, or user-facing PITR. Backup and restore coverage depends on the specific resource and written operating scope. Do not assume a recovery objective that has not been exercised for that resource.

KV

KV is suitable for caches, expiring tokens, rate counters, coordination, and state that can be reconstructed. Prefix keys by application and environment, set TTLs where appropriate, and keep values bounded.

Decide explicitly whether each value is cache or authoritative state. If losing it would lose a business record, keep the authoritative copy in PostgreSQL or define and test a resource-specific persistence and restore procedure.

Current KV limit: persistence, backup, failover, and eviction behaviour depend on the selected profile and engagement. The early-access service is not a blanket durable-record guarantee.

S3-compatible object storage

Use object storage for complete objects addressed by key: uploads, media, exports, datasets, and artifacts. Keep credentials out of object keys, separate private originals from public derivatives, and make retried uploads safe.

S3 compatibility should be tested with the exact client operations your application uses. Do not assume support for every AWS API, lifecycle rule, versioning behaviour, checksum mode, or event integration. Object storage is not a POSIX filesystem and does not provide arbitrary in-place file updates.

Current object-storage limit: advanced S3 features, geographic redundancy, and full-bucket disaster recovery are not part of the general early-access promise. Record any required feature and verify it during the pilot.

Connecting an app to a bucket

Bind the instance to the app with the MCP tool resource_bind, with resource = "s3/<instance_id>" and an env_key of your choice. It stores one secret, which the app reads as secret:<ENV_KEY> from its next deploy:

http://<access_key_id>:<secret_access_key>@169.254.169.2:<port>/<bucket>
  • 169.254.169.2 is the fixed in-guest address of every declared link. The port starts at 8081 and moves up if it is taken. The link is plain HTTP inside the microVM; it is carried over the private mesh outside it.
  • No AWS_* or S3_* variables are set. Parse the access key, secret key, endpoint and bucket out of that one value.
  • Use path-style addressing (http://169.254.169.2:<port>/<bucket>/<key>). The bucket is read from the first path segment; virtual-host style does not work.
  • Sign with region us-east-1 and service s3. Any other region is refused with credential scope mismatch.

What the S3 endpoint does and does not support

FeatureBehaviour
Conditional writes (If-None-Match, If-Match, x-amz-copy-source-if-*) on PUT, POST, DELETERefused with 501 NotImplemented before anything is written. GET and HEAD ignore conditions.
User metadata (x-amz-meta-*)Not stored; silently dropped.
Checksumsx-amz-checksum-* is verified only as a trailer on streaming (STREAMING-*-TRAILER) uploads and echoed in the response; it is not stored. Content-MD5 is not checked.
Bucket policy, CORS, lifecycle subresourcesNot implemented. Do not rely on them.
Request durationEach connection is closed after 300 seconds. A single PUT that cannot finish in 300 s fails; use smaller objects or a faster link.
Object sizeNo separate per-object cap; the tenant quota applies. Keys are limited to 1024 bytes.

Encryption and multipart uploads

Objects are encrypted per object by default (enc=dek). The request header x-tabbify-enc: none stores an object without that layer; any value other than none or dek is refused with 400. A GET returns the stored label in x-tabbify-enc.

Multipart upload is refused by default. Without x-tabbify-enc: none on CreateMultipartUpload, the endpoint answers 501 with:

not implemented: multipart upload cannot honor enc=dek (multipart bodies are stored unencrypted in the MVP, which would void crypto-shred); use a single PUT or opt out explicitly with `x-tabbify-enc: none`

Choose one: upload with single PUTs (within the 300 s limit), or send x-tabbify-enc: none on the multipart upload and accept that those objects are stored without per-object encryption. A bucket pinned to encryption refuses multipart even with none.

Private and public instances

Each instance has a network access setting, private (default) or public:

  • private - reachable only over the private mesh, through bound apps. This is by design: a private instance has no internet endpoint.
  • public - additionally served at https://s3.public.store.tabbify.io (path-style). Requests to a private instance on that endpoint are refused with public ingress is disabled for this S3 instance.

Switch it in the console (Make public / Make private on the instance) or with PUT /v1/tenant/{kind}/{instance_id}/network-access.

Presigned URLs. The endpoint accepts presigned requests (expiry 1 second to 7 days), and the signature covers the host. A URL presigned against the address your app uses, 169.254.169.2:<port>, therefore works only inside that app's microVM and cannot be opened by a browser. A browser-reachable URL has to name the public endpoint of a public instance. Test that flow with your exact client before relying on it.

Data disks

An application can keep files on a persistent disk:

[runtime]
stateful     = true
data_disk_mb = 4096   # optional; default 2048
  • The disk is always mounted at /data inside the microVM.
  • It survives redeploys. On a redeploy of a stateful app the old microVM stops before the new one boots, so there is a short pause and never two writers on one disk.
  • The size is capped per host. Raising data_disk_mb grows the disk in place; lowering it does nothing. A stopped app can also be grown with the resize action.
  • When the app is deleted, its disk is retained for 7 days and then removed. Within that window data_disk_attach can move a retained disk onto a stopped or not-yet-created app in the same network on the same host (the target's previous disk is retained in turn, so a wrong attach can be undone). data_disk_delete removes a retained disk immediately and cannot be undone.
  • data_disk_backup and data_disk_restore run on demand as jobs; the guest is paused during the copy and the backup is crash-consistent. There are no scheduled disk backups.

Known issue: a disk backup can fail when the backup store answers with a temporary refusal; the platform does not retry it for you. Check the result of each data_disk_backup job and run it again if it failed. Because backups run only on demand, keep an application-level export of anything you cannot recreate.

Backup and restore

The current service does not offer complete HA, full DR, or universal PITR across these resource types. Some backup and restore paths exist and selected paths have been exercised, but that evidence must not be generalized to every resource, failure mode, or retention period.

Before production use, write down:

  • exactly what is backed up and by which mechanism;
  • how much recent data may be lost;
  • how long the applicable restore may take;
  • retention and deletion rules;
  • who can request and verify recovery;
  • the last successful exercise using this resource's actual path.

A restore exercise must validate application behaviour and data consistency, not only that an archive can be opened. If the required failure mode has no exercised recovery path, treat it as an accepted risk or keep the data elsewhere.

Production checklist

  • [ ] The resource is marked early access in the architecture decision.
  • [ ] The owner, environment, consuming applications, and exposure are recorded.
  • [ ] Application and migration credentials are separate.
  • [ ] Secrets are injected and rotation is documented.
  • [ ] Pools, timeouts, retries, TTLs, and object sizes are bounded.
  • [ ] Required client operations have been tested against the exact service.
  • [ ] Backup scope, tolerated loss, recovery time, and retention are written down.
  • [ ] The applicable restore path has been exercised, or the gap is explicitly accepted.
  • [ ] Deletion and offboarding behaviour are agreed.

For the surrounding human operating model, see Managed operations. For application reachability, see Private Mesh.