Platform Capabilities
Advanced MicroStax features: overlays, snapshots, replay, behavioral diffs, data seeding, governance, and cost controls.
These are the features that go beyond basic environment creation. You don't need them all on day one — start with the basics and adopt more as your team grows.
New to MicroStax? Start with Getting Started and the CLI Guide first. Come back here when you're ready for overlays, snapshots, and governance.
Only Deploy What Changed
When you create an overlay, MicroStax compares your Blueprint to the baseline and deploys only the services that are different. Everything else stays connected to the baseline — no duplication.
- Changed and new services are deployed in the overlay.
- Unchanged services stay bridged to the baseline (no extra resources used).
- Services start in the right order based on their dependencies.
- If your overlay conflicts with the baseline, MicroStax blocks it before anything is provisioned.
Baselines, Overlays, and Overlay Chains
MicroStax Blueprints use three routing modes:
| Mode | What it means |
|---|---|
isolated | A fully independent environment. No sharing. |
baseline | A stable shared environment that other environments build on top of. |
overlay | A lightweight environment that only runs your changed services. |
You can also chain overlays together — an overlay can inherit from another overlay, which inherits from a baseline:
- Each overlay only runs the services it changed.
- MicroStax figures out which environment provides each service and routes traffic automatically.
- You can inspect the full chain to see exactly which environment owns what.
Stable Routing Across Environments
When services talk to each other across overlay boundaries, MicroStax makes sure traffic goes to the right place — every time.
- Each service gets a stable identity tied to its environment.
- Header-based routing pins requests to the correct overlay.
- Share links and routed environments work consistently, even if you replay or restore from a snapshot.
Save, Restore, and Replay
Capture your environment's data and execution state so you can go back to a known good point.
- Snapshots: Save a copy of your database or service state from a running environment.
- Restore: Spin up a new environment from a saved snapshot instead of re-seeding from scratch.
- Replay: Re-run the environment's execution graph to validate that everything comes up the same way twice.
Reusable Data Seeds
Manage test data as versioned, shareable packages instead of one-off SQL scripts.
- Blueprints can run init and seed steps automatically during provisioning.
- Teams can publish seed packages to a shared registry.
- Other teams can search for, install, and run published seeds.
- Seeds and snapshots can be combined — restore a snapshot, then apply a seed on top.
Traffic Mirroring and Behavioral Diffs
Test your changes against real traffic without touching production.
- Mirror baseline traffic to a shadow environment.
- MicroStax compares the shadow's responses against the baseline and flags differences.
- Diff reports show exactly where your API behavior changed.
- Supports multiple modes: sidecar, replace, and mirror.
Placement Across Clusters (post-GA)
Post-GA: at GA, MicroStax runs every environment on the single cluster its control plane manages. Checking data residency rules before placement, and moving an environment to another cluster or region, are planned after GA and are not available today.
Governance and Audit Logs
Track who did what, gate promotion on one organization drift policy, and generate compliance reports.
- Gate baseline promotion on the organization drift policy: block when critical regressions exist, and set the maximum number of drift differences allowed.
- Admins can override a blocked promotion; the override records who did it and their justification.
- Every destructive action (delete, scale, promote) is logged with full context, and audit records are signed so they can be verified later.
- View governance decisions (allowed/blocked) in the dashboard or CLI.
- Generate org-level compliance reports.
Not available: approval workflows (a second person approving a promotion), per-organization lists of allowed difference types, and policies with multiple rules.
Drift Detection
Keep environments close to their source of truth.
- Drift Policy: one policy per organization, with the two settings above, decides whether a baseline promotion goes ahead.
- Continuous Auditing: MicroStax monitors if environments deviate from their original Blueprints.
- Remediation Plans: Generate actionable steps to bring an environment back into compliance with its source of truth.
Not available: automatically reverting drift. Remediation runs when you ask for it.
Cost Controls
Overlays and auto-shutdown mean you only pay for what you use.
- Auto-shutdown: Idle environments shut down automatically after a configurable timeout.
- TTL policies: Set a maximum lifetime per environment.
- Cost attribution:
microstax env cost <env-id>shows how much each environment costs and how much overlays are saving. - Resource limits: Org and plan limits prevent runaway usage.
Technical Foundations
The features above are built on the MicroStax graph-driven control plane. For a deep dive into the underlying architecture and the invention family behind it, see:
Recommended Adoption Path
- Start with isolated environments and Blueprint validation.
- Promote a stable environment to a baseline.
- Move active feature work to overlays.
- Add snapshots and seeds for realistic test data.
- Use mirroring, diffs, replay, and governance once your team shares baselines.