- 💡Always tag!
- Tags are additional metadata that can be assigned to resources/resource groups.
- ❗ Child resources do not inherit resource groups tags
- ❗ Max 15 tag name/value pairs.
- E.g.
CostCenter = YHZ
- Why?
- Organize
- Search
- View
- Billing & cost managements
- On Portal
- You can search for Tags and see filtered lists.
- ❗ Resources are tagged after resource is created as opposed to PowerShell/CLI.
- Applies to free trial subcriptions, MSDN and Visual Studio subscriptions.
- If spending limit is exceeded:
- Email message is sent
- Deployed resources are disabled in next billing cycle.
- Databases and storage accounts become read-only
- Free trials can be upgraded to Pay-as-you-go
- If spending limit is exceeded:
- Do not apply to support plans, pay-as-you-go, Enterprise Dev/Test
- Returns usage details
- ❗ Supported only in Enterprise enrollments and Web Direct subscriptions
- Available through CLI and different SDKs.
- Consumption APIs
- Enterprise customers only: Price Sheet, Budgets, Balance
- Reserved VMs: Reservation Summaries API, Reservation Details API, Reservation recommendations API
- Others: Marketplace charges, usage details
- Estimates monthly costs
- See online
- Identifies wastage
- E.g. idle VMs, SQL DBs.
- Can configure automatic shutdown
- Auto-shutdown option in VM.
- Recommendations about:
- High availability
- Security
- Performance
- Cost recommendations, e.g.:
- Virtual machine reserved instances to reduce costs.
- VM resizing: Scale up / down
- Remove unprovisioned ExpressRoute circuits.
- Configure rule:
- E.g. Average CPU Utilization < 5%
- In Cost analysis you can filter by Tags.
- Invoices
- Manage in Subscription blade
- Manage payment methods
- 💡 Adding one allows you to remove subscription limits.
- Download usage details
- Transfer/cancel subscription
- Set-up billing alerts
- E.g. e-mail if billing total is $150
- Manage payment methods
- 📝 Use VM Reserved Instances
- You can create one in Reservations blade
- 📝 Set-up auto shutdown in VMs
- Auto-shutdown blade in VM.
- Enables Azure features.
- Many are registered automatically
- E.g.
Microsoft.Compute
that handles VMs,Microsoft.Network
,Microsoft.Sql
,Microsoft.Storage
- E.g.
- Some are not registered automatically
- E.g.
Microsoft.PolicyInsights
,Microsoft.AzureActiveDirectory
,Microsoft.AzureStack
,Microsoft.Botservice
- Custom providers can be registered with subscription.
- Requires the
Contributor
orOwner
roles. - In most cases providers are registered automatically when you deploy resources that uses the providers.
- Requires the
- E.g.
- You can register, unregister, re-register through Subscription → Resource providers in Portal