The challenge
Deliver a fast media browsing experience with a small operational footprint. Photo browsing and routine site updates have different delivery needs. Independent cache lifetimes let the design handle each predictably.
Engineering approach
Static assets on private S3, served by CloudFront with Origin Access Control and HTTPS.
- Export the site as files and serve them from private S3 behind CloudFront Origin Access Control.
- Record object content types and separate caching for images and site files to fit their update patterns.
- Describe deployment in Terraform so infrastructure changes can be reviewed and repeated.
Results and lessons
A reusable static hosting pattern for public galleries and service websites.
Separate caching behavior for media and site assets; manage deployment in Terraform. Static delivery minimizes the infrastructure needed for a public gallery.
