并发Azure Powershell Azure会话数 [英] Number of concurrent Azure Powershell Azure session

查看:74
本文介绍了并发Azure Powershell Azure会话数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好

很抱歉,如果这是一个错误的论坛类别,我仍然是论坛新手。

Sorry if this is the wrong forum category, I am still new to the forums.

我一直在开发一个网络应用程序,旨在允许用户手动启动他们的Azure虚拟机(以节省成本,而不是在额外的时间运行虚拟机)。用户只需输入他们的机器名称,web-app就可以处理其余的名称。


I have been developing a web-app designed to allow users to manually start their Azure VMs (to save cost instead of running VMs at additional hours). The user simply enters their machine name and the web-app handles the rest.

目前,使用带有C#脚本的IIS托管Web应用程序,该脚本调用Azure PowerShell,使用加密密码对Azure进行身份验证,然后启动机器。

Currently the web-app is hosted using IIS with a C# script calling Azure PowerShell which authenticates with Azure using an encrypted password and then starts the machine.

我的问题是我不确定有多少人可以使用网络应用。我使用IIS非常缺乏经验,但我认为它会自动处理许多请求。我主要担心的是同时打开许多PowerShell会话,所有会话都来自相同的
加密密码并使用它来对Azure进行身份验证。 目前,如果我一次提出几个请求(少于7个),他们将处理。  如果我在浏览器的更多标签页面中打开网络应用程序并尝试同时启动多台计算机,则需要
  PowerShell命令 Login-AzureRmAccount
将抛出错误" user_realm_discovery_failed:用户域发现失败:远程服务器返回错误:( 407)需要代理验证。我发现这令人困惑,因为当web-app收到大量请求时,这只会发生

My issue is that I am unsure how many people I can allow to use the web-app. i am very inexperienced using IIS but I assume it handles many requests automatically. My main concern is having many PowerShell sessions open at once, all reading from the same encrypted password and using that to authenticate against Azure.  Currently if I make a few requests at once (less than around 7) they will process.   If I open the web-app in many more tabs in my browser and try and start many machines at once, the  PowerShell command Login-AzureRmAccount will throw the error "user_realm_discovery_failed: User realm discovery failed: The remote server returned an error: (407) Proxy Authentication Required." I'm finding this confusing because this only occurs when the web-app gets a lot of requests.

-AD

推荐答案

您好TheSoftGamer2,

Hi TheSoftGamer2,

感谢您在此发帖。

您的问题与IIS有关,您可以在
IIS论坛
以获得合适的支持。

For your question is more related to IIS, you could post a new thread in IIS forum for suitable support.

CLR论坛讨论并提出有关.NET Framework基类(BCL)的问题,例如集合,I / O,Regigistry,Globalization,Reflection。还讨论了构建或扩展.NET Framework的所有其他
Microsoft库,包括Managed Extensibility Framework(MEF),Charting Controls,CardSpace,Windows Identity Foundation(WIF),Point of Sale(POS),Transactions 。 

最诚挚的问候,

Wendy


这篇关于并发Azure Powershell Azure会话数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆