CI/CD
- Flow
- Code -> Build -> Test -> Deploy -> Provision
AWS Codepipeline
AWS Codecommit
- Like
Github
- Responsible for
Code
portion
- Like
AWS Codebuild
- Like
Jenkins
- Responsible for
Build
andTest
portion
- Like
AWS Code Deploy
- Responsible for
Deploy
portion - Ues
AWS Beanstalk
orAWS Cloudformation
to 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 commit
can be a source stageBeanstalk
can be a deploy stageBlue/Green
Deployment- Isolation between
blue
andgreen
- Roll incoming traffic during deployments
- Minimum downtime