Cannot set up azure website from gallery - azure

Trying to create new website from Gallery using Orchard or Umbraco fails. It shows as set up then immediately fails, removes itself from the list with the error message - 'Cannot contact server to determine the state of web site'
If I retry, the chosen url is taken so it has registered it somewhere

These kind of things happen with most of the cloud platforms. In fact I kind of experienced this with Azure Traffic Manager. Give it some time and RETRY again and it will be fine. I am confirming that I was able to create Orchard Website right now in Azure.
if I retry, the chosen url is taken so it has registered it somewher
It might take some time for Azure to flush all DNS entries, usually 5 - 10 mins (in my experience). Once done, you should be able to use your chosen urls, unless they are already taken by some other persons.

Related

How to get notified about breaking changes in Azure services?

I looked for this online and to my suprise I didn't find any relevant information.
We recently had a serious crash because one of Azure services had some breaking changes. This information was published on the service website and also I think shown as warning on Azure portal. The problem is that nobody checks the website if it's not needed and warnings can be overlooked.
I wonder if there is a mailing list or some other way to get emails only in case where there are some planned changes with serious impact on the services?
Regards
On this page https://learn.microsoft.com/en-us/azure/active-directory/fundamentals/whats-new it says:
"Get notified about when to revisit this page for updates by copying and pasting this URL: https://learn.microsoft.com/api/search/rss?search=%22Release+notes+-+Azure+Active+Directory%22&locale=en-us into your RSS feed reader icon feed reader."
I didn't find anything about an email list, but I did find this tool that takes an rss feed and emails you.
https://blogtrottr.com/
Ok so this is what I was able to find.
The best way to get notifications about potential breaking changes is to use Azure Service health available in Azure Portal - link
Here we can see planned certificate changes, some services being updated etc.
We can also configure for this to have notfications in Health Alerts section

Resource creation screen says my Azure subscription is disabled even though it's not

I'm trying to add a SQL Database to my resource group, but it says my subscription is disabled. However, when I go to my Azure subscription page, it says it's active. And my hosted web app loads successfully in the web browser, so that must mean my subscription really is active, right?
Why does the SQL Database creation screen say that my subscription is disabled? What can I do to fix this?
I should mention that my subscription actually was disabled this morning, but then I fixed it by changing my payment plan. However, that was several hours ago. Do I just need to keep waiting for my changes to take effect? Or is there some other action I'm supposed to take?
Update: After waiting 24 hours, the error has gone away. I guess it just takes a long time to fully reactivate a subscription.

Azure Blob Storage - Static Site analytics

I've got a static web site hosted in Azure Blob Storage with Cloudflare as my CDN. It's such a small site (not even 1Mb and only 1 blog post), but I'm getting 1.1-1.2Gb of requests each month for the past 6 months or so with no explanation. Is there a way to find out what is being requested? In Azure, I can only find information about the performance, up-time, etc, but nothing about url's and I need to pay to get this info from Cloudflare (I believe). Has anyone else experience such strange requests?
I suggest you open Diagnostic settings and download Azure Storage Explorer to view the logs.
When you finished settings, u can check logs by tools. You can see request urls and http status info.
The previous data should not be visible, but you can monitor and analyze future requests.
When I did a lookup on those two IP's, they were both registered to Cloudflare, one makes sense given I'm using their service, but to have what appears to be their bot hit my site with this frequency doesn't... Wonder if there's a setting

Moving resources from disabled to new subscription in Azure

I've got all my stuff under a subscription that got disabled (changed the employer). I registered a new one (pay-as-you-go on my own credit card). Attempting to move the deactivated sites to the new one failed and the portal says:
Resources cannot be moved from disabled subscriptions.
I've followed the link provided and googled around finding that "...source and destination subscriptions must be active...". That's not very helpful in my case as I have no means to make the admins managing the old subscription reactivate it, not even for a short while.
Do I have to scratch everything and re-publish the application? It won't let me do that on the same URL (and re-configurating the SQL server/DB might cause addition issues). Google gave me nada and I wonder if there's a way to simply move the stuff somehow in the portal.
I can't wait for the reply from MS support because the site manages a register for people with some mental disabilities and not being able to access the material is a huge blow on their daily peace.
Oh, I'm running the site pro-bono (out of my own pocket for the unfortunate souls) so a solution that's pricey might be a show-stopper.
This happened to me. Go to the subscription and reactive it by converting it to a pay-as-you-go subscription. Then you can download and move resources. If you don't need the subscription after that, you can delete it.

Getting web page hit count with IIS logs in Azure

I have a website hosted in Azure as a cloud service (not as a website), and I need to get the hit count for every web page of the site.
I enabled Azure Diagnostics, and I see the IIS logs copied to my blob storage, however this logs contain very few data (only one hit to a javascript file).
Furthermore, putting "Verbose" or "All" in the diagnostics configuration of the web role doesn't seem to affect the results, I get only one line (an access to a css file, or an image file, etc).
I'm using Azure SDK 2.0.
Is it possible to use the included IIS logs generated by azure to get a hit count? What should I need to change in the diagnostics configuration?
Or should I need a different approach to achieve this?
The IIS logs it produces are the same ones you'd find on a Windows Server anywhere. Note that depending on the settings you provided to the diagnostics it might take a little while before the data is moved to the storage account. Setting the level of verbosity for the configuration determines what is moved from the instances over to the storage account. Did you give it plenty of time to move the data over before looking at the file in storage again? Sometimes it just brings over what it has, and of course, there could be buffering which means when the file was brought over not everything was in it, etc.
You should be able to get this information from the logs, and yes, you should be able to do it from the IIS logs. That being said, if what you are after is a hits per page I would suggest actually a different approach. Look at an analytics provider like Google Analytics or one of the competitors to that. You'll get a massive amount of information beyond just page hits and no need to worry about parsing log files, etc.

Resources