1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
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
Contenus pertinents
- demandé il y a un an
- demandé il y a un an
- demandé il y a 5 mois
- AWS OFFICIELA mis à jour il y a 10 mois
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a 3 mois