The three AWS services that we just learned about will make up our serverless app for photo processing. To recap, the three AWS services are:
- Amazon S3
- Amazon SNS
- AWS Lambda functions
The reference architecture for the photo processing application is shown next. Let me break down what is going on here:
- The user uploads a photo to an S3 bucket
- The upload of the photo to the S3 bucket could happen in multiple ways:
- AWS S3 Console
- Application that acts as a layer in front of S3
- AWS CLI
- However, the files get uploaded to the S3 bucket, due to the configuration that we have on the S3 bucket, and a notification is sent to Amazon SNS as soon as a file gets created in the S3 bucket
- The notification is sent to an SNS topic that has three subscribers:
- A Lambda function that creates thumbnails for the photo that was uploaded
- A Lambda function that creates...