Skip to content

Latest commit

 

History

History
83 lines (64 loc) · 4.42 KB

aws_lambda.md

File metadata and controls

83 lines (64 loc) · 4.42 KB

Use this to record AWS lambda information

CLoud Developers and Architects

  • Create event-driven, serverless architecture

  • Create work-flow using Step functions

  • Serverless Framework

Lambda event source

  • IOT
  • API Gateway
  • Alexa
  • CloudFront
  • CloudWatch Events & Logs
  • DynameDB Streams & Kinesis Streams
  • S3 Buckets
  • SNS & SQS

price

How to download file from private S3

Authorization

Limit

  • AWS Lambda Limits
    • Invocation payload (request and response): 6 MB (synchronous) / 256 KB (asynchronous)

using AWS cli example

lambda timeout

跟 S3 meta-data 互動

s3.Object('bucket-name', 'uuid-key-name').put(Body='data',
                                              Metadata={'key-name':'value'})

Reference

lambda runtime

關於將 lambda 放在 production 的相關事項

如果強制將 lambda container 重啟

send alert to slack

AWS WAF support

AWS 提供的範例程式

Course

  • AWS Developers: Serverless Architecture and Monitoring - ongoin 2019-02-27
  • Deploying Serverless Applications in AWS Using the Serverless Application Model
  • AWS Developer: An Introduction to AWS Lambda on pluralight => done on 2019-02-26
  • AWS Developer: Lambda Deep Dive on pluralsight