๐ŸŽ New User? Get 20% off your first purchase with code NEWUSER20 ยท โšก Instant download ยท ๐Ÿ”’ Secure checkout Register Now โ†’
Menu

Categories

DevOps Beginner

What is Environment Variable?

A dynamic value stored outside the application code that configures behavior without hardcoding sensitive or environment-specific data.

Environment variables store configuration that changes between environments (development, staging, production). Common examples include DATABASE_URL, API_KEY, and DEBUG_MODE.

They keep secrets out of source code, following the twelve-factor app methodology. Tools like .env files, Docker environment settings, and cloud provider secret managers handle environment variable management.

Related Terms

Terraform
An open-source tool for provisioning and managing cloud infrastructure using declarative configuration files.
Service Discovery
A mechanism that automatically detects and tracks the network locations of service instances in distributed systems.
Prometheus
An open-source monitoring and alerting toolkit that collects time-series metrics using a pull-based model.
Immutable Infrastructure
An approach where servers are never modified after deployment โ€” changes require building and deploying entirely new server instances.
Observability
The ability to understand a system's internal state from its external outputs through metrics, logs, and traces.
Grafana
An open-source analytics and visualization platform for creating dashboards from various data sources.
View All DevOps Terms โ†’