Continuous delivery
What is AWS CodeDeploy? An introduction to Amazon Web Services' continuous delivery service
AWS CodeDeploy is a service from Amazon Web Services that automates application deployments to EC2, Fargate, Lambda and on-premises instances. It supports in-place, canary and blue/green deployment types. It is platform and language agnostic and reuses existing setup code.
- Tool
- AWS CodeDeploy
- Made by
- Amazon Web Services
- Official site
- aws.amazon.com/codedeploy
- Category
- Continuous delivery
Who makes AWS CodeDeploy
AWS CodeDeploy is made by Amazon Web Services. The official website is linked below.
Official website: aws.amazon.com/codedeploy
What AWS CodeDeploy is for
CodeDeploy automates the process of releasing application revisions to running compute. It deploys to multiple compute services, including on-premises instances, so one service can cover several kinds of target.
It also manages how a release proceeds and what happens when it goes wrong. Rolling updates take only a fraction of EC2 instances offline at a time, and deployments are stopped automatically if too many updates fail. Rollback is done by redeploying the previous revision.
Who AWS CodeDeploy is for
The vendor does not state a target audience. The facts point to teams that deploy to EC2, Fargate, Lambda or their own data centers, and to teams that want a consistent deployment process across those targets.
Because it can deploy to instances in your own data centers, it also suits hybrid architectures.
Notable capabilities
CodeDeploy focuses on controlled, repeatable releases. The capabilities below cover deployment types, safety controls, configuration and visibility.
- In-place, canary and blue/green deployment types are supported, with blue/green available for EC2, ECS and Lambda.
- Rolling updates take only a fraction of EC2 instances offline at a time, and deployments stop automatically if too many updates fail.
- Alarms can trigger rollbacks and stop deployments in progress, and rollback is done by redeploying the previous revision.
- A single AppSpec file defines actions and tests at each lifecycle event, and existing setup code is reused.
- Integration with EC2 Auto Scaling deploys to new instances before they join a load balancer.
- Deployment groups match configurations to environments such as staging or production.
- Deployments can be controlled through the console, CLI, SDKs or APIs.
- Status notifications can be sent by SMS or email via Amazon SNS, and deployment history is tracked and stored for investigation.
How AWS CodeDeploy fits continuous delivery
Continuous delivery is the practice of keeping software ready to release and moving it through environments in a repeatable way. CodeDeploy handles the deployment step, with controls for rollout speed, failure handling and rollback.
Within the wider set of CI/CD and deployment platforms, it is a deployment-stage service rather than a build tool. CodePipeline and AWS partners provide prebuilt CodeDeploy integrations for CI/CD, so it can receive artifacts produced by an earlier build stage and release them to the target environment.
Frequently asked questions
What is AWS CodeDeploy used for?
AWS CodeDeploy automates application deployments to EC2, Fargate, Lambda and on-premises instances. It supports in-place, canary and blue/green deployment types.
Who develops AWS CodeDeploy?
AWS CodeDeploy is developed by Amazon Web Services. Its official website is https://aws.amazon.com/codedeploy/.
Does AWS CodeDeploy support blue/green deployments?
Yes. Blue/green deployments are supported for EC2, ECS and Lambda.
Can AWS CodeDeploy deploy to on-premises servers?
Yes. It can deploy to instances in your own data centers, which enables hybrid architectures.
How does AWS CodeDeploy handle failed deployments?
Deployments are stopped automatically if too many updates fail, and alarms can trigger rollbacks or stop deployments in progress. Rollback is done by redeploying the previous revision.
Deployelm is independent and is not affiliated with Amazon Web Services. Product names belong to their owners. Features change; confirm details on the official website.