K6Intermediate

Environment Management

30 minOnce (but useful forever)

Format: Understand the differences between development/staging/production environments.

Three environments:

Development:
- Your local machine
- Free to experiment and break things
- Uses test data

Staging:
- As similar to production as possible
- Used for final testing
- Does not affect real users

Production:
- Real users are using it
- Any error will affect users
- Must be most cautious

Exercise: Check your project:

  • Is the development database separate from the production database?
  • Is it possible to accidentally connect to the production database during development?
  • Are environment variables correctly configured for each environment?

Self-Assessment Criteria

0/3

My Notes