View Code? Open in Web Editor
NEW
Building serverless cat detector with use of AWS. Why? Because cats are everywhere and you need a tool for detecting them! :cat::wink::cat:
Home Page: https://appliscale.io
License: Other
JavaScript 81.68%
Makefile 0.70%
Shell 1.75%
HTML 6.93%
CSS 8.95%
serverless-cat-detector's People
Stargazers
serverless-cat-detector's Issues
We need a static, purely client-side web app which will be able to:
Upload files to the proper S3 bucket (via API Gateway and Lambda).
Review list of uploaded files together with the results of the classification.
Very simple UI - don't need for anything fancy (vanilla JS and some CSS should be enough).
Task includes markup, styles and JS implementation - remember to prepare a template, that many users can reuse later on.
We need an AWS Lambda implementation that will:
Handle file upload,
Save meta-data inside DynamoDB table,
Trigger further processing.
Ideally there should be no need to use SNS (as S3 may notify another Lambda), but let's validate that.
The same goes for AWS API Gateway configuration.
Preparing 25 user accounts pre-populated with passwords that can coexist in one AWS account.
Remember about naming (common prefix and user number).
What we need for each user:
IAM user account with proper IAM role (access only to the resources for a given user).
Permissions:
CloudWatch - logs and metrics.
X-Ray .
DynamoDB .
S3 .
Lambda .
SNS (if needed).
S3 bucket for website.
S3 bucket for code (do we need that?).
DynamoDB table.
Main purpose of that workshop would be to show to use and leverage Serverless in AWS context and environment, but we should also showcase and prepare implementation that is not AWS specific, that will leverage Serverless Framework .
Prepare a list of possible questions and issues that may happen - with answers. ๐
Prepare an IAM user account that will be used by trainers and IAM role that will allow using everything created with other scripts for our participants.
We need some slides and screenshots that will explain how to leverage CloudWatch logs and metrics when using AWS Lambda .
Our cheat-sheet how to configure and roll whole workshop, step by step.
We need to prepare a screenplay including screenshots - list of slides that will be used to explain and show how to configure services altogether.
We need a CloudFormation script that can configure whole environment for a user given as a stack parameter. With an assumption that dependent resources are created already by a different script.
All the refactorings and improvements.
We need an AWS Lambda implementation which will list all images (pending and processed ones) together with their state and metadata.
The same goes for AWS API Gateway configuration.
We need to prepare example that will show and explain how to use AWS X-Ray in such environment.
We need an AWS Lambda implementation that will:
Handle previously uploaded file,
It will invoke AWS Rekognition service,
Results will be saved in the corresponding DynamoDB record.
The same goes for AWS API Gateway configuration.