Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

canary deployment on aws lambda

Pragya Keshap answered on February 23, 2023 Popularity 7/10 Helpfulness 1/10

Contents


More Related Answers

  • canary deployment
  • how we deploy to aws lambda
  • What Is Canary Deployment?
  • invoke lambda after cdk deploy
  • What can one build with AWS Lambda?
  • What is a canary deployment?
  • deploy aws lambda using sam
  • Have deployed containers, lambdas?
  • Have deployed containers, lambdas?
  • What are the features in AWS lambda that automates the deployment?
  • AWS Serverless Deployments IaC with AWS CDK
  • Downsides of Canary Deployments

  • canary deployment on aws lambda

    0

    # Update $LATEST version of function

    aws lambda update-function-code --function-name myfunction ….

    # Publish new version of function

    aws lambda publish-version --function-name myfunction

    # Point alias to new version, weighted at 5% (original version at 95% of traffic)

    aws lambda update-alias --function-name myfunction --name myalias --routing-config '{"AdditionalVersionWeights" : {"2" : 0.05} }'

    # Verify that the new version is healthy

    # Set the primary version on the alias to the new version and reset the additional versions (100% weighted)

    aws lambda update-alias --function-name myfunction --name myalias --function-version 2 --routing-config '{}' 


    Popularity 7/10 Helpfulness 1/10 Language whatever
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on Feb 23 2023
    Pragya Keshap
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.