Operating the One-Box ePHPm Setup: Backups and Blue/Green
Day-two work on the single-VM ePHPm box: a golden AMI that smoke-tests itself, an S3 backup that survives on a box too small to hold two copies of the database, and a blue/green upgrade that moves the data instead of the disk.
The box is baked, not configured in place. Packer builds a Debian 12 AMI with the ePHPm binary and all three apps’ code
already on disk. The source gets pulled from the three private GitHub repos’ tarballs at build time and run through
composer install right there in the image. Rolling new code means baking a new AMI.
