Implementing CD strategies
Before we deploy an application continuously, it is important to think about the strategy we should use. Just doing deployment after deployment may have more risks associated with it than a business is willing to accept. It is important to think about how to deal with issues that might occur during or after deploying a new version of your application.
There are a few deployment strategies that can be applied to reduce the risks that might come with deployments, all of which will be covered in this section. Please note that it is possible to combine one or more of the following patterns. For example, it is perfectly possible to use a blue-green strategy for every ring in a ring-based deployment. Also, all deployment strategies can be combined with the use of feature flags.
Blue-green deployments
Blue-green deployments is a technique where a new version of an application never gets deployed to the production servers directly. Instead, it gets deployed...