Azure Web App plans - azure

I have just started exploring Azure, and my main purpose is to host the O365 SharePoint Provider Hosted App. Which means I need to create web sites.
I am looking at the pricing of Azure WebApp at How Azure pricing works, and they are Free, Shared, Basic, Standard, Premium.
There are few things which I have not understood completely.
Basic, Standard, and Premium plans provide Virtual Machines dedicated to your plan: Does this mean that I will get a VM which accessible and on that my website will be hosted?
The Shared and Free are have cores 240 cpu minutes/per day and 60 cpu minutes/per day resectively: What does this exactly means?
Azure is already on secure port i.e. https:// : So do I need to have an SSL for my Provider Hosted website

App Service VMs are not accessible in the sense of RDP/SSH. It just means it's not shared with other tenants.
MS has not published exactly how CPU Minutes are calculated (that I am aware of), but obviously it correlates to how heavily your app is used. [1]
The Azure Portal is already on https. For web apps, MS provides a wildcard SSL cert for the *.azurewebsites.net domain. If you use a custom domain then you are responsible for obtaining the SSL cert. [2]
[1] https://stackoverflow.com/a/15758256/310446
[2] https://learn.microsoft.com/en-us/azure/app-service/app-service-web-tutorial-custom-ssl#bkmk_azurewebsites

Related

On Azure, Is there a way to use shared tier with custom domain and ssl?

I have a dotnet website on Azure App Service, with a custom domain and their generated SSL cert. I get about a dozen hits a day (LOW traffic). The service level that azure requires is a B1 which includes the ssl cert. and custom domain, but $70 a month seems crazy high for the amount of traffic.
Is there any alternatives/solutions/workarounds to use the shared tier level with custom domain and SSL to have a server in the $20 range instead? I have looked at cloudflare, but still azure won't allow their ssl on any lower levels tiers.
I suppose an alternative is aws or google, but I imagine they have the same pricing? plus, I like the integrated tools with dotnet and Azure :(
Is there any alternatives/solutions/workarounds to use the shared tier
level with custom domain and SSL to have a server in the $20 range
instead?
No, As per the current Azure documentation To create custom domains & custom TLS/SSL bindings or enable client certificates for your App Service app, your App Service plan must be in the Basic and above tier ( Standard, Premium, or Isolated tier). It is the ASP (App Service Plan) tier.
Alternatively, As mentioned in this SO thread, you can use Azure front-door service Create Linux-based proxy server, and setup proxy and use it as a ssl-termination.
CloudFlare Free plan comes with a free SSL certificate. So essentially your traffic is SSL secured.
For more information you can refer this SO thread.

Hosting on Microsoft Azure

I already have a domain name purchase from Google Domains.
I would like to host this site on Microsoft Azure, How should I plan to purchase all the required resources on Azure, if I want to host a Wordpress site, but would also need control over the size, if in future I plan to host some microsite with NodeJS or any other technologies like Java or .Net Core.
What would be my cost per month considering the above requirements?
Below is the list that I envisioned that I may need, can anyone suggest something this I missed.
A VM with Ubuntu (That would take care of Wordpress, Database(MySQL), NodeJS, Java and others)
Map my domain with Azure and map it with the VM
The solution you're thinking of is also known as IaaS (Infrastructure as a Service) and it is something you'd usually consider when migrating from an on-prem solution where you already have the VMs images for your needs.
In your particular case I'd recommend looking into PaaS (Platform as a Service) - specifically Azure App Service.
Everything you enumerated can be hosted in an Azure App Service as it supports all major technologies for deploying web apps today (.Net, Node.js, Java, etc).
In addition to your own code, Azure offers a number of build-in templates for 3rd party vendors that allow you to deploy pre-packaged solutions such as Wordpress without having to worry about the installation yourself. See this Wordpress on Azure article for more details.
Pricing information for Azure Web Apps can be found on the docs page. In your case I suspect you could do with a B1 or S1 instance.
Lastly, for your domain name, you can easily map and configure any custom domain to an Azure Web App by simply updating the DNS records in your Domain Management system and reference that in the Azure Portal. See docs for details.
Adding to Alex's response. To provide you a good understanding on hosting website on Azure. Firstly, I wish to highlight that Azure offers several ways to host websites: Azure App Service WebApps (PAAS solution), Virtual Machines (IAAS), Service Fabric, and Cloud Services.
Azure App Service (PAAS solution) is the best choice for most web apps. Deployment and management are integrated into the platform, sites can scale quickly to handle high traffic loads, and the built-in load balancing and traffic manager provide high availability.
WebApp is a fully managed compute platform that is optimized for hosting websites and web applications.
If you wish to host your website/app on an Azure VM (IAAS solution), you would typically install, design and configure the app in a similar way as you would onprem. If you have an existing application that would require substantial modifications to run in App Service you could choose Virtual Machines in order to simplify migrating to the cloud.
Take a look at the supported and unsupported configuration on App Service Migrate - Migration checklist when moving to Azure App Service : https://azure.microsoft.com/en-us/blog/migration-checklist-when-moving-to-azure-app-service/

ssl certificate bought from GoDaddy + Azure

I'm trying to upload my ssl certificate bought from GoDaddy to azure, but custom SSL is not supported in the Free or Shared tier. Do I really need to scale up my plan to Basic in order to install ssl in azure? Has anyone faced this before?
The documentation is clear in that Custom Domains/SSL Certificates are not supported in the free tier. Your choices are Shared, Standard, Basic, Premium, and Isolated--all of which are tiers you pay for.
From your issue description, I believe it is Azure App Service WebApps.
Yes. To use custom domains in Azure Web Apps, your web app's App Service plan must be a paid tier (Shared, Basic, Standard, or Premium).
Reference: https://learn.microsoft.com/en-us/azure/app-service/custom-dns-web-site-buydomains-web-app#prepare-the-app

How to configure an SSL certificate only for the custom domain ( skip domains *.azurewebsites.net)

I have several (4) web apps running on Azure: 3 of them require very little processing power, thus, they had been running
on a Free plan; while the other one is meant for final users which means a higher load and a needs for a custom domain and SSL certificate.
SSL certificate was correctly configured (https://azure.microsoft.com/en-us/documentation/articles/web-sites-purchase-ssl-web-site/) and is working as expected.
However, we noticed all of the other sites are now importing this SSL certificate as opposed to the one offered by default by Azure (the one for *.azurewebsites.net sites);
this has caused all of our Free sites to move to the Basic tier automatically. We are the unable to set them to Free again, as an error message states Free does not support
our custom SSL certificate for our custom domain.
Notice that our custom domain is in no way associated with any of the (3) Free sites but just the one that needs it.
Also, when going to SSL cert options in our Free sites, we cannot remove the custom SSL cert, as it states the site requires at least one of them, and custom one is the only one.
When creating a new site, this custom SSL will be automatically imported as well.
What should we do so the Free sites make use of the default *.azurewebsites.net SSL cert instead of the custom one, so we can then get back these sites to the Free plan?
Thank you for your help.
1.Root cause: It maybe that use the same hosting plan for all your websites.
As free app service plan doesn’t support custom SSL, if you want to use your user custom SSL then need to scale up to app service plan from to basic or higher.
After scaling up the App service plan, it will apply to all your websites in your app service plan.
2. How to resolve it
Please have a try to create another free app service plan for the 3 websites. Detail please refer to how to create-a-new-app-service-plan and Move an app to a different App Service plan.
Note: Only valid plans (in the same resource group and geographical location) are shown.
With Azure websites you are basically renting an IIS instance. In order to use SSL on your website you need to switch your plan to "Basic" or higher, as you've seen. Right now I think all of your websites are in the same "webhosting" plan. This means that they are automatically scaled to the "Basic", as you are basically scaling the IIS instance, not the indiviudual website.
See it as buying a hosting plan that can host multiple web applications. If you move to basic, you end up paying for 1 basic plan that hosts all 4 sites (so not 4 billable plans, just 1).
In this case you won't end up with a higher bill (you need a basic instance for the SSL-site anyway) - the other sites are including in this same hosting plan for 'free' - sharing the resources of the basic instance).
If you want to keep the basic site and the 3 free sites separated, you should create a new webhosting plan (App service plan) on the new Azure Portal (https://portal.azure.com) and move those 3 websites there.
I would recommend letting those 3 sites use the basic plan - it won't cost you any extra.

Host 2 separate sites, one domain, on one Azure site

I have a wordpress site hosted on Azure. Call it, mysite.com. I'd also like to develop a separate .net app and host it at subsite.mysite.com. How can I do this without having to pay for 2 separate Azure sites?
There are ways to achieve what you require. However, key point here is to understand the Azure App Service. Because, in Azure app service, you never pay (your concern is having to pay, not having to maintain) for a single site!
If you take a closer look at the App Service Pricing model, you will see that even with the free (like in Free lunch) tier, you get to host 10 applications in your hosting plan. But you need custom domain, then you go to Shared plan, you already can host 100 web sites within it, all with your custom domain/s.
Next you will have to learn a bit about what is Top Level Domain, what is Domain, what is Sub Domain, what is A DNS Record and what is C-Name DNS record, because these are all thing you need to understand in order to properly configure your sites.
And finally read the article on how to configure custom domain for Azure App Service.
Remember. With Azure App Service, you are paying for a hosting environment (or service plan), not for a single web site!

Resources