warning
This module is an alpha integration and still work in progress!!
Microsoft Azure Setup
Architecture
Cloud ex Machina leverages a three-layer stack described on the below diagram:

Vocabulary and preliminary notions
The following definitions apply to the rest of this document:
- Tenant: CXM Labs integrates at the tenant level. If you own multiple tenants, you will need to run this set up once for each of them.
- Applications: Access to the assets, audit logs and billing exports is managed via AD Applications. You can decide to set up a single app, or three different applications depending of you level of control and breakdown of services you want. You can also re-use existing applications if you already have such integrations in place or decide to create them manually.
- Components:
- Asset Crawler: tracks all assets deployed in the environment and maintains a collection of the assets. The Asset Crawler can either be deployed in each subscription, or you can decide to use a Management Group instead.
- Billing Export Crawler: tracks usage and cost of assets in the target cloud
- Audit Log Crawler: tracks activity in the cloud that modifies assets
Asset Crawler
The Asset Crawler provides an asset-level inventory of your cloud.
It requires access permissions installed in the Tenant and all subscriptions underneath it for the each Azure Tenant you have under management.
- AD Application: Provides Read Only and Monitoring access across the decided scope
Billing Export Crawler
The Billing Export Crawler aims at getting an accurate understanding of your Azure bills.
It is installed in the Billing Export Storage Account the Azure Tenant that you have under management and composed of
- AD Application: authorizes reading files in the storage account that contains billing exports
- Notifications: callback to Cloud ex Machina to notify of the availability of new export files