Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Hate organising your photos? Try it with 5 Terabytes

Hate organising your photos? Try it with 5 Terabytes

My partner is a freelancer photographer. During the years she’ve gathered a ~5 terabyte collection of photos from over hundred different occasions. All the photos have to be backed up in two physical locations and organised for browsing. This talk is about how I solved this for her in serverless way

My partner is a freelancer photographer. During the years she has gathered a ~5 terabyte collection of photos from over hundred different occasions. All the photos have to be backed up in at least two physical locations and organised for browsing. This talk is about how I built the solution for her in serverless way, costing less than 10€ per month. We’ll walk through my solution starting from local network & Raspberry Pi to AWS S3 & Rekognition.

FrontConf

March 21, 2020
Tweet

More Decks by FrontConf

Other Decks in Technology

Transcript

  1. ARTO LIUKKONEN Full-stack developer Serverless (AWS) for ~4 years Live

    in Jyväskylä, Finland Work at Nordcloud (recruiting in 10 countries) “
  2. AWS S3 Glacier Deep Archive + Cheap + Unlimited storage

    - Retrieval price 0.02€/Gb - Retrieval time +12 hours “
  3. Magic Copy files to home NAS CLOUD BACKUP 2.0 Raw

    files in S3 Magic Photo browser ✅
  4. Upload RAW to S3 EXTRACTING JPG FROM RAW Extract PreviewImage

    with exiftool Copy EXIF with exiftool Resize to 2000px with ImageMagick
  5. Raspberry Pi resize & sync Raw files in S3 Copy

    files to home NAS CLOUD BACKUP 2.0 Magic Photo browser ✅✅
  6. AWS Rekognition • Face recognition ◦ Find same person from

    different photoshoots • Object & scene recognition ◦ Browse photos by occasion ◦ Weddings, cooking, animals, etc “
  7. 1$/1000 images ...quite a lot, but luckily only once AWS

    REKOGNITION (free tier 5000 per month)
  8. Copy files to home NAS SO HOW DOES THE SOLUTION

    LOOK? Raspberry Pi resize & sync AWS Rekognition AWS Lambda AWS DynamoDB Photo browser
  9. 5Tb of raws: 5$/month Rekognition: 0-5$/month 2000px previews: 1$/month DynamoDB,

    traffic, Lambda: ~0.5$/month Time spent: priceless TOTAL COST