Azure虚拟机上的DocumentDb [英] DocumentDb on Azure virtual machine

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

问题描述

能否请您告诉我们DocumentDb是否可以在Azure虚拟机上运行?当前,我们使用Azure Cosmos DB,并且如果可能的话,我们希望将其移动到Azure虚拟机.当需要回答两个问题时:

Can you please tell us if DocumentDb can run on Azure virtual machine? We currently use Azure Cosmos DB and we would like to move it to Azure virtual machine, if that is possible. When need answer to two questions:

1.如果可以在虚拟机上运行DocumentDb,请告诉我们该怎么做+费用是多少?

1. If running DocumentDb on virtual machine is possible, can you please tell us how to do that + what are the costs?

2.如果无法在虚拟机上运行DocumentDb,并且我们知道可以在虚拟机上运行MongoDb,是否可以将数据库从Azure Cosmos DB移动/还原到Azure虚拟机上的MongoDb?

2. If running DocumentDb on virtual machine is not possible, and we know that MongoDb on virtual machine is possible, is there a way to move/restore our database from Azure Cosmos DB to MongoDb on Azure virtual machine?

谢谢

Majda

推荐答案

首先,您能解释一下为什么要将cosmos DB移到虚拟机而不是使用完全托管的服务Azure吗?

First can you please explain why you want to move your cosmos DB in to a virtual machine rather using the fully managed service azure?

据我所知,您无法将cosmos DB移入虚拟机.

As far as my knowledge you cannot move your cosmos DB in to a virtual machine.

要迁移数据,可以使用azure cosmos迁移工具.使用它,您可以将数据导入json文件中,然后将其移至mongo DB. https://docs.microsoft.com/zh-CN/azure/cosmos-db/import-data

To migrate data you can use azure cosmos migration tool. Using that you can import you data in a json file and then move it to mongo DB. https://docs.microsoft.com/en-us/azure/cosmos-db/import-data

希望这会有所帮助.

此致

Sammani

https://sammanipalansuriya.blogspot.com/


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

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