我可以在Windows Azure中托管应用程序并将数据库存储在其他服务器上吗 [英] Can I host an application in Windows Azure and have the database stored on different server

查看:65
本文介绍了我可以在Windows Azure中托管应用程序并将数据库存储在其他服务器上吗的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以在Windows Azure中托管应用程序,并将数据库存储在其他服务器上吗?例如,我想将数据保存在不必担心隐私问题的服务器上.如果可能的话,是否会消除将应用程序托管在云中的价值?

Can I host an application in Windows Azure and have the database stored on different server? For example I want to keep my data on a server where I dont have to worry about privicy issues. And if this is possible does it remove the value of having an application hosted in the cloud?

谢谢

推荐答案

您的意思是在Windows Azure上托管您的应用程序,然后在您自己的服务器上托管数据库?这是完全可能的,但是您必须公开公开您的数据库.您可以将数据库托管在SQL Azure上,这将是与Windows Azure托管服务器分离的服务器".使用SQL Azure,您可以设置防火墙规则,以仅允许您的应用程序访问数据库.

You mean hosting your application on Windows Azure and then hosting the database on your own servers? This is totally possible, but you'd have to publicly expose your database. You could host your database on SQL Azure and that would be a 'separate server' from your Windows Azure host. With SQL Azure, you can set up a firewall rule to allow only your application to access your database.

如果您将数据库托管在自己的服务器上,我认为这不会完全削弱将应用程序托管在云中的价值,因为至少您的应用程序层仍将托管在云中".不过,在这种情况下,您也可能会遇到性能问题,因为使用TCP在Internet上访问SQL有点慢.

If you were to host your database on your own servers, I don't think that it would completely diminish the value of hosting your application on the cloud as your app tier at least would still be hosted "in the cloud". Though, you could also run into performance issues in this scenario as SQL is a little slow to access over the internet using TCP.

这篇关于我可以在Windows Azure中托管应用程序并将数据库存储在其他服务器上吗的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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