Re:Staging is dead: The rise of preview environments
by maerF0x0 on Thursday December 22, 2022 @12:19PM
(#34095798)
fwiw it's generally not compliant to copy prod data into an alternative env without doing major scrubbing. Else your preprod env now has to have SOC compliance things like auditing of access to DBs, GDPR deletion etc.
[ Parent
| on HN ]
Re:Staging is dead: The rise of preview environments
by ryanSrich on Thursday December 22, 2022 @12:23PM
(#34095842)
> fwiw it's generally not compliant to copy prod data into an alternative env without doing major scrubbing. Else your preprod env now has to have SOC compliance things like auditing of access to DBs, GDPR deletion etc.
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.
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.
Re:Staging is dead: The rise of preview environments
by ryanSrich on Thursday December 22, 2022 @09:06PM
(#34101550)
Well, you can, but you need to ensure every environment to which it’s replicated is also compliant. That’s my entire point.