Implementing a CD strategy
CD provides seamless migration of the existing version of an application to the new version. Some of the most popular techniques to implement through CD are as follows:
- In-place deployment: Update application on a current server
- Rolling deployment: Gradually roll out the new version in the existing fleet of servers
- Blue-green deployment: Gradually replace the existing server with the new server
- Red-black deployment: Instant cutover to the new server from the existing server
- Immutable deployment: Stand up a new set of servers altogether
Let’s explore each option in more detail.
In-place deployment
In-place deployment is a method of rolling out a new application version on an existing fleet of servers. The update is done in one deployment action, requiring some downtime. Hardly any infrastructure changes are needed for this update. There is also no need to update existing Domain Name System (DNS) records...