To store Azure Cost Management exports, you need a Storage Account and at least one container to hold the exported data files (CSV or Parquet). Itβs best to set this up as a dedicated, secure storage location used only for cost data.
𧱠1. Create a Storage Account
- In the Azure Portal, click Create a resource.
- Search for and select Storage account, then click Create.
- Choose your Subscription.
- Create or select a Resource Group (e.g.
CostMgmt-RG
orFinOps-RG
). - Enter a unique name for your storage account (lowercase only, no special characters).
- Choose a Region close to your billing team or cost analysis tools.
- Under Performance and Access Tier, keep the defaults:
- Performance: Standard
- Access tier: Hot
- For Account kind, use StorageV2 (general-purpose v2).
βοΈ 2. Choose Replication & Advanced Options
- Select a Replication option:
- Locally-redundant storage (LRS) is usually sufficient.
- Under Advanced:
- Disable public blob access.
- Enable Microsoft Defender for Storage (optional).
- Leave Encryption as Microsoft-managed unless you require a customer-managed key.
- You may enable hierarchical namespace if using Azure Synapse, but itβs not required.
π 3. Configure Networking
- In the Networking tab:
- You can allow public access, restrict to selected networks, or use a private endpoint.
- If using a firewall, allow trusted Azure services so Cost Management can write exports.
- Make note of firewall rules if locking down the storage account.
π 4. Review and Create
- Click Review + create.
- Once validation passes, click Create.
- After deployment, go to your new Storage Account.
- In the left menu, click Containers > + Container.
- Create a new container (e.g.,
cost-exports
). - Set the public access level to Private (no anonymous access).
β Result: Your storage account and container are now ready to receive cost exports.
π§― Final Notes
- Make sure the user or service principal creating the export has:
- Storage Account Contributor or Owner role
- Storage Blob Data Contributor on the container or storage account
- If using a firewall, ensure the configuration allows Azure Cost Management to write data (see your security policy or Guide #25 if applicable).