Azure的架构设计 [英] Azure Architecture Design

查看:249
本文介绍了Azure的架构设计的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是新来的Azure,以及有关Blob存储有点困惑。我有一个需要客户端通过FTP / SFTP访问推拉文件(XML,CSV,EDI等)。推入文件由.NET应用程序读入并写入到数据库中。据我了解,我们将使用VM角色创建FTP / SFTP服务器,辅助角色来执行.NET code,SQL存储在数据库和BLOB存储的文件。

I'm new to Azure, and a little confused about blob storage. I have a need for clients to access via FTP / SFTP to push and pull files (XML, CSV, EDI, etc). The pushed files are read in by a .net application and written to a database. As I understand, we would use a VM role to create a FTP / SFTP server, a worker role to execute the .net code, SQL Storage for the DB and Blob storage for the files.

我在这个假设是正确的第一,二可以在VM角色附加存储BLOB用于读写文件,并可以辅助角色连接到同一个存储BLOB读取和写入的文件。

Am I correct in this assumption first, and second can a VM role attach a storage blob for writing and reading files and can a worker role attach to the same storage blob to read and write files as well.

示例:

客户端通过FTP推xml文件的虚拟机。 VM XML文件写入到存储。辅助角色读取文件,处理它,并为DB写入内容。

client pushed xml file to VM via FTP. VM writes XML file to storage. Worker role reads file, processes it and writes contents to db.

我是正确的思维还是我错过了船?

Is my thinking correct or am I missing the boat?

感谢

推荐答案

由于Azure的有一系列的服务让您有几种选择。要记住与Azure的一个重要的事情是,您的辅助角色,它仅仅是在Windows Server 2008没有安装IIS,非常灵活,有很多,你可以与他们无关 - 这包括编写自己的FTP服务器,并能够通过辅助角色的虚拟机来承载它。该 FTP天青Blob存储大桥(上codePLEX)解决方案是这样的一个例子。

Given Azure has an array of services so you have a few options. One important thing to keep in mind with Azure is that your worker roles, which are simply Windows Server 2008 without IIS installed, are very flexible so there is a lot you can do with them – this includes writing your own FTP server and being able to host it via a worker role VMs. The FTP to Azure Blob Storage Bridge (on CodePlex) solution is an example of this.

另外,你可以使用 Web角色(这是一样的辅助角色,但启用IIS)做相同的 - 因此而不是滚动您自己的FTP服务器可以使用IIS 。 的可视指导要设置IIS达作为Azure的FTP服务器运行可以在ITQ找到。
我建议你​​做一些进一步的阅读,以确定哪些是两个更好的选择。也有想想你的要求,因为这可能会影响你的做法,即缩放,带宽,成本,你的preferred部署模型等。

In addition, you could use a web role (which is the same as a worker role but with IIS enabled) to do the same - so rather than rolling your own FTP server you can use IIS. A visual guide to setting IIS up to run as an FTP server in Azure can be found on ITQ. I’d recommend doing some further reading to determine which is the better option of the two. Also have a think about you requirements as this may influence your approach, i.e. scaling, bandwidth, costs, your preferred deployment model etc.

至于存储文件的推移,你当然可以使用Blob存储。如果你不需要一个关系数据库系统,那么你可以跳过使用SQL Azure的完全(在这种情况下,上面提到的Web角色的解决方案不会有太大的使用) - 但再次证明归结到你的特殊要求。

As far as storing the files goes you can certainly use Blob Storage. If you have no need for a relational database in your system then you could skip using SQL Azure altogether (in which case the web role solution referenced above won’t be of much use) – but again that comes down to your particular requirements.

href=\"http://www.windowsazure.com/en-us/documentation/\" rel=\"nofollow\">官方的Windows Azure网站的

The official Windows Azure website is a good source of knowledge, especially if you’re getting started, so do take the time to look through some of the pertinent documentation.

这篇关于Azure的架构设计的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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