Amazon CodeDeploy logo

Amazon CodeDeploy

AWS CodeDeploy is a fully managed deployment service that automates software deployments to various compute services such as Amazon EC2, AWS Fargate, AWS Lambda, and on-premises servers. CodeDeploy makes it easier to rapidly release new features, helps avoid downtime during application deployment, and handles the complexity of updating your applications with in-place, blue/green, and canary deployment strategies.

1 APIs 1 Capabilities 7 Features
AmazonAWSDeploymentDevOpsCI/CDRelease ManagementBlue/Green Deployment

APIs

Amazon CodeDeploy API

The Amazon CodeDeploy REST API enables programmatic management of applications, deployment groups, deployment configurations, and deployments. Create and update deployment group...

Capabilities

Amazon CodeDeploy Deployment Automation

Unified workflow for DevOps teams to create deployment groups, deploy revisions to EC2, Lambda, and ECS targets, and monitor deployment status.

Run with Naftiko

Features

Multiple Deployment Strategies

Support for in-place, blue/green, and canary deployment strategies across EC2, Lambda, ECS, and on-premises targets to minimize downtime and risk.

Automated Rollbacks

Automatically roll back deployments if a specified number of instances fail health checks or if CloudWatch alarms are triggered during deployment.

Deployment Lifecycle Hooks

Define custom lifecycle event hooks (BeforeInstall, AfterInstall, ApplicationStart, etc.) using scripts or Lambda functions for fine-grained deployment control.

Traffic Shifting for Lambda and ECS

Implement canary and linear traffic shifting for Lambda function updates and ECS service deployments with configurable traffic weights and bake times.

Deployment Groups

Organize deployment targets using deployment groups with EC2 instance tags, Auto Scaling groups, ECS clusters, or on-premises instance tags.

CodeDeploy Agent

Install the CodeDeploy agent on EC2 or on-premises instances to enable deployment target registration and lifecycle hook execution.

Integration with AWS Load Balancers

Integrate with Application Load Balancers and Network Load Balancers for blue/green deployments that shift traffic between original and replacement instances.

Use Cases

Zero-Downtime Application Updates

Use blue/green deployments to update applications without downtime by routing traffic to a new environment while keeping the original environment available for rollback.

Lambda Function Updates

Deploy new Lambda function versions with canary or linear traffic shifting to gradually migrate traffic from the current version to the updated function version.

ECS Service Deployment

Deploy updated container tasks to ECS services with blue/green deployments and configurable traffic shifting through an Application Load Balancer.

On-Premises Application Deployment

Extend cloud-based deployment automation to on-premises servers using the CodeDeploy agent and on-premises instance registration.

Multi-Stage CD Pipeline

Use CodeDeploy as the deployment stage in an AWS CodePipeline for fully automated continuous delivery from source code to production.

Integrations

AWS CodePipeline

Use CodeDeploy as the deployment stage in CodePipeline CD pipelines.

AWS CodeBuild

Trigger CodeDeploy deployments from build artifacts produced by CodeBuild.

AWS Lambda

Deploy Lambda function updates with traffic shifting strategies.

Amazon ECS

Deploy ECS service updates with blue/green deployments.

AWS CloudWatch

Trigger automatic rollbacks based on CloudWatch alarm states.

Elastic Load Balancing

Integrate with ALB and NLB for blue/green traffic shifting.

Amazon EC2 Auto Scaling

Deploy to Auto Scaling groups with automatic instance health checking.

AWS Systems Manager

Use SSM Run Command and State Manager for deployment automation.

GitHub

Deploy application revisions stored in GitHub repositories.

Amazon S3

Store and retrieve application deployment bundles from S3.

Semantic Vocabularies

Amazon Codedeploy Context

16 classes · 29 properties

JSON-LD

API Governance Rules

Amazon CodeDeploy API Rules

9 rules · 5 errors 3 warnings 1 info

SPECTRAL

Resources

🚀
GettingStarted
GettingStarted
🔑
Authentication
Authentication
💰
Pricing
Pricing
🌐
Console
Console
🌐
Portal
Portal
🔗
Documentation
Documentation
📜
TermsOfService
TermsOfService
📜
PrivacyPolicy
PrivacyPolicy
🟢
StatusPage
StatusPage
📰
Blog
Blog
💬
FAQ
FAQ
📝
SignUp
SignUp
👥
GitHubOrganization
GitHubOrganization
🔗
SpectralRules
SpectralRules
🔗
Vocabulary
Vocabulary
🔗
NaftikoCapability
NaftikoCapability
🔗
JSONLD
JSONLD