Skill 3.3.6

Implement deployment strategies for application releases (for example, blue/green, canary, rolling).

Key Concepts

In CodeDeploy you pick a deployment configuration, such as CodeDeployDefault.LambdaCanary10Percent5Minutes, LambdaLinear10PercentEvery1Minute or ECSAllAtOnce, or for EC2 OneAtATime, HalfAtATime and AllAtOnce; you can also create custom configurations. In AWS SAM, the function's DeploymentPreference sets the type, alarms and pre- and post-traffic hook functions.

In Elastic Beanstalk you set the deployment policy and batch size in the environment configuration. ECS services support rolling updates controlled by minimumHealthyPercent and maximumPercent, or blue/green through CodeDeploy.