1 個回答
- 最新
- 最多得票
- 最多評論
0
Hi,
given you have both API and lambda in same account you could use Lambda aliases (https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html).
You can :
- create two aliases for your lambda, DevAlias and StageAlias
- Associate same or different Lambda version to them
- Associate the lambda aliases as lambda integrations with the API Gateway.
I would look into Code Deploy abilities to perform Canary deployment for Lambda aliases. Some references:
- https://effectiveserverless.com/lambda-codedeploy-canary
- https://towardsaws.com/lambda-canary-based-deployment-using-codepipeline-codedeploy-and-sam-3226c7514b59?gi=642939ec36cb
Hope it helps
相關內容
- AWS 官方已更新 2 年前
- AWS 官方已更新 2 年前