The micro-VM for AI agents — light enough to embed on your laptop, elastic enough to power an agentic cloud.
TL;DR
Keep bootstrap, deployment and runtime identities distinct, and follow the selected cloud’s access rules.
Infrastructure security
| Cloud | Guide |
|---|---|
| AWS | IAM boundaries and shared grants |
| GCP | Project IAM, service accounts and private ingress |
Runtime permissions are deployment capabilities, not free-form grants. See API runtime IAM capabilities for the shared contract and the disk-resize example.
Configuration and secret handling
mstage encrypts the stage map; its key and deployment state use the selected cloud’s stores. Required/optional groups in mstage.env.json govern which
values a consumer receives. The ignored stage declaration is carried through a GitHub variable and
must not contain secret values. See configuration.
env list reports names. --values and --json reveal values; write secrets through stdin and avoid
shell tracing. Runtime delivery may place values in resource definitions or encrypted Pulumi state;
a secret's storage encryption is not a claim that every downstream representation hides it.
Use the platform secret-reference channel only where the consumer supports it and has read access.
Preserve state encryption keys and object versions needed for recovery. Never rotate a Pulumi passphrase by simply replacing the stored value: existing state must remain decryptable.
Resource and rollout protection
mdeploy requires confirmation for protected apply/refresh and refuses protected-stage removal.
Runner resources independently prevent replacement/deletion and ignore boot-image/startup changes.
Use the selected cloud’s runner guide to verify convergence.
Database protection, backups and availability are explicit stage settings, not implied by the name prod.
Source: mdeploy guards.