You can create a temporary instance by restoring data to it, log on to verify the data, and then restore the data to the destination RDS instance.
Prerequisites
A temporary instance has been created.
Log on to a temporary instance
You can log on to all temporary instances over the internal network. This method is fast, secure, and offers free data transfer.
Method 1: DMS
Data Management Service (DMS) is a one-stop data management platform that supports the entire data lifecycle. It provides features such as global data asset management, data governance, database design and development, data integration, data development, and data consumption. DMS helps enterprises efficiently and securely unlock the value of their data and accelerates their digital transformation.
Go to the Instances page. In the top navigation bar, select the region in which the RDS instance resides. Then, find the RDS instance and click the ID of the instance.
Click Log On to Database to open the DMS logon page.
In the Log on to Database Instance dialog box, enter the logon information and click Log In.
Select an Access Mode. This tutorial uses Account + password login as an example.
Enter the Database Account and Database Password. This tutorial uses the privileged account
testuserand a custom password.Select a Control Mode. This tutorial uses Flexible Management as an example.
NoteFlexible Management is free of charge. Stable Change and Security Collaboration incur fees.
Compared to the Flexible Management control mode, Stable Change and Security Collaboration offer more advanced database management features. If you are trying out ApsaraDB for SQL Server, we recommend selecting the Flexible Management mode.
After you log on, the newly created database appears under Instances Connected in the left navigation pane of the DMS page. This tutorial uses the
dbtestdatabase as an example. You can also double-click another database to switch to it.NoteIf the instance exists but the target database is not found in the list of connected instances in DMS, the cause may be one of the following:
The logon account does not have permissions to access the target database: Go to the Accounts page of the ApsaraDB RDS instance, find the target account, and click Change Permissions in the Actions column to grant the required permissions.
The directory is not displayed because the metadata is not synchronized: Hover the pointer over the instance that contains the target database and click the
icon to the right of the instance name. This refreshes the list to display the target database.
After logging on to the database in DMS, use the SQL Console tab to create databases and tables, and to query and modify data.
Method 2: SSMS on an ECS instance
-
Prepare an ECS instance (Windows Server) to access the temporary RDS instance.
NoteThe ECS instance and the temporary RDS instance must be in the same region and the same VPC.
-
Add the internal IP address of the ECS instance to the whitelist of the temporary RDS instance.
-
Log on to the ECS instance. Then, install and open SQL Server Management Studio (SSMS) on the instance.
NoteWe recommend that you download the latest version of the client to ensure compatibility with all versions of SQL Server.
-
In the Connect to Server dialog box, enter the logon information.
Parameter
Value
Description
Server Name
rm-2ze****.rds.aliyuncs.com,1433
The RDS instance's internal endpoint and port, separated by a comma (,).
Authentication
SQL Server Authentication
The authentication method for SQL Server.
Login
testuser
The username of the database account.
Password
Test_pw123
The password for the database account.
-
Click Connect to connect to the instance.
Once connected, the database's connection information appears in the left-side pane of SSMS.