Deploy on Azure: verify security
Every check below happens in your own Azure portal and Microsoft Entra admin center. None of them asks you to trust Metantel's software.
1. Metantel can't change your network or reach your data disk
Access control (IAM) > Deny assignments on the resource group metantel-network:
- ☐ One deny assignment, created by the deployment stack
metantel-network. - ☐ It denies every action except reads.
- ☐ Its only exclusion is you, the admin who deployed.
Not even your own subscription's Contributors, or Metantel, can change the network, the sign-in front or the logs.
If the deployment told you it used a ReadOnly lock instead (Azure couldn't set up deny rules in your directory yet), check Settings > Locks on metantel-network:
- ☐ One lock,
metantel-network-read-only, of type Read-only.
Nobody can change the group while it's there; an Owner can remove it, and that is recorded in the Activity log. When Azure can set up deny rules in your directory, run the deployment line again to switch to the deny assignment.
Service providers > Delegations (Azure Lighthouse):
- ☐ Metantel's only access is on
metantel-cell. - ☐ Its roles are only Reader, Virtual Machine Contributor (to place and update the sealed system disk), and the role that lets Metantel remove its own access.
- ☐ Nothing on
metantel-network, and nothing on the subscription.
Policy > Assignments, scope metantel-cell: two rules that Metantel's roles can't change or exempt.
- ☐ Only the VM, its disks and its network card. No snapshots, extensions, run commands, public IPs, storage accounts or networks can be created.
- ☐ Disks and VMs only from Metantel's cell image; extensions stay off. No disk can be copied, imported or restored, and no other operating system can be put in front of the data disk.
- ☐ The data disk only with your key, and never exportable.
metantel-cell-datamust use your key, and its network access must stay Deny all with public access Disabled, so no download link can be made for it, by Metantel or anyone. Check it on the disk: Settings > Networking shows "Deny all". - ☐ The data disk can't be deleted. On
metantel-cell-data, Settings > Locks showsmetantel-data-keep(Delete). Metantel's roles can't remove a lock; only your Owners can.
Together with the deny rule, Metantel's roles can't copy, export or attach your data disk anywhere, and can't connect anything new to your network.
Your key: Key Vault mtk-… in metantel-network holds the key metantel-data (HSM, purge protection on, rotated yearly).
- ☐ Disk encryption set
metantel-data-keyuses it. - ☐ Disk
metantel-cell-data> Encryption: "Encryption at-rest with a customer-managed key" and that set. - ☐ Your policy refuses that disk with any other encryption.
Disable the key (Key Vault > Keys > metantel-data > Disable) and the disk can't be read by anyone until you enable it again. Metantel's software is on the sealed system disk, encrypted with Metantel's key, never on yours.
2. The VM can talk only to your Foundry
In metantel-network:
- ☐ Route table
no-way-out:0.0.0.0/0 → None. Internet traffic is dropped. - ☐ Network security group
cell-rules, outbound: - your Foundry's private endpoint subnet, port 443;
- Azure's platform DNS and host address (168.63.129.16);
- the VM's own metadata service (169.254.169.254);
- everything else denied.
- ☐ Inbound: only from the sign-in front's subnet, port 8443.
- ☐ Virtual network
metantel-cell-net> Subnets: "Default outbound access" is off. Azure itself gives the subnet no way to the internet. - ☐ DNS security policy
cell-names: names of your Foundry resource are allowed; every other name is blocked.
Then check with Azure's own tools (no agent needed on the VM):
- ☐ Network card
metantel-cell-nic> Effective routes: the default route's next hop is None. - ☐ Network Watcher > IP flow verify:
- from
metantel-cell-nicto any internet address (say 8.8.8.8, port 443): Denied; - to your Foundry's private endpoint IP, port 443: Allowed.
3. Evidence: what the VM actually did
Log Analytics workspace metantel-evidence-… > Logs:
// Every name the VM looked up in the last 7 days, and what the DNS policy did with it
DNSQueryLogs
| where TimeGenerated > ago(7d)
| summarize lookups = count() by QueryName, ResolverPolicyRuleAction
| order by lookups desc
- ☐ Only your Foundry's names are listed as allowed. Anything else appears as blocked.
Activity log, resource group metantel-cell:
- ☐ Every action Metantel took is listed, with the caller and time: updates (a new OS disk, VM restarts). Metantel reads the VM's record there to check it's a genuine sealed cell before licensing it; it changes nothing else.
- ☐ You get an email (alert
metantel-cell-changed) whenever the VM changes.
4. The VM is sealed
Virtual machine metantel-cell > Overview:
- ☐ Security type Confidential VM.
- ☐ OS disk encryption Confidential disk encryption.
- ☐ No public IP address.
- ☐ Extensions are off.
There is no login of any kind: no SSH server, no VM agent, no console login. Run Command, password resets and extensions don't work, even for your own admins.
- ☐ Boot diagnostics: Disabled. The VM writes nothing to its serial port either: a serial log would be a way out of your network that your network rules can't see.
4b. The one call that reaches Metantel: the licence check
Metantel's software runs only while it holds a current licence. The VM can't ask for it (it has no way out), so your sign-in front asks, every 10 minutes, in one HTTPS call to Metantel's licence endpoint.
metantel-network > front-rules > Outbound security rules:
- ☐
out-metantel-licence: TCP 443 to 20.198.115.197 only. With Microsoft sign-in and the VM, it's the front's only way out.
The front's code (App Service metantel-… > Environment variables > FORWARDER): about 125 lines, Node's own modules only. Read the licence check at the end. It sends:
- ☐ the VM's boot public key: exactly 43 characters, at most 4 new ones a day, or nothing is sent;
- ☐ a token Microsoft Entra issued to the VM's own managed identity for Metantel's licence app. The front checks Entra's signature, your tenant, that VM and that app before sending it. It proves which VM is asking; it grants nothing in your tenant.
It trusts only Metantel's certificate (LICENCE_CA) and brings back a signed licence and a key sealed to that boot, which only the VM can use.
Every call, in your workspace (Log Analytics workspace metantel-evidence-… in metantel-network > Logs):
AppServiceConsoleLogs
| where ResultDescription has "licence"
| project TimeGenerated, ResultDescription
| order by TimeGenerated desc
- ☐ One line per check: when, where it went, the boot key it sent, the answer's status and size, and until when the licence runs. Every 10 minutes, and once a minute while the VM is locked after a restart.
Enterprise applications > Metantel licence: a Metantel app in your directory with no permissions and no sign-in. It's only the audience of the VM's token.
5. No keys
- ☐ Your Foundry resource > Access control (IAM) > Role assignments: the VM
metantel-cell(a managed identity) holds Cognitive Services User on this resource only. It uses its models with that identity; no Foundry key was read, stored or shared. - ☐ The sign-in front and the VM share one random value, so the VM knows a request came through the front. It's in the VM's settings, and it opens nothing on its own: the VM only accepts requests from the front's subnet, inside your locked network.
6. Sign-in is yours
Microsoft Entra admin center > Enterprise applications:
- ☐ Metantel and Metantel Flow Console are registered in your directory. Metantel doesn't own them and can't change them.
- ☐ They ask only for sign-in (openid, profile, offline_access) and the Metantel API's own scope. No access to mail, files or your directory.
- ☐ Sign-in logs show who signed in, from where, and which of your Conditional Access policies applied.
7. Leaving
- Remove Metantel's access: Service providers > Delegations > Remove. The VM keeps running until its current licence expires (at most 24 hours), then erases Metantel's software. Your data disk and everything in
metantel-networkstay yours. - To delete everything: delete both resource groups and the two Enterprise applications.
What you do trust Metantel with
Metantel's software runs inside the sealed VM and sees your data there, as any software you run does. Each update is a new sealed system disk made only from Metantel's published image (your policy refuses anything else), announced at least two days ahead (on your admin page, as the VM's metantel-update tag, and in Azure's email about each change to the VM) and applied at that time, or at your own update time (the metantel-update-window tag on your cell group).
Even a faulty or malicious update has no way to send data out: the network, the DNS rules and the deny rule above are yours, and Metantel can't change them.