←back to thread

804 points jryio | 2 comments | | HN request time: 0.014s | source
1. afro88 ◴[] No.45662369[source]
Doesn't staging need to be a (downsized) replica of prod, infra wise to give confidence that changes will be stable and working in prod?

Genuine question.

replies(1): >>45665151 #
2. Ayesh ◴[] No.45665151[source]
Yes, I'm just as curious as you on _why_ does a staging setup needs the same amount of resources as prod.

All of my staging setups are on a ~$15 Hetzner server, with a GitHub Action to `docker compose build && docker compose up -d` remotely, with an Apache service with a wildcard certificate and dynamic host names. We have 3..n staging setups, with each PR spinning up a new staging site just for that PR.

It's been working with us for years, for a team of 10 developers.