Deploying to production
The goal of deployment is to get our solution in terms of a new product or enhancements to an existing product into a production environment. With Continuous Deployment, we want to move this solution as frequently as we can while minimizing the risk to our production environment.
The following practices allow us to deploy more frequently and reduce the risk of failures in the production environment:
- Setting up dark launches
- Employing feature flags
- Automating deployment
- Infrastructure as code
- Selective deployment
- Self-service deployment
- Version control
- Blue/green deployment
We have looked at version control in previous chapters, notably Chapter 11, Continuous Integration of Solution Development. We have also discussed blue/green deployment in that same chapter.
Let’s examine the remaining practices and how they can increase deployment frequency while reducing risk.
Increasing deployment frequency
We...