Connecting to a DB Instance from a Windows Server
You can connect to your DB instance from a local Windows server installed with SQL Server Management Studio over a public network.
This section describes how to connect to a DB instance with SSL disabled. To connect to a DB instance with SSL enabled, see Connecting to an Instance Through a Public Network.
Step 1: Test Connectivity and Install SQL Server Management Studio
- On the Instances page of the RDS console, click the DB instance name to go to the Overview page.
- Obtain the EIP and database port of the DB instance.
Figure 1 Connection information
If no EIP has been bound to the DB instance, see Binding an EIP.
- Open the cmd window on your local server and check whether the EIP and database port of the DB instance can be connected.
- If yes, network connectivity is normal.
- If no, check the security group rules.
Check inbound rules in the security group of the DB instance. Add an inbound rule for the EIP and port of the DB instance. For details, see Configuring Security Group Rules.
- Open a browser on the local server, visit the Microsoft website, and download the installation package, for example, SQL Server Management Studio 18.0.
- Double-click the installation package and complete the installation as instructed.
Step 2: Connect to the DB Instance Using SQL Server Management Studio
- Start SQL Server Management Studio.
- Choose Connect > Database Engine. In the displayed dialog box, enter login information.
Figure 2 Connecting to the server
Table 1 Parameter description Parameter
Description
Server name
EIP and database port obtained in 2.
Authentication
Authentication mode. Select SQL Server Authentication.
Login
Name of the account used to access the DB instance. The default value is rdsuser.
Password
Password of the account.
- Click Connect to connect to the DB instance.
Follow-up Operations
After logging in to the DB instance, you can create or migrate databases.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot