Skip to content
GigadriveDocs

File storage

Object storage for files that outlive a deployment, scoped to one environment and served over the CDN.

File storage is object storage for files that have to survive the next deployment: user uploads, generated invoices, exports. Objects live in a bucket, and every bucket belongs to exactly one environment of one Gigadrive Network application.

EnvironmentBucketpublic or privateBucketanother oneObjectsAccess URLsigned, or publicTrashrestore or purgeBackupson a schedule
Objects live in a bucket, and a bucket belongs to one environment. Deleting an object moves it to trash first.

Environment scoping

Because the environment owns the bucket, production and a preview environment never share one. A preview deployment writes to its own copy, so a test upload cannot land next to real customer files. Deployment credentials carry their environment with them, which is why code running on Network can upload without naming an environment at all.

Buckets are private by default. A private object is reachable only through a signed URL that expires; a public bucket serves every object from a stable CDN hostname. Deleting an object is reversible for 30 days.