多个客户使用一个数据库作为不同的azure帐户 [英] Multiple customers using one database as different azure accounts

查看:58
本文介绍了多个客户使用一个数据库作为不同的azure帐户的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好

我们几个月前为两位客户实施了一个应用程序。他们使用相同的基础设施,相同的数据库,相同的存储空间,...

We've implemented an application for two customers some months ago. They use the same infrastructure, same database, same storage, ...

现在他们想要迁移到Azure(因此它或多或少对我们来说是新的),他们拥有一切"一个"地方。

Now they would like to move to Azure (so it's also more or less new for us) that they have everything at "one" place.

问题是,他们不想共享除数据库之外的相同基础设施(因为他们需要访问共享数据) )了一个原因是他们已经拥有自己的Azure订阅并将其用于其他应用程序。

The problem is, that they don't want to share the same infrastructure except database (because of shared data they need to access) anymore. One reason is that they already have their own Azure subscription and using it for other applications.

您对我们的建议有什么建议吗?设置类似的东西。我可以想到这些:

Do you have any suggestions or recommendations how we could setup something like that. I can think of these things:


  • 两者都有自己的数据库,我们需要写一个"同步服务"。 (主/从)
  • 我们在我们的订阅上托管他们的数据库并且我们开账单
  • 一个客户托管数据库并且账单"一半"。它是另一个(客户都不喜欢)

推荐答案

你好,

$

Azure SQL Data Sync可能是一种解决方案。您可以将其中一个订阅定义为"hub"数据库的主机,而
其他订阅将托管成员数据库。成员数据库将与Hub数据库同步(单向或双向/双向)。



要开始使用Azure SQL Data Sync,请阅读以下文档。



https://docs.microsoft.com/en-us/azure/sql-database/sql-database-get-started-sql-data-sync?wt.mc_id=MVP



每个订阅都会为其数据库付费。



希望这会有所帮助。



问候,

Alberto Morillo

SQLCoffee.com


这篇关于多个客户使用一个数据库作为不同的azure帐户的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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