← All projects

Cloud Backup & Media-Sharing Platform

Design delivered

AWS architecture · Client project · 2026

A client with a 30 TB on-premises server full of movies, music, photos, and private documents wanted two things: an automatic offsite backup, and a simple way to share parts of the library with family and friends without exposing the rest. I designed the end-to-end AWS architecture, modeled what it would cost to run, and built a UI prototype. The final build is pending client sign-off.

Type
Client project
Services
S3 · Cognito · IAM · CloudFront · Glacier · Lambda · API Gateway · CloudWatch
Delivered
Architecture diagram, cost model, UI prototype
Pending
Final build, awaiting client sign-off

The problem

What the client asked for:

The constraints that shaped the design: the on-premises server could not accept inbound connections, the people using the system are not technical, and ongoing cost had to stay at household scale.

Architecture

Data flows top to bottom, and each layer has one job.

  1. On-premises · 30 TB server

    All inbound ports closed. The sync agent only ever talks outward.

    • Media libraryMovies and music. Selected folders only.
    • PhotosFamily photo library with its own permissions.
    • Private dataPersonal and business documents. Backup only, no web access.
    • Sync agentAWS DataSync or rclone. Watches folders, pushes over outbound HTTPS.
  2. S3 object storage · us-west-2

    Encrypted at rest (SSE-S3), multi-AZ redundancy built in, no hardware to manage.

    • Media bucketCredentialed access only. Lifecycle to Glacier Instant Retrieval after 90 days.
    • Photos bucketSeparate permission scope. Same lifecycle policy.
    • Private bucketNo public endpoint, ever. Versioning on, managed by AWS Backup.
  3. Access control & delivery

    Who can see what, and how content reaches a device.

    • Amazon CognitoUser accounts with three tiers: owner, family, media guest. Revoking access means disabling one account.
    • IAM rolesLeast-privilege, per-bucket permissions for each tier.
    • CloudFront CDNEdge caching for fast streaming. The private bucket has no distribution.
  4. Web interface & API

    Works on any phone or computer over HTTPS on a custom domain.

    • Static website (S3)Owner, family, and guest views, plus a sync-health dashboard.
    • API Gateway + LambdaGenerates a time-limited pre-signed link per request, so buckets stay private.
    • Route 53 + ACMCustom domain and a free TLS certificate. HTTP redirects to HTTPS.
  5. Monitoring & backup

    Automatic alerts if something breaks, and point-in-time recovery for private files.

    • CloudWatchAlarms on sync failures and unusual data egress.
    • SNSPlain-language email alerts when an alarm fires.
    • AWS BackupDaily backup of private documents with a 30-day restore history.
  6. End users · browser & mobile

    HTTPS only, Cognito login required, and each role sees only what it is permitted to see.

    • OwnerAll three buckets, an admin panel, and user management.
    • FamilyMovies, music, and photos. No access to private documents.
    • Media guestsMovies and music only. Credentialed per person, removable at any time.

Key decisions

Cost model

I modeled three usage scenarios against us-west-2 list pricing as of October 2026: light (about 3 TB synced), moderate (about 8 TB), and heavy (about 15 TB), each paired with a matching amount of streaming. These are steady-state monthly estimates:

Monthly estimate Light~3 TB Moderate~8 TB Heavy~15 TB
S3 storage (Standard + archive tier)$21$48$76
CloudFront streaming beyond the free 1 TB$0$9$35
Archive retrieval (Glacier Instant Retrieval)$13$30$41
Everything else (DNS, private-file backup, requests)$3$6$8
Total per month≈ $37≈ $93≈ $160

What the numbers showed:

Assumptions

  • The library is mostly older content: 85%, 90%, and 95% of stored data has aged into the archive tier.
  • Streaming delivers about 0.5, 1.1, and 1.4 TB a month, drawn from the library in proportion to its makeup.
  • Unit prices: S3 Standard $0.023/GB-month; Glacier Instant Retrieval $0.004/GB-month plus $0.03 per GB retrieved; CloudFront $0.085/GB after the free 1 TB.
  • “Everything else” is a Route 53 hosted zone ($0.50), AWS Backup for 30, 60, and 100 GB of private documents ($0.05/GB-month), and S3 request fees.
  • Not included: the first ~90 days, before the lifecycle rule starts archiving, when storage runs higher (roughly $70, $190, and $350 a month while everything sits in Standard), and one-time costs for the initial upload and archive transitions.

What I'd revisit

Archive retrieval is the line to change. An age-based lifecycle rule archives files whether or not anyone is still watching them, and every stream from the archive tier incurs a retrieval fee. If I rebuilt this, I'd evaluate S3 Intelligent-Tiering, which moves content back to the standard tier when it's accessed and charges no retrieval fees.

These are estimates based on list pricing at the time, and AWS prices change.

Status

Delivered: the architecture diagram, the cost analysis, and a UI prototype. Pending: the final build, awaiting client sign-off.