The Simplest Way to Make Azure VMs and Fivetran Work Like They Should

Published
Length
3 min read

Luis Felipe Dias

All posts

Pairing azure vms and fivetran lets teams move self-hosted data into cloud warehouses. This setup pulls data from virtual machines on a fixed schedule. Many teams run custom databases or legacy apps on virtual machines in Azure. Fivetran reads those sources and writes the rows to an analytics store. Getting the network path and login rules right takes clear planning. A clean setup keeps private hosts safe while data moves on time. How logins and data flow between azure vms and fivetran Data

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.

Pairing azure vms and fivetran lets teams move self-hosted data into cloud warehouses. This setup pulls data from virtual machines on a fixed schedule.

Many teams run custom databases or legacy apps on virtual machines in Azure. Fivetran reads those sources and writes the rows to an analytics store. Getting the network path and login rules right takes clear planning. A clean setup keeps private hosts safe while data moves on time.

How logins and data flow between azure vms and fivetran

Data moves from the virtual machine to the sync service over a secure path. You can link the two tools with an encrypted tunnel or private link. First, the sync tool reaches out to the virtual machine over the network. Next, it logs in to the database or file service on that host. Then, it reads new or changed rows and sends them to the target store.

Identity and permissions control what the sync service can read on the host. Teams create a dedicated user role inside the database on the virtual machine. This role needs read rights on the tables selected for the data sync. At the cloud level, network rules on the virtual machine block open traffic. You only allow traffic from the known IP addresses of the sync service. You can also route the link through an SSH host inside your network. In that layout, the sync tool checks in with an SSH key first. After the tunnel opens, it logs in to the local data store.

Common failure modes and how to scope roles and networks

Teams often take shortcuts when they first link their virtual machines to data pipelines. A common mistake is using a shared admin account for the data sync. If that password leaks, an attacker gains full control over the host data. Another bad habit is opening the virtual machine port to the whole internet. Broad network rules invite automated scans and brute force login attempts. Unlogged queries also cause pain when a heavy sync slows down the host.

Azure RBAC + End-to-End Encryption: architecture patterns and best practices

Continue reading? Get the full guide.

Free. No spam. Unsubscribe anytime.

You can fix these risks by scoping both network paths and user roles. Start by locking down the network group attached to your Azure subnet. Only allow inbound traffic from the exact IP list provided by the sync vendor. Even better, keep all traffic off the public internet with private network peering. Next, strip write and admin rights from the sync user in the database. Give that account read rights on only the specific schemas you need. Rotate the database passwords and SSH keys on a set calendar schedule. Turn on query logs on the host to track every read operation. Masking rewrites matched fields in results, such as emails, phone numbers, and card numbers.

Keeping host maintenance and data syncs aligned

Virtual machines need regular patching, disk checks, and reboots to stay healthy. When an engineer logs in to fix a host, sync jobs might fail. Teams should plan maintenance windows around the sync schedule of the data pipeline. You also need strict controls for the engineers who manage those virtual machines. Give each person an individual login instead of sharing one root SSH key. Track every command run on the host so you can spot changes fast. When both human logins and automated syncs follow strict rules, pipelines stay up.

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

Should we expose the Azure VM on a public IP for Fivetran?

No, exposing database ports to the whole internet creates a major security risk. Use an encrypted SSH tunnel, private link, or strict IP allowlist rules instead.

What database rights does the Fivetran user need on the VM?

The sync user only needs permission to connect and read the target tables. Never grant admin rights, table drop rights, or write access to that role.

How do we handle VM reboots without breaking data pipelines?

Schedule host reboots during quiet hours between your scheduled data sync runs. Make sure the database service starts up on its own after the reboot.

The query runs. The emails stay hidden.