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公式更新しました 1年前