Skip to content

Feature Request: Codedeploy does not support ECS "Rolling Update" deployment strategy #304

@sushantmagoo

Description

@sushantmagoo

What I was trying:

I created an ECS cluster, for service I chose, "EC2-type" launch type with "Rolling Update" deployment strategy. I was able to create a Codebuild application successfully for the same. While creating the Codedeploy app I got this error, "Deployment group's ECS service must be configured for a CODE_DEPLOY deployment control. I intend to use Codepipeline with Codebuild project as the build step and Codedeploy project as the deployment step.

What I don't want to try:

I am aware that I can use "Codepipeline with Codebuild as the build step and ECS as the deployment step". This is suggested as per AWS documentation for Rolling Update. Please read below for "why I don't want to use this".

Steps I followed:

  1. I created an ECS cluster, for service I chose EC2-type launch type with Rolling Update deployment strategy.
  2. For CI/CD I created a project in Codebuild to build docker images and push them to ECR
  3. But while creating Codedeploy application I got this error, "Deployment group's ECS service must be configured for a CODE_DEPLOY deployment controller."
  4. Once these both are created then, will create Codepipeline project using both of them for the build and deploy step.

What I want to achieve:

I want to use Codepipeline with Codebuild project as the build step and Codedeploy project as the deployment step, similar to the Blue-Green deployment strategy.

My end goal:

Once I am able to use Codepipeline with Codebuild as the build step and Codedeploy as the deployment step. I will then replace Codepipeline with Jenkins and will use Codebuild and Codedeploy plugins for Jenkins. I use Jenkins for all of my projects, so I want to avoid anything else.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions