Whenever I assign permissions on new Azure Subscription to new colleage groups I always create either new Azure budget or manage existing budget alert group to receive necessory subscription cost spending communications. After creating or managing budget I can ensure users are informed of the subscription cost occuring and they will be aware if they are doing overspending their budget within a specific period. Creating budget doesn't affect or stop your resources, it helps track the resource cost usage. (If you want it to take an actions).
To create a new budget in the azure portal, Search and go to Subscriptions.
In the Subscriptions blade, click on the subscription on which you want to setup a budget.
From the left side pane click on the Cost alerts and click + Add button.
On the Create a budget, You can set Budget scoping, The budget you creat will be assigned to the selected scope, my scope is the selected subscription. you can use addition filters like resource groups to have your budget monitor with more granularity as needed, I don't have any filter resource group or resource choosen so it will monitor for entire subscription for costing. under Budget details give your budget a unique name, select the time window it analyzes during each evaluation period. Its expiration date and the amount Give your budget amount threshold, this is amount when your subscription/resources cost usage, you will get an alert. Amount mention here is Currency mentioned on your subscription overview page. In my case budget will monitoring currency is in GBP. Click Next button.
On next Set Alerts tab, configure alert conditions and send email notification based on your spend. Before setting up Alert condition click on the Manage action group.
On the Manage actions, rules management page, click + Add action group.
An action group invokes a defined set of notifications and actions when an alert is triggered, In the project details select a subscription to manage deployed resources and costs. Use resource groups like folders to organize and manage all your resources. In the Instance details provide a name to Action group name, display name is automatically taken and it is limited to 12 characters. Click next for Notifications tab.
Notifications are the configure the method in which users will be notified when the action group triggers. Select notification types, provide receiver details and add a unique description. This step is optional. In the notification type I have selected Email/SMS message/Push/Voice (Another option is Email Azure Resource Manager Role). and in this area I have only selected Email for notification. Other options are you can send SMS (Note: Carrier charges may apply, need to provide country code with phone number), Azure app Push Notifications, Click Ok to continue.
You can use Actions to configure the method in which actions are performed when the action group triggers. Select action types, fill out associated details, and add a unique description, this step is option again. In teh Action Type you have 6 options Automation Runbook, Azure Function, ITSM, Logic App, Secure Webhook, Webhook. I am not defining any action if budget threshold is meet. few of the use cases are you can stop downscale resources with automation or generate tickets or task with ITSM so some one will look into it.
Tags purpose are for categorizing and organizing your resource group or resources logically. Each tag consists of a name and value pair, I will provide tags later. Click Next: Review + create.
Review the action group and Click create button.
It will list newly created Action group. click the x cross to close Manage actions. It will return to set alerts page.
On the Alert conditions select the % of budget and Action group earlier created, As per below when the 90% of budget is utilized of 25doller It will send and email to concern persons. Set the alert receipients email and language preference, Click on the create button.
After Cost budget is created, Evaluated spend and Progress is zero, It will start showing some data after Azure resources consumption.
Recipient receives below email format to notify for new action group creation.
In the last I consumed few Azure resources for few days, Below is the overall subsciption consumption report, Once my 90% of 25Doller (GBP) usage triggers I will start receiving notifications.
Useful Articles
PART 1 : MICROSOFT AZURE CREATION AND CONFIGURATION OF VPN TUNNEL SERIES
PART 2 : MICROSOFT AZURE CREATING RESOURCE GROUP
PART 3 : MICROSOFT AZURE CREATING AND ADMINISTERING VIRTUAL NETWORK (VNET)
PART 3.1 : MICROSOFT AZURE POWERSHELL CREATING AND ADMINISTERING VIRTUAL NETWORK (VNET)
PART 4 : MICROSOFT AZURE CREATING AND ADMINISTRATING LOCAL NETWORK GATEWAY VPN
PART 4.1 : MICROSOFT AZURE POWERSHELL CREATING AND ADMINISTRATING LOCAL NETWORK GATEWAY
PART 5: VIRTUAL NETWORK GATEWAY DEPLOYMENT ON MICROSOFT AZURE
PART 5.1: VIRTUAL NETWORK GATEWAY DEPLOYMENT USING MICROSOFT AZURE POWERSHELL
PART 6: INSTALLING ROUTING AND REMOTE ACCESS SERVER ROLE (MICROSOFT RRAS)
PART 6.1: CONFIGURING ROUTING AND REMOTE ACCESS SERVER DEMAND-DIAL (MICROSOFT RRAS AZURE VPN)
PART 6.2: CONFIGURING ROUTING AND REMOTE ACCESS SERVER ROUTER (MICROSOFT RRAS AZURE VPN)
PART 7: MICROSOFT AZURE CREATE CONNECTION IN VIRTUAL NETWORK GATEWAY
PART 7.1: MICROSOFT AZURE POWERSHELL VPN CONNECTION IN VIRTUAL NETWORK GATEWAY
PART 8: MICROSOFT AZURE ARM AND POWERSHELL CREATING AND MANAGING STORAGE ACCOUNT
PART 9: CREATING AND MANAGING VIRTUAL MACHINE (VM) USING MICROSOFT AZURE RESOURCE MANAGER PORTAL