The Simplest Way to Make Pulumi and Windows Admin Center Work Like They Should
Using pulumi and windows admin center together lets teams build and manage Windows servers. Pulumi creates the server resources, and Windows Admin Center handles daily server tasks. This workflow separates server creation from live server changes. Teams write code in Pulumi to set up virtual machines and network rules. Once the machines run, admins log in to Windows Admin Center to check health. They can view event logs, manage services, and install updates from a browser. Keeping these two job
Your coding agents run with your access.
Claude Code reaches prod with a developer's credentials, and approval prompts get clicked through. hoop.dev checks every query, masks sensitive data, and holds risky changes for a human.
Using pulumi and windows admin center together lets teams build and manage Windows servers. Pulumi creates the server resources, and Windows Admin Center handles daily server tasks.
This workflow separates server creation from live server changes. Teams write code in Pulumi to set up virtual machines and network rules. Once the machines run, admins log in to Windows Admin Center to check health. They can view event logs, manage services, and install updates from a browser. Keeping these two jobs clear helps prevent drift between code and live servers.
How pulumi and windows admin center share permissions and data
Pulumi talks to cloud APIs or local hosts to build new Windows machines. During this build step, Pulumi sets up local admin accounts and domain rules. It also opens the right network ports for remote management tools. Windows Admin Center uses standard Windows management protocols to reach those new machines. It sends commands over the network using the permissions Pulumi set up earlier.
Data flows from Pulumi to the host first during the build phase. Pulumi writes machine names, IP addresses, and security group IDs into its state file. Teams can read these state outputs to update their server lists. Admins then import those server lists into Windows Admin Center to start work. When an admin logs in, Windows Admin Center checks their identity against Active Directory. It then runs PowerShell scripts and Windows Management Instrumentation calls on the target host.
Common failure modes and how to scope roles
Many teams fail by using one shared admin account for both tools. If Pulumi creates a broad domain admin key, people often reuse that key. They paste the same password into Windows Admin Center for daily tasks. When five engineers share one login, the Windows event logs lose all value. You cannot see who restarted a service or changed a firewall rule.
Broad network rules create another big risk for server teams. Teams sometimes open management ports to the whole company network in Pulumi code. This lets any person on the network reach the Windows Admin Center login page. Instead, Pulumi should restrict remote management ports to specific private subnets. Only approved management hosts should send traffic to your Windows servers.
GCP Security Command Center + Pulumi Policy as Code: architecture patterns and best practices
Continue reading? Get the full guide.
Free. No spam. Unsubscribe anytime.
You should also split permissions into small, clear roles for each tool. Give Pulumi a service account that only builds machines and sets initial roles. Do not use that service account for human logins inside Windows Admin Center. Set up Active Directory groups that match specific server tasks. Put database admins in one group and web server admins in another group. Pulumi can assign these groups to the right local roles on each machine. When admins use Windows Admin Center, they log in with their own identities. This gives every person the minimum rights they need for their job.
Keeping code state and live server settings in sync
Live changes in a browser can break your Pulumi code state over time. If an admin changes a disk size in Windows Admin Center, Pulumi will not know. The next time Pulumi runs, it might overwrite that manual disk change. Teams need clear rules on what each tool is allowed to change.
Use Pulumi for hardware sizes, network rules, disk layouts, and base operating systems. Use Windows Admin Center for live checks, process stops, and log reading. When a permanent change is needed, update the Pulumi code and run a deployment. This habit keeps your server fleet clean and easy to rebuild at any time.
Add runtime guardrails and masking beside your databases and APIs
Login rules, role grants, and CI checks govern who connects to your stack. Yet any allowed script, engineer, or AI agent still runs commands with the full scope of its role. For workloads on Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes, SSH, or internal HTTP services, hoop.dev sits beside the service as an open-source proxy, a sidecar for your database or API.
Before a query runs, hoop.dev guardrails check the statement against your rules. An AI Analyzer you configure can score intent or hold risky calls for human review. Next, hoop.dev data masking rewrites sensitive fields in responses, and each verdict is logged per listener. Explore the MIT-licensed project on GitHub.
Frequently asked questions
Should Pulumi install the Windows Admin Center service on every server?
No, Windows Admin Center runs on one central server and manages other machines remotely. Pulumi only needs to install the service on that single management host.
How do we stop manual changes in Windows Admin Center from breaking Pulumi state?
Give most engineers read-only roles in Windows Admin Center for checking logs and metrics. Require all disk, network, and role changes to go through your Pulumi code pipeline.
What credentials should Pulumi use to set up Windows servers?
Pulumi should use a dedicated cloud or domain service account with scoped creation rights. Rotate this key often and never share it with human admins for browser logins.
Related guides
In this post