Interview Prep/AWS/ECS, EKS, Lambda and ECR

Lambda deployments should shift traffic gradually. What do you use?

IntermediateScenarioECS, EKS, Lambda and ECR
Answer

Situation read → Aliases with weighted routing or CodeDeploy.

What I'd do →

  1. Publish a version: aws lambda publish-version --function-name f
  2. Alias live weights 90/10
  3. Or SAM DeploymentPreference: Canary10Percent5Minutes with alarms
  4. Roll back by shifting alias

Why → Aliases decouple callers from versions.

Interview tip → Always call via alias.

aws All AWS questions Roadmap: EKS, ECS & serverless on AWS

More on ECS, EKS, Lambda and ECR