zoukankan      html  css  js  c++  java
  • [SAA + SAP] 08. API Gateway

    SAA

    API Gateway

    Security

    • IAM Permission
      • For user has aws account
      • Authentication + authorization
      • Sigure v4
    • Lambda Authorizer
      • 3rd party tokens
      • Authentication + authorization
      • Very flexible in terms of what IAM policy is returned
      • Pay per Lambda invocation
    • Cognio Uesr Pools
      • Google, facebook.. signup / login
      • Only authencation


    SAP

    API Gateway

    Limits

    • 29 seconds timeout
    • 10MB max payload size

    Integrations

    • HTTP
    • Lambda 
    • AWS Service
      • For example, start an AWS Step Function workflow post a message to SQS
      • You can control the Authentication, deploy publicly, rate control

    • API Gateway has limit about 10 MB max payload size, so it won't be a good solution to upload a object to S3 if size is bigger than the limit.
    • Better to use Pre-Signed URL + Lambda to upload a file

    • Lambda has 15 mins timeout
    • API Gateway has 29 seconds timeout
  • 相关阅读:
    Zookeeper java API
    Zookeeper 安装与配置
    Zookeeper 架构
    HBase 优化
    HBase 与 MapReduce 整合
    Hbase protobuf Java API
    HBase数据库设计
    Fork/Join并发处理框架
    并发容器Map
    Redis缓存穿透、缓存击穿和雪崩
  • 原文地址:https://www.cnblogs.com/Answer1215/p/15055622.html
Copyright © 2011-2022 走看看