1、 2025,Amazon Web Services,Inc.or its affiliates.All rights reserved.2025,Amazon Web Services,Inc.or its affiliates.All rights reserved.C N S 3 7 2-RServerless patterns for large-scale applications with AWS LambdaLefteris KarageorgiouSenior Solutions ArchitectAWSMichelle ChismonSenior Solutions Archi
2、tectAWS 2025,Amazon Web Services,Inc.or its affiliates.All rights reserved.Single-purpose Lambda functionsSubmitOrderSearchProductsGetProductDetailsAddCartRemoveCartPOST/ordersGET/products/searchGET/products/idPOST/cartDELETE/cartProductsOrdersInventoryPaymentsReserveInventoryProcessPaymentFulfillOr
3、derAmazon DynamoDBAmazon API Gateway 2025,Amazon Web Services,Inc.or its affiliates.All rights reserved.Multi-purpose Lambda functionsOrderServiceSubmitOrderProductServiceSearchProductsGetProductDetailsCartServiceAddCartRemoveCartPOST/ordersGET/products/searchGET/products/idPOST/cartDELETE/cartProdu
4、ctsOrdersInventoryPaymentsInventoryServiceReserveInventoryPaymentServiceProcessPaymentOrderServiceFulfillOrderAmazon DynamoDBAmazon API Gateway 2025,Amazon Web Services,Inc.or its affiliates.All rights reserved.Multi-environment setup Strategy#1SAME ACCOUNT-COMPLETE ISOLATIONProductServiceDevProduct
5、s-DevProducts-StageProducts-ProdAmazon API GatewayDevAmazon API GatewayStageAmazon API GatewayProdProductServiceStageProductServiceProd 2025,Amazon Web Services,Inc.or its affiliates.All rights reserved.Multi-environment setup Strategy#2DIFFERENT ACCOUNTSProductServiceProductProductsProductsAmazon A
6、PI GatewayAmazon API GatewayAmazon API GatewayProductServiceProductServiceDevStageProd 2025,Amazon Web Services,Inc.or its affiliates.All rights reserved.2025,Amazon Web Services,Inc.or its affiliates.All rights reserved.API202:How Event Driven Architectures G