Skip to content

Latest commit

 

History

History
40 lines (25 loc) · 1.59 KB

Reading-4-18.md

File metadata and controls

40 lines (25 loc) · 1.59 KB

AWS: API, Dynamo and Lambda

  1. Amazon API Gateway is a managed service that allows developers to define the HTTP endpoints of a REST API or a WebSocket API and connect those endpoints with the corresponding backend business logic. It also handles authentication, access control, monitoring, and tracing of API requests.

  2. It ties together all of the Amazon's serverless products.

  3. It can invoke a lambda function, make another http call, return a mock response.

  1. Good performance and cost effectiveness at scale, easy monitering, security controls

  2. RESTful APIs and WebSocket APIs

  1. DynamoDB is a NoSQL database hosted by AWS

  2. It is ideal for serverless applications by integrating into the AWS ecosystem.

  1. DynamoDB is a document-based database, storing data in key-value pairs.
  1. Dynamoose is a modeling tool for DynamoDB, the equivalent of Mongoose for MongoDB.

    • Type safety
    • High level API
    • Easy to use syntax
    • DynamoDB Single Table Design Support
    • Ability to transform data before saving or retrieving items
    • Strict data modeling (validation, required attributes, and more)
    • Support for DynamoDB Transactions
    • Powerful Conditional/Filtering Support
    • Callback & Promise support
    • AWS Multi-region support