[AWS] AWS CodeDeploy

Code Deploy automates deployments of an application to EC, Lambda, or on-premise environments.

AWS CodeDeploy

  • Minimize downtime, stop and rollback, centralized control

Deployment Types

  • In-place deployment: existing servers are updated with a new version of applications
  • Blue/Green deployment (EC2): Traffic is shifted from old instances to new ones
  • Blue/Green deployment (Lambda): Traffic is shifted from one Lambda to another
    • Canary: a percentage of traffic is shifted to a new version, wait for a specific time and shift others
    • Linear: traffic is shifted in equal increments with a specified interval
    • All at once: all traffic is shifted immediately

Code Deploy AppSec file

  • source, destination, what to install

Lifecycle Hooks

  • BeforeInstall, AfterInstall, ApplicationStart, ApplicationStop, ValidateService …

Leave a Comment

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s