CodeDeploy deployment types

  • CodeDeploy is a deployment service that automates application deployments to EC2 instances, on-premises instances, serverless Lambda functions, or ECS services.

  • You can deploy a nearly unlimited variety of application content, including:

    • Code

    • Serverless AWS Lambda functions

    • Web and configuration files

    • Executables

    • Packages

    • Scripts

    • Multimedia files

CodeDeploy compute platforms

  • EC2/On-Premises:

    • Describes instances of physical servers that can be EC2 cloud instances, on-premises servers, or both.

    • Applications can be composed of executable files, configuration files, images, and more.

  • Lambda:

    • Used to deploy applications that consist of an updated version of a Lambda function.

    • It manages the Lambda function in a serverless compute environment made up of a high-availability compute structure.

  • ECS:

    • Used to deploy an ECS containerized application as a task set.

Blue/Green deployment on an AWS Lambda compute platform

  • You must choose one of the following deployment configuration types to specify how traffic is shifted from the original AWS Lambda function version to the new AWS Lambda function version:

    • Canary (Shifted in two increments):

      • Specify:

        • Percentage of traffic shifted in the first increment.

        • Interval before the remaining traffic is shifted in the second increment.

    • Linear (Shifted in equal increments with an equal number of minutes between each increment):

      • Specify:

        • Percentage of traffic shifted in each increment.

        • Number of minutes between each increment.

    • All-at-once (Shifted all at once)

Last updated

Was this helpful?