Tutorial developed for FEUP students at "Semana de Informática" conference on the 1st of November 2018 by Pedro Costa.
Architecture
-
Two S3 (Simple Storage Service) Buckets
-
- Storing the static website
-
- Storing the MP3 files
-
Gateway - Connects the HTTP Requests to lambda functions
-
DynamoDB - No-SQL database for storing the notes
-
Polly - Amazon service to turn text to voice
-
Lambda functions
-
- GetPosts - Searchs the DB for the posts
-
- NewPost - Adds new post to DB and creates notification for turning that text into voice
-
- ConvertToAudio - Retrieves text from DB, converts it to audio, storages the file on S3 and updates DB post record
-
SNS (Simple Notification System) - Decouples the architecture, separating the new post function from the convert to audio