AWS

Give an example of architecture or workflow that involves SQS and EC2 & S3

Difficulty: unrated

Source: bregman-arie/devops-exercises by Arie Bregman

Answer

A website that allows users to upload videos and adds subtitles to them:

  1. First the user uploads the video through the web interface which uploads it to an S3 bucket
  2. SQS gets notified with a message on the video location
  3. EC2 instance (or Lambda function) starts to work on adding the subtitles
  4. The video with the subtitles is uploaded to an S3 buckets
  5. SQS gets notified of the result and specifically the video location