Code Deploy automates deployments of an application to cloud (EC, Lambda), or on-premise environments.
- Minimize downtime, stop and rollback, centralized control
With the rolling deployment, CodeDeploy eliminates the downtime of your application during the deployment.
- Existing servers are updated with a new version of applications
Blue/Green deployment (EC2)
- Traffic is shifted from old instances to new ones
- Traffic is shifted from one Lambda to another
- Traffic is shifted in two increments.
- The first increment of traffic is shifted to a new version, wait for a specific time, and shift the second increment.
- Traffic is shifted in equal increments (predetermined percentage) with a specified interval
- All at once
- All traffic is shifted immediately
Code Deploy AppSec file
- source, destination, what to install
- BeforeInstall, AfterInstall, ApplicationStart, ApplicationStop, ValidateService …