Hands-on task
Switch prod to the new release with a symlink
Release 2.4.0 of billing is already laid out on the server next to the running 2.3.7: the directories are in /srv/billing/releases/, and nginx serves the site from the symlink /srv/billing/current. Switch prod to 2.4.0 by repointing the symlink. Don't touch the nginx config, don't stop nginx, and current must stay a symlink. Careful: the candidate 2.4.0-rc1 is lying there too — you don't need it.
- symlinks
- ln -sfn
- readlink
- blue-green deployment
- zero-downtime release