S3 Integration — Implementation Summary
Actionable notes for engineers and operators implementing S3-backed storage.
Key components
- InternalAwsS3IntegrationInitializer — config & boot
- AwsS3IntegrationUtil — helpers for buckets, regions, roles
- S3StorageDriver — low-level implementation
- FileUploadService — presigned multipart orchestrator
- FileController — REST endpoints for init/upload/complete
Flow
- Initialize internal account and bucket
- Initiate multipart session → return presigned URLs
- Upload parts directly to S3
- Complete the upload via API (ETags confirmation)
Common issues
- 403: permissions / role/bucket policy
- Clock skew: presigned URL validations fail
- Multipart errors: mismatch ETags or missing parts
See also: S3 AWS Integration Quick Ref