Hands-on task
Blue-green release switch
nginx serves the app through the symlink /opt/current, which points at release v1 in /opt/releases/. Release v2 is already uploaded. Switch prod to v2 by moving the symlink — without touching the nginx config and without restarting it: nginx keeps running, only the link changes.
- symlinks
- ln
- readlink
- blue-green deployment
- atomic switch