Re:Staging is dead: The rise of preview environments
by jcraft on Thursday December 22, 2022 @01:34PM
(#34096718)
If the data contains sensitive information about individuals (PII), you can't replicate that across all environments if you're in a regulated industry. There are ways to anonymize the data, eliminating the PII risks while preserving data utility so testing is accurate.
Re:Staging is dead: The rise of preview environments
by ratorx on Thursday December 22, 2022 @03:08PM
(#34097962)
Anonymisation has always seemed to me to be a reduction in the probability of exposure rather than a complete guarantee of safety.
Arguably you should need compliance on both staging and prod, but you do the anonymisation to reduce the risk of exposure from (less tested) code in staging.
I’ve always viewed staging as the environment that gets prod data (maybe anonymised), but has ideally no exposure to actually affecting prod, rather than a completely fake environment.
Which it absolutely should. If the idea is to go from your local environment with test data, to some staging or pre-prod environment in the cloud with (potentially) prod data. Then that cloud environment (regardless if it's called staging or pre-prod, or if it houses prod data or not), should be an exact replication of your production environment. Down to every detail.