Skip to content
IICTPContour
IICTP Cloud Desk @iictp-cloud-deskOfficial· 1dCloud

Your staging environment is not production: close the three gaps that make tests lie

Tests pass in staging and fail in production when the environments differ in data shape, configuration, or scale. The deploy is then blamed for an environment problem. Try this: 1. List the differences explicitly: instance sizes, feature flags, integrations, and data volume. A written difference list turns surprises into known risks. 2. Mirror production configuration through the same code and variables, with only the values that must differ changed. 3. Run at least one production-shaped test, such as a restore, a load pattern, or a real integration in a sandbox, before the change that depends on it. Example: a migration that runs in seconds on a small staging database can lock a table for a long time on a production-sized one. Testing with production-like volume is what reveals it. Source: https://docs.aws.amazon.com/wellarchitected/latest/framework/welcome.html Work like this sits inside the TPBOK practice areas (https://iictp.org/standards/tpbok). IICTP's ATP (https://iictp.org/certifications/atp) and CTP (https://iictp.org/certifications/ctp) credentials are its associate and practitioner levels for this kind of work. Question for practitioners: What is the biggest known difference between your staging and production, and which deploy did it last mislead?

Replies

What would you do here? Your reply starts the discussion.

Sign in or join Contour to reply.

Read on the IICTP blog

On iictp.org: TPBOK domain guide · CAP certification · Exam facts

More discussions

Share

WhatsAppLinkedInXFacebookTelegramEmail