Migrating databsase from mongodb to documentdb

0

I am currently migrating my data from MongoDB to DocumentDB and want to use further use Documentdb as my permanent database. Now I first dumped the files and restored it on my documentDB cluster. I can also access the Documentdb cluster from mongoshell and I can see my database in Documentdb. Now my issue is that I am not able to use the database when I add the URI to my React application. It just doesn't work i tried several ways but it still didn't work. What can be the issue? I even followed the documentation.

1개 답변
0

We must first establish a server-side connection to DocumentDB in order to interact with it. Then, from the ReactJS client, we must access APIs to communicate with DocumentDB. You can follow the following documentation to create a server side connection, make sure to check the tls settings of your cluster. https://docs.aws.amazon.com/documentdb/latest/developerguide/connect_programmatically.html#connect_programmatically-tls_enabled

AWS
답변함 10달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠