The Simplest Way to Make Looker and Windows Server 2019 Work Like They Should
You pair looker and windows server 2019 to run business reports on SQL data. Looker sends queries to database engines running on your Windows Server 2019 hosts. This workflow lets analysts build charts from live records without manual file exports. Data teams keep heavy database workloads on their existing Windows hosts. Analysts still get fast browser reports for daily decisions. Setting up the link between these two systems requires clear rules for identity and network paths. How looker and
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.
You pair looker and windows server 2019 to run business reports on SQL data. Looker sends queries to database engines running on your Windows Server 2019 hosts.
This workflow lets analysts build charts from live records without manual file exports. Data teams keep heavy database workloads on their existing Windows hosts. Analysts still get fast browser reports for daily decisions. Setting up the link between these two systems requires clear rules for identity and network paths.
How looker and windows server 2019 share data and roles
Looker needs a network path and a login account to read data from Windows Server 2019. Most teams run SQL Server or another database service on the Windows machine. Looker uses a database driver to open a session over an encrypted port. You set up a dedicated login account on the database or within Windows Active Directory.
When a user opens a dashboard, Looker builds a SQL query based on its data model. Looker sends that query over the network to the Windows Server 2019 database port. The database checks the login account and runs the query against the allowed tables. Then the Windows host sends the result rows back to Looker for display.
Identity mapping determines what data each person can read. Many teams map Looker user attributes to specific database roles or schemas on the Windows host. This setup makes sure finance staff only query finance tables while sales teams read sales views. Encryption in transit protects credentials and query results as they cross the network.
Common failure modes and how to scope access
A common mistake is using one shared admin account for every Looker report. If that single account has write rights, a bad query can change or drop production tables. Shared accounts also hide which person ran an expensive or sensitive query in the Windows logs. When the database slows down, the ops team cannot trace the query back to one user.
Broad network rules create another risk for Windows Server 2019 hosts. Opening the database port to the whole public internet invites brute force attacks. Instead, teams should restrict inbound traffic to known Looker IP addresses or use a private tunnel. Local Windows firewall rules should block all ports except the specific database listener port.
Kubernetes API Server Access + End-to-End Encryption: architecture patterns and best practices
Continue reading? Get the full guide.
Free. No spam. Unsubscribe anytime.
Scoping database roles fixes the permission problem at the root. Create a read-only database user on the Windows Server 2019 instance just for reporting. Grant that user select rights only on the specific views needed for dashboards. Never give the reporting account admin rights or access to system tables.
Protecting sensitive fields requires careful rules before query results reach the browser. Tables on the Windows host often hold emails, phone numbers, card numbers, or national IDs. Database views or masking rules can rewrite matched fields in results before users export them. You should also turn on query logging on the Windows database to track every read event.
Keeping Windows hosts fast during heavy report runs
Large analytical queries from Looker can use up memory and CPU on Windows Server 2019. If the same host runs your main app database, heavy reports can slow down customer writes. Resource limits on the database engine help keep report queries from starving core workloads.
Many teams set query timeouts so runaway joins stop after a few minutes. You can also route Looker traffic to a read replica running on a separate Windows server. Caching common dashboard results inside Looker reduces the number of hits to the Windows host. Regular checks on Windows performance counters help you spot slow queries early.
Check database and API queries on the wire
Identity tools, roles, and network rules decide who opens a session. Setup alone cannot check what each query does or mask sensitive values in a response once a session starts. When workflows touch Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes APIs, SSH, or internal HTTP APIs, hoop.dev runs beside those services as an open-source proxy, a sidecar for your Postgres or API. It inspects requests coming in and results going back on the wire.
Your login details and client tools stay as they are while hoop.dev guardrails refuse bad deletes or drops before they run. On responses, hoop.dev data masking rewrites matched sensitive values in memory. Furthermore, hoop.dev holds SOC 2 Type II, is MIT licensed, and writes every query and decision to an audit trail that generates evidence for HIPAA, GDPR, and PCI DSS. See the source on GitHub.
Frequently asked questions
How does Looker log in to a database on Windows Server 2019?
Looker logs in using a dedicated database user or a Windows domain account over TLS. You enter the host address, port, and login keys in the Looker connection settings.
How do we stop Looker from changing data on Windows Server 2019?
Create a read-only role in your database on the Windows host for all Looker traffic. Grant select permissions only on reporting views and block all write or admin commands.
How can we protect emails and card numbers in Looker reports?
Use database views or dynamic data masking to rewrite matched fields in results. This approach replaces raw emails, phone numbers, and card numbers before Looker renders the chart.
Related guides
In this post