Azure live cost monitoring - azure

In my Azure environment I am often tinkering around, adding new services, scaling roles up and down, etc. The problem is that I am always unsure as to how I may have affected my monthly bill. I'm also scared of forgetting to kill services after I don't need them (for example, I mistakenly had a Reporting Service running for a few weeks - very expensive!).
I'm looking for an add-on or service which can give be a basic idea of how much money I am consuming in Azure. I don't need something complicated. A graph or two could be great (perhaps a burn down).
I found these but without luck:
Foglight for Azure: This didn't work for me. All my figures showed up as 0.
Active Cloud Monitoring: This has been removed from the Azure add-ons.
Does anyone know of such a solution?

thank you for the question and the feedback. The new Azure portal, which is currently in public preview, does have this feature. You can try out the new portal at https://portal.azure.com/ . Once there, click on Billing tab on the left of the screen, which should bring up a billing summary for all your subscriptions. Click on the subscription that you need to check, and that will show you the billing details for that subscription. Details include subscription status, days left, current charges, burn down, and a breakdown of current charges by resource.
Please try this out and send your feedback using the "Give feedback" link at the top of the new portal page. You will have to click on your account name to see the "Give feedback" option in the drop down.

If you are using "Enterprise Agreement" as a billing option, the Azure portal does not provide sufficient billing information.
You could use Microsoft Power BI to import the data from Azure and use it for reporting. In Power BI you can use the Content pack "Microsoft Azure Enterprise" and connect it to your subscription. You will need the Enrollment number for your Enterprise Agreement and an API key to access the data.
A detailed explanation can be found in this blog entry.

Related

Azure Dashboard to show only service health

Right now I'm limited to using only Azure dashboards for reporting on resources. A dashboard I need to create is one where only the resource health of my resources is displayed the way it is displayed by going to Dashboard->Monitor->Service Health. I need to be able to choose only my resource types and have them display in a nice list with a green arrow for up and that red X for down. Is this possible to do from inside the portal? It's imperative that those that use the dashboard do not have to click anything to see the healthy/unhealthy status. I basically need the list below, but for all of my resources, not just AKS.
Thanks!
I actually found the answer, it's in preview. Create a workbook and add a query. In the query, choose "Azure Health (preview)", for the resource type choose "Subscription" and BOOM!, there it is. This was easier than I thought, I just had to do some heavy digging. I hope this helps other people trying to do this. Oh, and I pinned this to a dashboard and everyone was thrilled.
Interesting ask indeed. AFAIK, pinning Azure Resource Health filtered by resource type to the Azure Dashboard is not supported as of today. Also, I noticed that the pin icon atop the page only creates a shortcut to Azure Service issues but not to the Resource Health blade.
You can submit your suggestion to the Azure Service Health Product Group through their feedback forum, or upvote this similar idea.

How to see detailed cost breakdown for Azure subscription

I can't understand how to see the detailed breakdown of costs behind my Azure charges.
I tried the cost management and billing options within the Azure portal, but just got lots of graphs with no clear idea whether I am looking at totals or how to drill into.
I expected to be able to download detail, but can only see confusing graphs
I eventually found you need to follow this exact process to download the actual transactional data from the portal:
Azure portal -> Cost analysis
Select relevant dates from the menu at the top
Granularity -> daily
Group by -> Meter
Change the small graph symbol in the top right to be a table
Now can chose Export and you will be able to download all detail to excel / csv to analyse yourself without having to use the Azure pre-canned 'helpful' graphs.
As far as I can tell if any of the above steps are not followed, the download doesn't give you the transactions.
To see usage details for an Azure subscription:
Go to Cost Management + Billing
Select your subscription
On the Overview blade, click the Manage button which takes you to the Billing Overview
Select the subscription to see details for
The sidebar on the right has actions you can do. One is Download usage details

Transfer SQL Azure servers, Storage Accounts away from CSP subscription

We have a CSP subscription through a partner, and the whole experience is rubbish. Costing / billing APIs not available, can't use our Office 365 Azure AD, can't use SendGrid, can't see the cost of resources in the portal, loads of features missing. It's rubbish.
We're moving away and want to transfer a substantial number of SQL Azure servers (with many pools and databases) and Storage Accounts (with lots of items) to another, new PAYG subscription, which uses our O365 Azure AD.
#AzureSupport on Twitter pointed me to - https://learn.microsoft.com/en-us/azure/azure-resource-manager/resource-group-move-resources
But this says, "The source and destination subscriptions must exist within the same Azure Active Directory tenant."
It suggests two ways forward:
https://learn.microsoft.com/en-us/azure/active-directory/fundamentals/active-directory-how-subscriptions-associated-directory
But... The "Change Directory" option is not present for CSP accounts (lo and behold! another missing feature)
https://learn.microsoft.com/en-us/azure/billing/billing-subscription-transfer
But.. Heading to https://account.windowsazure.com/Subscriptions as instructed gives me a 500 error, with "We are sorry, but we could not complete that operation.".
Also.. Of course, the CSP (Ingram) do not offer any of these kinds of options on their sub management portal.
#AzureSupport then recommended I post here.
Can anyone advise / help please? Would be very much appreciated, thank you.
You are currently blocked, as there is not a good workflow to migrate from CSP to Pay-as-you-go, as the below User Voice entry suggests others are looking for the same. Please up vote and comment on this.
Change subscription from CSP to pay-as-you-go
As for getting switched back to PAYG, I suggest exporting your data and importing in to new services that have been set-up under your desired account set-up. If you need the instance names, these will need to be deleted before the data can be imported into the newly created service with the existing instance names, in cases where instances names can be reused after deletion of the particular service.
There is currently no supported means to migrate a subscription away from CSP once migrated, from my investigation.
Use Azure Data Migration Service to migrate from source to target. This though, will not allow you to keep the same instance names, as both the source and target will need to exist at the same time.

Azure - Finding resources I am an owner of in another azure account

I am just getting started with azure, (working with IoT hubs) hopefully this isn't too dumb a question - I didn't find it by searching on here...
Anyway - I have had a play about with an IoT Hub instance owned by my azure account (started on the 1 month free trial, then today I also added an MSDN member free benefit)
Now basic connectivity from the device I'm programming to my own IoT-hub instance is happening, I want to work with the IoT-hub instance in the account of my employer, so all data goes into their system from now on.
They've set me up as an owner on their side for their IoThub I want to connect to (I have a screenshot that shows I'm an owner for the resource in question - attached) but when I go into my azure dashboard I can't seem to find any way to show me this resource.
So, how do I find this?
You could try looking in "subscriptions" to see if your employers is listed. You can also click on your profile name to see if there are other directories listed that you can browse within for resources. Another option is that when you set up your deployment, your employers subscription will be an option you can select to deploy into.

Azure Subscription Disabled

We belong to bizspark program and have an Azure subscription that has been disabled.
Unfortunately, we don't know why and how to see what percentage of our resources is spent.
Anyone know also when Bizspark subscriptions are reenabled?
Your account has been disabled because you have reached your spending limit.
To get more information:
Go to manage.windowsazure.com
click on your email address in the top right corner
select Account
Log in
Click on your subscription and you can view a summary of charges
If you want your account to be re-enabled for this period, you will have to adjust your spending limit above $0. Be careful though, once you do that, I don't think you can go back.
Try going to https://account.windowsazure.com/Subscriptions (log in if necessary), and once you're there, click on the subscription in question. That should take you to a summary page on the billing for the account.
By default, it shows only the common usage metrics - it's likely you have exceeded one of these, and it should be easy to figure out which component put you over, but if not, try clicking the drop down that says "Show Common Usage" and change that to "Show All Usage".
As to your second question, the disable/re-enable cycle happens monthly, and if you've had your account for more than a month, it should have "snapped" to a period that spans from the first to the last of the month. If not, your period could be different, spanning from the first day you had the account to 30 days after, and "snapping" at that point, or it could be a pro-rated period that is from the first day of your account to the last day of the same month, with usage quotas pro-rated into it.
Regardless, your stuff should be re-enabled on the first day of the next billing period (which could be today, or perhaps September 1st, depending on what put you over).
I did face a similar issue with manage.windowsazure.com portal, but I'm successful in creating apps/site with the same subscription on the new portal (portal.azure.com). Once after creating an App/site in the new portal, this problem is resolved (even I'm able to publish from Visual Studio).
Hope this helps someone.
I had this problem but had definitely not reached my spending limit, I had $100 credit left. Yet I was getting the following message
We were unable to find any Active subscriptions associated with your account. SIGN UP FOR WINDOWS AZURE PRODUCTION PORTAL WINDOWS AZURE HOME PAGE CONTACT SUPPORT
In my case, it was because I had logged in to MSDN at some time with company credentials. So although the URL for my azure indicated my username and account such as:
https://manage.windowsazure.com/#mynamegmail.onmicrosoft.com#Workspaces/All/dashboard
Even though I had already selected sign out on MSDN, Somehow it was mixing the two accounts. I had to sign out of Azure from the Manage Azure screen and sign back in again with my personal Microsoft account.

Resources