Trying to deploy docanno to Azure - azure

New to Azure and looking for some support. I'd like to deploy docanno https://github.com/chakki-works/doccano to the free school/work subscription I have for Microsoft Azure.
I have been totally unsuccessful so far. On the docanno page for deploying to Azure it states that it uses Web App for Containers + PostgreSQL database - do these come with the free account for Azure? The Web App for Containers page reads that my subcription does not include that.
I'd appreciate any help here and it's probably really apparent I am new to this so I apologise if this message is not clear.

I tried to deploy doccano in my Azure subscription, and I found the reason why you can't have progress. The App Service SKU starts from B1, that is the virtual machine family, this machine is not free, you need to pay to use it, the value is not too much, however a free account will not have sucess to deploy this way. What can you do is to deploy this application manually, however It's not to simple to do this, because is your first time using Azure. It would takes you almost 1 hour. If you need any help fell free to contact me back.

Related

Azure Bot Service / Unable to Create Web App Bot / Location not supported

I have been trying to create a Web App Bot using the Microsoft Azure Portal. However, I have been unsuccessful in doing so, as I am constantly getting the error "Location '{any server location}' is currently not supported" when I try to add any new App Service-Plan. My active App Service Plan (B1, Linux, West Europe) is not even an option that I can select when choosing a plan.
I am somewhat confused and frustrated with this behavior as during my free trial period the creation of an Web App Bot did work and I am also able to create a Functions Bot.
I am sure, that there is some kind of problem with the App Service Plan, but I am not able to figure it out myself. Maybe one of you did stumble upon this issue already and is able to help me?
I had the same issue, but I resolved it by changing "consumption plan" to "app service plan."
screenshot

Understand Azure Websites Pay-As-You-Go

I have a Pay-As-You-Go subscription on Azure and I created an "app" with intention to have a small blog. I didn't add or setup any other services or anything else.
It says "App Service Plan: Default1 (Free: 0 Small)"
What does it mean?
I'd like to understand how it works, how am I being charged?
Shouldn't be free considering I didn't add any service?
How do I know I am on the free tier?
Sorry if it sounds stupid
In Azure when you create a Web App, you need to have a server to host it on. To achieve that Azure creates a think called an App Service Plan (Think hosting server). The App Service Plan is what your billing is based on. Depending on the App Service Plan selected, you can host multiple sites on a single app service plan like you would on an on-premise server.
Azure App Service Plans come in the following tiers:
F - Free - No cost but limited compute time (60 minutes a day)
D - Shared - $9.67
Basic - Starts at $55.80
Standard - Starts at $74.40
Premium
So from the looks of it, it says you are using a Free plan. To verify, go to the Azure Portal, navigate to your App Service. Then under that section got to App Service plan.
Which should give you the answer that you posted. So indeed you are using the Free tier of Azure. With that in mind, you app will only run 60 minutes a day, after that compute time has been used, your site will be shutdown. In addition realize that your site will "sleep" in between visitors causing the initial load to be affected.
Hope this helps.
More about costing can be found here.

Azure Web Service Options that are "Legacy"

I am looking at possibly running some of our business on Azure.
I am trying to pick the services that would work best for my company, but I am getting mixed signals.
Because I am starting a new system, I want to pick the offerings that are not "legacy" (aka "current"). But there seems to be no way straight forward way to know that.
For example, this page of the Microsoft Documentation says
Cloud Services is similar to Service Fabric in degree of control versus ease of use, but it’s now a legacy service and Service Fabric is recommended for new development.
This page clearly states that Cloud Services is "legacy". However, you would never know this by going to the Cloud Services overview page. It has great marketing material that sells Cloud Services as a great option. But if I picked it, then I would be starting out on a platform that is in a legacy status.
Now I know that about Cloud Services vs Service Fabric. But there are tons offerings on Azure. I am trying to research them one by one to find out which ones are the most recent incarnation, but I feel like I am wasting my time.
Another example is storage. Lucky for me an Azure MVP answered my question on this one. Apparently, there is "older storage account" based disks and "managed" disks. Turns out managed disks are the new, easy way to do things. The storage account is harder. Still available, but not really what a new user should be picking. But again, this is very hard to find out unless someone who has been working with this stuff for a long time tells you.
I was about to start in on App Services and Web Apps, but I thought I would ask first to see if I am doing research that is already done and posted out there.
Is there somewhere that shows the current list of Azure services that you should look at if you are starting a new project?
I asked the similar question almost a year ago, and I even spoke with Azure Support Team after that. At that time, Microsoft did not officially state Cloud Service is legacy.
Does Azure App Service/Web App replace Azure Cloud Service?
We have been hosting our enterprise applications in Cloud Service since 2013, and a couple of them are in App Service. Here is my thought -
4 years ago we only have Cloud Service - Web Role and Worker Role,and App Service (formally named as Web App) is not fully ready for enterprise applications yet. Since App Service came up, Microsoft heavily promote App Service compare to Cloud Service. In addition, what I notice is Cloud Service did not get new features like App Service.
Service Fabric is quite new, and it doesn't have all the belts and whistles like App Service, so we might have to wait a bit for enterprise applications.
Only advantage of Cloud Service is you can remote desktop to a role instance, after the application is deployed.
If I host a new application in Azure today, I'll definitely use App Service.
Microsoft has published a list of Azure reference architectures. It was last updated in November 2016. You can browse it here, and there is some guidance given. But for example, you mentioned using Service Fabric (which is a great way to go for a robust app that really needs to scale), but Service Fabric isn't mentioned in the aforementioned resource.
I spend a lot of time running down Azure resources in relation to web applications (not to be confused with App Service Web Apps), and I have not found a definitive source of the type of info you're looking for personally.

Track my costs on azure (FrontEnd-Pool, UnusedPool)

Im an azure newbe.
A while ago, I tested out some azure functionality. An app-service to test out azure functions and a webapp.
My (only) resource group is named MyRG (red line in attached picture).
A few weeks after I get the message that all my MSDN Pro-free-quota is used up. I can see that 99.9 of the resources was eaten up by
"FrontEnd_Pool_for_MyRG-appservice" and "Unused_Pool_for_MyRG-appservice"
When I look at my overview (below)
So... to my question:
can I find my costs in the overview, so I can remove/deactivate it? I cant test anything right until tomorrow, since its all deactivated
Bonus question)
Im using this as personal dev area.
What is the easiest way to deactivate a resource when Im not using it, I guess my mistake here was that I didnt deactivate something (expensive). Can I automate deactivation?
(This is the correct answer, in case I forget to log in here in 2 days and mark it)
Created an azure serivice ticket which went surprisingly smooth and fast.
Two calls and I got the answer. Sorry MS if I trashed your customer service, this time it was great :)
Everytime you create an "app service" (second row on my second screenshot), youll get the FrontEnd_Pool/Unused_Pool. I didnt use mine, so I removed it, and the problem should go away.
Thanks Feranto! Your help lead me to the answer!
So for the first question. Yes you can, to do this you should follow the next steps:
Go to the azure portal
Look for the subscription option
Select your subscription
There you can see an overview
Then you can click the graph that says "Costs by resource"
Here you will get a complete detail of your costs by the name of component, what type of component it is and finally to what resource group it belongs
Here you will be able to see every component by its original name, type or resource group name. Hope this works out for you!
And for the bonus question, if you are using PAAS services in azure it is not enough just to stop the service as it is in IAAS with vms. The only way to stop an app service from charging you is either deleting it or updating the App plan service to the Free tier. I would recommend the second one.
This is in the first faq in Microsoft's App Service website. :
Am I charged for apps while they are in stopped state?
Yes. Rates listed apply to apps in stopped state. Please delete apps
that are not in use or update tier to Free to avoid charges.
You can automate this process(either deleting or updating app service plan) trough the use of Azure Clients like the REST API, azure-cli or powershell.

Create Azure task scheduler

We are going to host our ASP.Net web site on Azure server. I am not quite familiar with Azure. I need to create some kind of scheduler which will send request to google API once a week and save response data to DB. I read some articles about Worker Role. Is it suitable for this? How it should be deployed to the Azure server? Any other solutions?
You could certainly make use of Worker Role for that purpose however I would not recommend going down that route as you are only going to use the functionality once a week. Or in other words you would be under utilizing the resources. Do take a look at Windows Azure Mobile Service Scheduler: http://www.windowsazure.com/en-us/develop/mobile/tutorials/schedule-backend-tasks/. Other alternative would be use a 3rd party service like Aditi Scheduler: http://www.aditicloud.com/. There's also a website which also allows you to do the same functionality (I'm sorry I forgot the name of that site :)).
If you're still keen on doing it through Windows Azure Worker Role, I wrote a blog post about the same which you may find useful: http://gauravmantri.com/2013/01/23/building-a-simple-task-scheduler-in-windows-azure/.

Resources