CI/CD
- Flow
- Code -> Build -> Test -> Deploy -> Provision
AWS CodepipelineAWS Codecommit- Like
Github - Responsible for
Codeportion
- Like
AWS Codebuild- Like
Jenkins - Responsible for
BuildandTestportion
- Like
AWS Code Deploy- Responsible for
Deployportion - Ues
AWS BeanstalkorAWS Cloudformationto provision the code - Can be use for deploying code to
- EC2 Instance
- On premise sever
- Lambda Function
- Use for
- Rapid release of new feature
- Updating
Lambda Function - Avoid downtime during Application deployment
- Type of code deploy
- Linear (This deployment send traffic incrementally)
- All at once (All traffic shifts to new deployment)
- Canary (Can be define, how many traffic will flow new and updated deployments)
- Responsible for
- While deploying a code base
Code commitcan be a source stageBeanstalkcan be a deploy stageBlue/GreenDeployment- Isolation between
blueandgreen - Roll incoming traffic during deployments
- Minimum downtime