22
loading...
This website collects cookies to deliver better user experience
1.Create two different versions of lambda functions
2.Create Alias with routing config and
additional weights to route the traffic
1.Create 2 different function versions and aliases
lamda-function:stage ,lamda-function:prod
2. Create dynamic resources in AWS API gateway
(API – Call lambda with aliases)
Integration Request Lambda function name:
lambda-function:${stageVariables.env}
3. Create deployment stages and variables in
API gateway - Prod deployment Stage ,
Staging deployment stage
1.Use SAM based deployment.
2.Include code deploy and lambda weighted Alias.
3.Pre and post traffic lambda functions to include
test scenarios.
4.Cloud watch to monitor the health and to rollback
deployment based on the lambda execution error alerts
1.Create baseline deployment with two stage
variables [Prod ,Stage].
2.Create canary deployment on the prod stage to
create API test version including traffic
split between prod and test API version.
3.Promote the Canary to reset the canary
percentage to Zero.
22