在Windows Azure云平台上运行现有的程序 [英] Running existing program on Windows AZURE cloud platform

查看:239
本文介绍了在Windows Azure云平台上运行现有的程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个现成的程序,我想上传到云无需重写它,我想知道如果这是可能的。
对于为例我可以上传并在云中运行一个Photoshop实例,并使用它?
当然不是,但GUI的Photoshop具有通讯SDK使Web程序应该能够控制它!

i have an existing program that i would like to upload to the cloud without rewriting it and i'm wondering if that is possible. For exemple can i upload and run a photoshop instance in the cloud and use it? Of course not the GUI but photoshop has a communication sdk so web program should be able to control it!

据我所看到的,辅助角色看起来不错,但他们有一个特定的方式来写,我不能改写的Photoshop!
感谢您的关注!

As far as i can see, Worker roles looks good but they have to be written in a specific way and i can't rewrite photoshop ! Thanks for your attention!

推荐答案

这里的东西,工人的角色应该是你所需要的 - 它本质上是运行略有不同版本的Windows的虚拟机,你可以RDP到,和正常使用。您可以安全地运行更多或更少的任何东西,但你需要(例如,使用启动任务)来自动部署。因为这可以证明有点问题,微软已经创建的虚拟机角色。您可以创建自己的部署,这就是被提出,当你实例机器。

Here's the thing, the Worker role should be what you need - it's essentially a virtual machine running a slightly different version of Windows, that you can RDP to, and use it normally. You can safely run more or less anything up there, but you need to automate the deployment (e.g. using startup tasks). As this can prove a bit problematic, Microsoft has created a Virtual machine Role. You create your own deployment and that's what gets raised when you instantiate the machine.

但是!本机是无状态的,这意味着它创建的文件,如果它被重新启动,不会被保存。所以,你需要确保文件被保存在其他地方,例如在Blob存储(用于这样一个目的)。

However! This machine is stateless, meaning that files it creates aren't saved if it gets restarted. So you need to ensure the files are saved somewhere else, e.g. in blob storage (intended for just such a purpose).

我会在你的情况做的,是创建一个虚拟机的角色,与安装了Photoshop,以及软件定制的一块旁边,通过Azure的队列,这所进行的处理,并将文件保存到Blob存储接受请求,然后将文件发送到起凡要求

What I would do in your case, is create a virtual machine role, with Photoshop installed, and a custom piece of software next to it, accepting requests via Azure Queues, that does the processing, and saves the file to blob storage, then sends the file onwards to whoever requested

这篇关于在Windows Azure云平台上运行现有的程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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