MS Azure Webrole-如何指定Web根驱动器存储大小 [英] MS Azure Webrole - How to specify web root drive storage size

查看:51
本文介绍了MS Azure Webrole-如何指定Web根驱动器存储大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在研究大型和复杂的企业Web应用程序,这些应用程序将在Azure中托管.在中注意到,Web根目录位于E驱动器上.我还注意到C:驱动器的大小为490GB.但是有趣的是,E驱动器上的Web根大小仅为1GB.

I'm working on very large and complex enterprise web application to be hosted in azure. In noticed that the web root is located on E drive. I also noticed that C: drive is 490GB size. But interestingly the size of web root on E drive is only 1GB.

有什么方法可以指定要安装的驱动器,例如C:还是在部署时指定驱动器的大小?

is there any way to either specify the drive you want to install e.g. C: or specify the size of the drive while deploying?

我还检查了所有M,Large等.VM Size是否具有与E相同的存储大小:

I also checked that all M,Large etc. VM Size have same storage size for E:

推荐答案

无法指定 webroot 的位置!此外,在设计任何要在平台即服务"(例如Azure Web Role)中运行的应用程序时,您必须抽象化数据存储.除了临时数据外,您永远都不会将任何数据写入本地驱动器.对于所有应用程序的数据,您必须使用 Azure Blob存储.对于大型临时文件,您可以使用本地资源锋利的牙齿提示.

You cannot specify the location of webroot! Also, when designing any applications to run in a Platform-as-a-Service (such as Azure Web Role), you have to abstract data storage. You shall never ever write anything but temporary data to local drives. For all application's data you must use Azure blob Storage. And for large temporary files, you can use Local Resources as already prompted by sharptooth.

PaaS是stateless服务.这意味着,如果发生硬件故障,将立即为您创建一个新的VM,并使用部署包对其进行初始化.另外,如果需要更新GuestOS,则将关闭VM,并使用新的映像和原始部署软件包重新实例化该VM.等等.这意味着您写入本地文件系统的所有内容都会丢失.

PaaS is a stateless service. Meaning that if a hardware failure occurs, a new VM will be immediately created for you and the deployment package will be used to initialize it. Also, if an update of the GuestOS is required, the VM will be taken down and re-instantiated with the new image and original deployment packages. And so on. Meaning that anything you've written to the local file system will be lost.

这篇关于MS Azure Webrole-如何指定Web根驱动器存储大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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