Storage
Amazon S3
Object storage built to retrieve any amount of data from anywhere.
Official docsOverview
Simple Storage Service (S3) stores objects (files + metadata) inside buckets with 11 nines of durability. It supports versioning, lifecycle policies, encryption, static website hosting and event notifications.
When to use it
- Storing static assets, backups, data lake files
- Hosting static websites and SPA builds
- Persisting test artifacts: logs, screenshots, videos, reports
- Data lake landing zone for analytics
Setup
- Console → S3 → Create bucket. Pick a globally unique name and region.
- Decide Block Public Access (keep ON unless serving public web content).
- Enable Versioning and Default Encryption (SSE-S3 or SSE-KMS).
- Set up Lifecycle rules (e.g. move to Glacier after 90 days).
- Attach a Bucket Policy or use IAM for access.
How to use
Upload a file
aws s3 cp report.html s3://my-bucket/qa/reports/Sync a folder
aws s3 sync ./screenshots s3://my-bucket/qa/screenshots/Generate a presigned URL
aws s3 presign s3://my-bucket/qa/reports/index.html --expires-in 3600QA use cases
- Publish HTML test reports (Allure, Playwright) to a private bucket and share via presigned URLs.
- Store baseline images for visual regression testing.
- Trigger a Lambda via S3 event when a new build artifact lands to kick off automated tests.
