简体   繁体   English

Azure虚拟机作为App Service环境中的辅助角色

[英]Azure Virtual Machine as Worker Roles inside an App Service Environment

I would like to run Virtual Machines as Worker Role inside an Azure App Service Environment. 我想在Azure应用服务环境中以工作角色身份运行虚拟机。 I think I've tried and read everything. 我想我已经尝试并阅读了所有内容。 Is this scenario supported at all? 是否完全支持此方案?

The short answer is no. 最简洁的答案是不。 Azure VM's, worker roles (cloud services), and App Services are three different hosting offerings. Azure VM,辅助角色(云服务)和App Services是三种不同的托管产品。

  • Virtual Machines are an Infrastructure as a Service (IaaS) solution. 虚拟机是基础架构即服务(IaaS)解决方案。 Think of it as your own server in the cloud. 将其视为您在云中的服务器。 It is the most most flexible option. 这是最灵活的选项。 However, you are responsible for managing and patching it. 但是,您负责管理和打补丁。
  • Cloud Services are a Platform as as Service (PaaS). 云服务是平台即服务(PaaS)。 Your concerns are limited to building and deploying your application. 您的关注仅限于构建和部署应用程序。 Microsoft manages updating the underlying VM. Microsoft管理更新基础VM。
  • App Services are a higher level of PaaS. App Services是更高级别的PaaS。 Specifically, you can think of Web Apps (formerly Web Sites) as a hosted IIS. 具体来说,您可以将Web Apps(以前称为Web站点)视为托管的IIS。 You have the least amount of control compared to the other platform offerings, but it is the easiest way to get started. 与其他平台产品相比,您拥有的控制量最少,但这是上手的最简单方法。

I would suggest trying to run your application first in an App Service, then moving to a cloud service if you need more control, and finally to a VM when even more flexibility is required. 我建议尝试先在App Service中运行您的应用程序,然后在需要更多控制权时移至云服务,最后在需要更大灵活性时移至VM。

More information: 更多信息:

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM