🔄
CI/CD Pipeline
CodeCommit → CodeBuild → CodePipeline → CodeDeploy to ECS.
What you can build with this
Automate your deployment workflow. Push code to your repository and the pipeline automatically compiles it, runs tests, builds a Docker image, and deploys it to your ECS service — without any manual steps. Supports blue/green deployments for zero-downtime releases.
Deployment timing
After you run the deploy command, resources come online at different times. Check the validation steps in order.
| Resource | Ready in |
|---|---|
| Pipeline infrastructure | 2–3 min (stack deploy) |
| Source stage (git push detected) | Within 30 seconds of push |
| Build stage (CodeBuild) | 3–8 min depending on image size |
| Deploy stage (ECS update) | 3–5 min after build |
| ECS rolling replacement complete | 2–4 min after deploy starts |
CloudFormation parameters
These are the values you will fill in when deploying the exported template. Changing these does not break the template — that is the point.
| Parameter | What to provide | Example |
|---|---|---|
| RepoName | CodeCommit repository name to create | my-app-repo |
| PipelineName | Name for the CodePipeline | my-app-pipeline |
| EcsCluster | Name of your existing ECS cluster | my-cluster |
| EcsService | Name of your existing ECS service | my-service |