azure-app-service-plans

How can I make sure a new autoscaled Azure App Service instance is warm before it handles traffic?

天涯浪子 提交于 2019-12-21 12:27:32
问题 With autoscaling turned on on an app service, Azure will add instances as needed based on set rules. I always start from a minimum of 2 instances. I'd like to make sure that traffic is not directed to the new app service instance until the application code has fully initialized. How can I do this? IS it possible to add a timeout? Or is it done automatically somehow? 回答1: How can I do this? IS it possible to add a timeout? Or is it done automatically somehow? If you use horizontal scaling,

How to restart Azure App Service Instance

懵懂的女人 提交于 2019-12-21 07:15:19
问题 I have an Azure App Service that contains 1 Web App with 1 slot. I have 2 instances assigned to the App Service. This week, the App Service shows about 60% CPU usage, and its usually about 10-15%. Upon further investigation, it looks like 1 of the two instances is maxed out. When opening up the Site Metrics per Instance, I can see that HTTP Response times are in the 1000s of milliseconds for one instance, and less than 200ms for the other. I have tried restarting the W3P process on the

How to deploy Angular 6 with .NET Core 2.0 Web API Application to Microsoft Azure?

一曲冷凌霜 提交于 2019-12-20 14:17:11
问题 How to deploy Angular 6 with .NET Core 2.0 Web API Application to Microsoft Azure? I have created ASP.NET Core 2.0 Web API (Server-Side app) application and inside that created Angular 6.0 app (Client-Side app). Both apps are build and running successfully in a local environment (Database - MongoDB: mLab server). Now, I want to deploy an angular app with .net core web API app to Azure environment in a single web app service (where client app and server app (web API) will serve). However, I

Azure move app service to a different app service plan

穿精又带淫゛_ 提交于 2019-12-19 05:18:46
问题 I have the following setup: Resource group 1 App service plan 1 App Service 1 (app service plan 1) Resource group 2 App service plan 2 App Service 2 (app service plan 2) App Service 3 (app service plan 1) I would like to move App Service 3 which is into Resource group 2 but uses app service plan 1 , to app service plan 2 . Is this possible? I have tried to use the feature "Change App service plan" available on the new portal but when I click on it a blade appear saying that "No App Service

Deploy two Azure App Services to the same App Service Plan using idempotent ARM TEMPLATE

纵饮孤独 提交于 2019-12-13 12:12:39
问题 PROBLEM How to deploy two different Azure App Services to the same App Service plan when using VSTS idempotent continuous integration / continuous deployment processes. ENVIRONMENT I have written two ARM TEMPLATES each of which deploy a web application to Azure App Service. In order to deploy an App Service an Service Plan must be created first. The ARM TEMPLATES currently create a unique Service Plan each for each Web App. I am using VSTS Release Definitions to deploy on each successful VSTS

Get-AzureWebSite : Requested value 'PremiumV2' was not found

℡╲_俬逩灬. 提交于 2019-12-13 03:39:32
问题 I added a new Premium V2 app service plan. Now when running Get-AzureWebSite in PowerShell I'm getting the following error message: get-azurewebsite : Requested value 'PremiumV2' was not found. At line:1 char:1 + get-azurewebsite + ~~~~~~~~~~~~~~~~ + CategoryInfo : CloseError: (:) [Get-AzureWebsite], ArgumentException + FullyQualifiedErrorId : Microsoft.WindowsAzure.Commands.Websites.GetAzureWebsiteCommand What is the error about? 回答1: The old CmdLets are no longer well supported, and don't

Does Azure charge for number of app services

女生的网名这么多〃 提交于 2019-12-12 22:26:50
问题 Does Azure charge only for the utilization of App service plan resources or for the number of app services we create under that App service plan? Does the number of app services created under a app service plan effects cost? I am developing a microservices project and I am unsure of whether to deploy each microservice in a dedicated app service or deploying all in one app service as virtual directories. Cost is a concern for our project. Thanks. 回答1: Does Azure charge only for the utilization

How to see Azure App Service memory usage?

为君一笑 提交于 2019-12-12 10:29:28
问题 We have an Azure subscription through a Cloud Service Provider (CSP), which causes some limitations on what we can get and see in Azure. Nevertheless, we can see CPU and Memory usage per App Service Plan . How can we see the same for specific App Services under the plan? If I see abnormal CPU/memory utilization for the plan, how can I tell which App Service is causing it? 回答1: You can check this under any Site -> scroll down to the "Metrics (App Service Plan)" option. There you will be able

Custom logs in Azure website file system combined into single log file

那年仲夏 提交于 2019-12-11 20:21:33
问题 My Azure web app (App Service) writes a log file mywebapp.log to the d:\LogFiles directory of the VM that hosts the website. When the log file gets to a certain size I rename it to mywebapp1.log , mywebapp2.log , and so on so and a new log file is created. (I do this manually - stop the website, rename the file and restart the site.) One day I inspected the directory through the Kudu (SCM) portal and saw just a lone mywebapp.log that was much larger than normal. The file included all of the

Windows Azure hosting charges for non-commercial dev demo application?

我的梦境 提交于 2019-12-11 08:24:45
问题 In windows azure CTP evaluation, i got invitation to open 19 hosted services. I have utilized about 10 of them to put small cloud sample (non-commercial) application. When the azure goes into production, would i get charged for it? If yes, any idea how? 回答1: Yes, you will be charged if you want to continue hosting on Azure. Check this blog for details. To quote MS `If you elect not to upgrade, on February 1, 2010 your CTP accounts will be disabled and any Windows Azure Storage will be made