Foundations are cheapest at the start
Separate environments, automated releases, monitoring and backups look like things “for later”. Once the product has users and data, adding them costs far more time and carries risk. Before launch they take days.
The environment as code
If your infrastructure is described as code, you can recreate it, copy it for testing or rebuild it after a mistake. If it was only set up by hand, the knowledge lives in one person’s head.
Release and roll back
Every new version should follow the same automated path, with a way to return to the previous one in minutes. Test the rollback at least once before you need it.
Your first big day
A launch, a campaign or a media mention can bring many people at once. Run a test at the expected load, note where the limit is and how the system will scale. Also make a rough estimate of what the infrastructure would cost with ten times more users.
For a fuller architecture review on AWS, you can use the free AWS Well-Architected Tool.
