Sourabh
Sourabh

Reputation: 66

How to connect database which is on aws VM from azure website

I want to connect to the database which is on Amazon AWS VM from azure website. It is giving error "not accessible" Any configuration I have to made in AWS VM

Upvotes: 1

Views: 2689

Answers (2)

Krishna
Krishna

Reputation: 2116

You need to setup a security group and open up inbound and outbound ports in AWS. Only after your sql server port is opened you can connect to your sserver from Azure. If you are using MySql which uses 3306 port by default (you need to change this for security reasons), you need to open up 3306 to recieve and throw bytes.

http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-network-security.html

Upvotes: 2

Paul Frederiksen
Paul Frederiksen

Reputation: 384

Have you checked your network firewall settings in both azure and aws? I suspect that's your issue. Create exceptions for the proper IP addresses.

Upvotes: 0

Related Questions