Environment Management
Realm9 provides comprehensive environment management capabilities to help you organize, track, and control access to your IT environments.
Overview
Environments in Realm9 represent any infrastructure setup - development, staging, production, or specialized test environments. Each environment can be:
- Tracked for costs and usage
- Booked by teams with approval workflows
- Monitored with built-in observability
- Managed through Terraform automation
Creating Environments
Via Web UI
- Navigate to Environments in the sidebar
- Click Create Environment
- Fill in the required details:
- Name and display name
- Environment type (Development, Staging, Production)
- Cost information
- Business and technical owners
- Click Create
Environment Types
- DEVELOPMENT - For active development work
- STAGING - Pre-production testing
- PRODUCTION - Live production systems
- TESTING - Quality assurance and testing
- SANDBOX - Experimental environments
Managing Environments
Environment Details
Each environment tracks:
- Basic Information: Name, type, description
- Cost Tracking: Hourly cost, currency, total spend
- Ownership: Business and technical owners
- Access Control: Who can view, book, and modify
- Compliance: Security and regulatory tags
- Status: Available, booked, maintenance, etc.
Shared Environments
Realm9 supports shared environments that multiple teams can use concurrently:
isShared: true
maxConcurrentTeams: 3
This allows up to 3 teams to book the same environment simultaneously.
Environment Booking
Book environments for your team with built-in approval workflows:
- Search for available environments
- Select booking time range
- Provide business justification
- Submit for approval
- Get notified when approved
See Environment Booking for details.
Environment Tags
Organize environments with custom tags:
- Cost Center: For budget tracking
- Project: Link to specific projects
- Compliance: PCI, HIPAA, SOC2, etc.
- Technology: AWS, Azure, Kubernetes, etc.
Best Practices
Naming Conventions
Use clear, consistent naming:
<project>-<environment>-<region>
Examples:
- web-app-dev-us-east
- api-staging-eu-west
- db-prod-us-west
Cost Tracking
Enable hourly cost tracking for:
- Budget monitoring
- Showback/chargeback reports
- Cost optimization insights
Access Control
Implement least privilege:
- Viewers: Read-only access
- Users: Can book environments
- Managers: Can approve bookings
- Admins: Full control
Integration
With Observability
Link environments to observability for:
- Real-time logs
- Performance metrics
- Service dependencies
- Health monitoring
With Terraform
Automate environment provisioning:
- Infrastructure as Code
- Automated deployments
- Change approvals
- Drift detection
API Access
Manage environments programmatically:
# List environments
curl -X GET https://realm9.app/api/environments \
-H "Authorization: Bearer $TOKEN"
# Create environment
curl -X POST https://realm9.app/api/environments \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"name": "my-env",
"displayName": "My Environment",
"type": "DEVELOPMENT"
}'
See API Reference for complete documentation.
Troubleshooting
Environment Not Showing
- Check your organization membership
- Verify access permissions
- Ensure environment is not archived
Cannot Book Environment
- Environment may be fully booked
- Check if approval is required
- Verify booking policy settings
Next Steps
Support
For help with environment management:
- Check Troubleshooting Guide
- Contact: sales@realm9.app
