S3 Exports Lifecycle

Back to Documentation

S3 lifecycle for exported ZIPs

Overview - Exported ZIP files are uploaded under the following prefixes: - exports/projects//... - exports/batches//... - Downloads now use presigned S3 URLs directly, and the application no longer proxies or deletes on download.

Recommended lifecycle policy - Configure an S3 Lifecycle rule to automatically expire these exported objects after a short retention period.

Example rule (S3 console) - Create rule: "Expire PhotoTager exports" - Filter by prefix: exports/ - Actions: - Expiration: Expire current object versions after 3 days (choose a retention appropriate for your users). - Versioning: If your bucket uses versioning, you can also add expiration for previous versions.

Notes - Buckets remain private; presigned URLs grant temporary access and expire automatically. - If you need different retention per project/batch later, you can tag objects at upload and target lifecycle rules by tag instead of prefix.