Skip to Content
mlab docs

Overview

Connect your cloud and hosting accounts to mlab.sh with read-only access: your inventory is synced every day, proven automatically, and every change is tracked.

A cloud connection gives mlab.sh read-only access to one of your provider accounts. Once a day, mlab.sh reads what the account holds (domains, DNS names, IP addresses, servers, instances) and keeps your Inventory up to date on its own. No more listing assets by hand, and no more forgotten server.

Cloud connections are rolling out with OVHcloud and Cloudflare first. Organizations on the Team and Enterprise plans can connect accounts.

What you get

  • A complete inventory, kept current. Everything the account holds is listed, including what nobody declared. A new server or a new DNS name shows up the next day.
  • Assets proven by the connection. Domains and IP addresses read from your own account are added to your assets as Proven by a cloud connection: no DNS record or .mlab file to add, unlike manual verification. Subdomains are listed on the Connections page; servers, VPS and instances under Inventory → Assets → Servers, each with its own page.
  • Every change tracked. Each asset keeps its history: when it appeared, when its DNS target or routing changed, when it disappeared, and when it came back.
  • What the provider says next to what we observe. A DNS name still pointing to an address your account no longer holds (a subdomain takeover risk), an address that was never scanned, a server nobody owns in mlab.sh.

Supported providers

ProviderHow you connectWhat is synced
OVHcloudApprove read-only access on the OVHcloud sign-in page, one click (Europe accounts; Canada and United States coming soon)Domains, DNS zones, IP blocks, dedicated servers, VPS, Public Cloud instances
CloudflarePaste a read-only API token, checked by mlab.shActive zones and their DNS names

More providers are planned (Scaleway, AWS, Microsoft Azure, Google Cloud). Need another one? Ask for it on GitHub Discussions.

How it works

Connect

In Inventory → Connections, click Connect an account and choose a provider. For OVHcloud, Continue to OVHcloud sends you to its own sign-in page, where you approve a read-only access; mlab.sh never sees your password. For Cloudflare, paste a read-only API token and click Connect Cloudflare.

Verification

Back on mlab.sh, the access is checked before anything is read: it must be approved and read-only. An access that could change anything is refused.

First sync

The first sync starts within a minute. The connection page shows each sync: when it ran, how many assets were seen, added and gone, and the error if one failed.

Every day

The account is read again every 24 hours. A sync that fails (provider unreachable, access expired) changes nothing in your inventory and is retried an hour later.

Asset types

TypeExampleTracked over time
Domainexample.com (registered, DNS zone, or both)Records of the domain itself
Subdomainshop.example.comIts A, AAAA and CNAME records
IP / IP block203.0.113.10, 198.51.100.0/28Type, service it is routed to
Serverns1234567.ip-203-0-113.euIP, reverse, datacenter, OS, state
VPSvps-1a2b3c4d.vps.ovh.netState, zone, model, IPs
Cloud instancePublic Cloud instanceName, region, status, public IPs

Know what changed

On the Team and Enterprise plans, mlab.sh tells you as soon as a sync sees a change, by email and to your webhooks, through your alerting rules:

EventWhen
infra.name.newA new name appeared in a connected DNS zone.
infra.machine.newA new server, VPS or instance appeared.
infra.address.changedA name or a server changed address (A, AAAA or CNAME targets, or a machine's IPs).
infra.asset.goneA name, machine or IP is no longer listed by its account.

Each change is also in the organization audit log, under Inventory. The first sync after connecting raises no alert, so connecting an account does not flood you. A sync with more than 10 changes of one kind sends 10 alerts and folds the rest into one ("and N more in the audit log"). A new name is scanned soon after it appears (up to 10 per sync), and shows on the Map and the Graph.

Disconnect

In Inventory → Connections, click Disconnect on the account. mlab.sh revokes the access at the provider when it can, deletes it on its side, and stops syncing. Nothing is deleted from your assets: the domains and networks the connection proved go back to waiting for a proof, with their criticality, owner and tags kept. A released domain gets a new DNS token, and a released network goes back to mlab review. Prove them another way (DNS record, staff review) or connect the account again. See Security to revoke from the provider side as well.

The same happens to a single asset when the account stops listing it (a released IP, a transferred domain): mlab.sh stops treating it as yours, since it may now belong to someone else.

On this page