Created RDS database, Cannot connect via Microsoft SQL Server Studio

0

Hi,
I am new to AWS. Just created new account and created my first SQL server Database (RDS) according to the tutorial.

The database is up and running, but I cannot connect to it via microsoft sql server management studio.
I got the following error:
"A network-related or instance-specific error occurred while establishing a connection to SQL srever. The server was not found or was not accessible...... Error: 53)

I tried to ping the endpoint in command window, but get timeout response.

What could be the issue? Is it because the "outbound security group"? do I need to set up a outbound rule? Or it is some firewall block the connection?

Please help. Thanks so much

dhminer
질문됨 5년 전1043회 조회
1개 답변
0

Hi,
Are you following the Tutorial at this link?
https://aws.amazon.com/getting-started/tutorials/create-microsoft-sql-db/

My initial guess is that you may have skipped Step e. "Configure advanced settings", where you may have left the 'Public accessiblity' setting at the default "No", instead of setting it to "Yes".

To start troubleshooting, please answer the questions below..

- Is your Microsoft SQL server Studio running on a computer at home/work (as opposed to in an EC2 instance in the same VPC)?
- Got to Services->RDS, Click on Databases, then click on the link for your SQL Server DB identifier.
  Under Security, does Public accessibility say 'Yes'?
-  In the same section, click on the the VPC security groups link. After the Security Group is displayed, click on Inbound tab.  Do you see an entry with:
MS SQL   TCP     1433     0.0.0.0/0

Note: you do NOT need to add an Outbound rule for your Security group. Security groups are stateful, meaning that if you allow the connection to be established coming into the server, the Security Group will allow the traffic to flow back to the originating client without an explicit Security Group Outbound Rule.
-randy

답변함 5년 전

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

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

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

관련 콘텐츠