AWS
Authentication and Authorization
- https://www.sandersdenardi.com/aws-lambda-api-auth/ Create 3 separate api: login, logout, get with 3 Lambda functions, login will call to another authentication resource: YAML, Cognito, etc
- https://aws.amazon.com/blogs/compute/introducing-custom-authorizers-in-amazon-api-gateway/ Custom Authorizer API Gateway
- https://github.com/danilop/LambdAuth Lambda function for cognito
- https://www.concurrencylabs.com/blog/configure-your-lambda-function-like-a-champ-sail-smoothly/ Config lambda function with environment tag
- AWS re:Invent Serverless Authentication and Authorization
Lambda CI-CD
- Continuous Deployment of AWS Lambda behind API Gateway
- Continuous Deployment on AWS Lambda
- Lambda automating deployment
- CI/CD tag in AWS Blog
- Continuous Integration/Deployment for AWS Lambda functions with Jenkins and Grunt – Part 1
- Continuous Integration/Deployment for AWS Lambda functions with Jenkins and Grunt – Part 2
Lambda implementation
- AWS Lambda@Edge Lambda@Edge lets you run Lambda functions at AWS Regions and Amazon CloudFront edge locations in response to CloudFront events, without provisioning or managing servers.
Node.js tips
Lambda limitation investigation
- http://docs.aws.amazon.com/general/latest/gr/api-retries.html
- https://dzone.com/articles/the-rise-of-lambda
- https://www.stratoscale.com/blog/cloud/aws-lambda-features-limitations-practical-examples/
- https://aws.amazon.com/blogs/compute/category/aws-lambda/
- https://aws.amazon.com/blogs/aws/run-code-cloud/
- http://docs.aws.amazon.com/lambda/latest/dg/retries-on-errors.html
- http://docs.aws.amazon.com/lambda/latest/dg/use-cases.html
Serving private content through CloudFront
- To serve private content through CloudFront we use Origin Access Identity, signed URLs or signed cookies
- Setup serving private content througt CloudFront
- http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-restricting-access-to-s3.html
- How to use signed cookies
- How to use singed URLs
Browser-base Upload using HTTP Post
- To upload file to S3 we can upload directly to S3 instead of using webserver, when use this method Web Client must have S3 Signature
- How to implement browser-base upload