Ravi Sir's Cards › AWS
cp into place vs symlink switch
This comparison card contrasts cp into place and symlink switch. cp into place is described as overwrites live files. symlink switch Points to a new folder. The card pairs cp into place with tiny sites, and symlink switch with real releases.
Read card text
What this card says
Deploy
cp into place
Overwrites live files.
symlink switch
Points to a new folder.
Key points
Half-copied risk.
Atomic, instant rollback.
Example
cp -r new/* /srv/app/
Use when
Tiny sites.
Real releases.