How can I connect to MongoDB running in AWS ec2 instance as a source of Azure Data Migration Service (DMS).?

Jithin M V 96 Reputation points
2021-10-21T11:59:59.217+00:00

How can I know the IP address of DMS.? So that I can create an inbound rule in EC2 and allow port 27017 to that.

Azure Database Migration service
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,902 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Saurabh Sharma 23,846 Reputation points Microsoft Employee Moderator
    2021-10-21T23:24:46.29+00:00

    Hi @Jithin M V ,

    Thanks for using Microsoft Q&A !!
    IP Address for data migration service is dynamic until you are using an ExpressRoute. If you are using an express route then you can identify the IP address by looking into Network interface associated with your Azure DMS instance. You can find that by looking under the resource group you have deployed your DMS instance. Your network interface resource will begin with NIC prefix followed by unique number and character sequence. Please check the below screenshot -
    142623-image.png
    Once you select your NIC resource you could be able to see the IP address that needs to be included in your EC2 inbound rule.

    If you are not using ExpressRoute, you can probably try adding a public IP Address to your NIC and try adding this public IP address to your EC2 inbound rule. Please check below screenshot for steps. I have not tested this myself but I believe this could help getting an IP for your DMS instance.
    142587-image.png

    Please refer to the documentation which talks about knowing IP Address for Azure Database Migration Service.

    Please let me know if any questions.

    Thanks
    Saurabh

    ----------

    Please do not forget to "Accept the answer" wherever the information provided helps you to help others in the community.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.