Self-hosted Insights
Pulumi Insights supports self-hosted operation for Business Critical customers through customer-managed workflow runners. This allows you to run discovery scans and policy evaluations within your own infrastructure, giving you full control over where your data is processed while retaining the power of Pulumi Insights.
Benefits
Running Insights in your own environment with customer-managed workflow runners provides several advantages:
- Data residency: Keep all scan data and policy evaluations within your private network
- Private infrastructure access: Scan resources in fully private VPCs and environments that are not accessible from the public internet
- Compliance: Meet regulatory requirements by ensuring cloud provider credentials never leave your network
- Flexible hosting: Host workflow runners on any hardware and environment that meets your needs, including Linux and macOS
How it works
Customer-managed workflow runners support multiple workflow types beyond deployments, including Insights discovery scans and policy evaluations. Workflow runners poll Pulumi Cloud for pending workflows and execute them in your self-hosted environment.
For full setup and configuration details, see the customer-managed workflow runners documentation.
Setting up Insights scans
- Set up a customer-managed workflow runner pool
- Navigate to Management > Accounts in Pulumi Cloud
- Select the workflow runner pool for the account you want to scan
- Trigger a scan and confirm it completes successfully
Setting up policy evaluations
- Set up a customer-managed workflow runner pool
- Navigate to Management > Policies > Policy Groups in Pulumi Cloud
- Select the workflow runner pool for an audit policy group
- Run a policy evaluation against a stack and confirm the results appear as expected
Restricting workflow types
By default, workflow runners handle all workflow types (deployments, Insights scans, and policy evaluations). You can restrict which workflow types a runner handles using the enabled_workflow_types configuration option in pulumi-workflow-agent.yaml:
enabled_workflow_types:
- insights_scan
- policy_evaluation
For the full list of configuration options, see the configuration reference.
Thank you for your feedback!
If you have a question about how to use Pulumi, reach out in Community Slack.
Open an issue on GitHub to report a problem or suggest an improvement.