From the course: DevOps with AWS: Tools for Automated Workflows
Unlock this course with a free trial
Join today to access over 25,500 courses taught by industry experts.
CodeDeploy overview - Amazon Web Services (AWS) Tutorial
From the course: DevOps with AWS: Tools for Automated Workflows
CodeDeploy overview
- Establishing automated code deployment is the heart of CICD pipeline. So now, let's learn to leverage CodeDeploy for automated deployments. With CodeDeploy, we can automate deployment on Amazon EC2 servers, on-prem servers, and serverless applications running on Lambda, and on ECS. A very cool feature of CodeDeploy is that you have minimal downtime for your applications, and you can also set up blue-green deployments for EC2 instances. In case of any errors with the deployment, CodeDeploy rolls back the entire deployment automatically to keep your running application stable. And you can also integrate CodeDeploy with other third party tools like Jenkins. So let's take a scenario where we want to deploy our application automatically to multiple instances, whether it is EC2 instances or on-prem servers. So how do we make it work? For this, each instance must be having a CodeDeploy agent running on it. And this deployment configuration is available in a config file. So this agent will…