Code deployment onto AWS needs services. These are four services AWS supports – CodePipeline, CodeCommit, CodeBuild, and CodeDeploy.
AWS services to build and deploy the code
CodePipeline
AWS CodePipeline is the service that automates the deployment. It has various steps involved that finally deliver the code to the instances.
A CodePipeline is a hotline. It takes input from users, and till deployment, it has a connected line.
Below are the top steps in the code pipeline.
- Source code
- Build code
- Staging
- Approval
- Production deployment

CodeCommit
AWS CodeCommit eliminates the need to operate your own source control system or worry about scaling its infrastructure.
You can use AWS CodeCommit to store anything securely, from source code to binaries, and it works seamlessly with your existing Git tools.
CodeBuild
Code build on the other hand, once it gets code from the source, you can make changes and you can test it. After testing you can too make changes. The tested code passes to deployment.

CodeDeploy
AWS CodeDeploy is a service that automates software deployments to many computing services, such as Amazon EC2, AWS Lambda, and instances running on-premises.
AWS CodeDeploy makes it easier for you to release new features rapidly, helps you avoid downtime through application deployment, and handles the complexity update your applications.
You can perform Rollbacks using code deploy.
AWS CodeDeploy achieves automatic rollbacks by redeploying the last working revision to any instances in the deployment group (this will generate a new deployment ID).
If you do not configure automatic rollbacks for the application, you can perform a manual rollback by redeploying a previous revision as a new deployment. It accomplishes the same result as an automatic rollback.
Related
You must be logged in to post a comment.