AWS CodeDeploy automates code deployments to Amazon EC2 instances. It deploys applications from Amazon S3 buckets and GitHub repositories. AWS CodeDeploy makes it easier for you to rapidly release new features, helps you avoid downtime during deployment, and handles the complexity of updating your applications. You can use AWS CodeDeploy to automate deployments, eliminating the need for error-prone manual operations, and the service scales with your infrastructure so you can easily deploy to one EC2 instance or thousands.
This service efficiently deploys your released code to a “fleet” of EC2 instances while taking care to leave as much of the fleet online as possible. It can accommodate fleets that range in size from one instance all the way up to tens of thousands of instance.
Below and much more can be deployed with the help of AWS CodeDeploy:
⦁ Server less Lambda functions
⦁ Web and configuration files
⦁ Multimedia files
CodeDeploy has the ability to deploy content within the application that is present in many locations. Some of them have been mentioned below:
⦁ Application that runs on servers
⦁ Application that be stored in Amazon S3 buckets
⦁ Application that is stored in Github repositories
⦁ Application that is stored in BitBucket repositories
Benefits of AWS CodeDeploy:
- Automated Deployments
- Minimize Downtime
- Centralized Control
- Easy To Adopt
- Automatic scaling
- Receive notification
Features of AWS CodeDeploy:
- It can be used to deploy applications which require servers (traditional applications), applications which are server less, and applications such as Amazon ECS (container applications).
- CodeDeploy is a fully managed, automated service which automatically deploys the user application in development, test and production environments.
- It is highly scalable with the user infrastructure and can be used to deploy one or thousand instances.
- An application can be made to be highly available with the help of CodeDeploy in case the application uses an EC2 or on premise compute platform. When an in-place deployment happens, CodeDeploy does a rolling update across Amazon EC2 instances. The number of instances which need to be taken offline must be specified during the time of update.
- When a blue/green deployment is used, the most recent updated application is installed on the replacement instances. As soon as this happens, traffic is rerouted to these instances which are chosen by the user at that point in time or right after the new environment has been tested.
- In case of both these deployment types, CodeDeploy service keeps a track on the health of the application based on the rules used to configure the service.
A deployment could be automatically or manually stopped. Just after this stoppage, it can be rolled back to the previous state in case of any errors.
- The status of every deployment done by the user can be tracked with the help of CodeDeploy console or the AWS CLI. The user will receive a report that lists information on when every application was revised, and when it was deployed, and to which Amazon EC2 instance it was deployed.
- If multiple applications use the EC2 or on premise compute platform, CodeDeploy helps in deploying all of these application concurrently to the same set of instances.
- CodeDeploy is an easy to use, and easy-to-adopt platform that works with any application. The setup code can be conveniently reused.
- CodeDeploy can be integrated with the process of software release or the continuous delivery toolchain to make the process of deployment efficient and easy.