Before you use the Data Offline Migration service, you must perform the following operations:
Procedure
Log on to the RAM console with your Alibaba Cloud account.
In the left-side navigation pane, choose Identities > Users. Then, click Create User.
In the User Account Information section, configure the parameters.
In the Access Mode section, select Console Access and OpenAPI Access.
NoteTo use AccessKey IDs and AccessKey secrets, you must select OpenAPI Access.
Select Custom Logon Password under Console Password, enter a password, and then select Required at Next Logon under Password Reset.
Optional. Select Required to Enable MFA under Multi-factor Authentication.
Click OK and then save the generated account, password, AccessKey ID, and AccessKey secret.
NoteWe recommend that you immediately save the AccessKey pair and keep it strictly confidential. You cannot download the AccessKey pair of the RAM user in the future.
On the Users page, find the RAM user to which you want to grant permissions and click Add Permissions in the Actions column.
In the Add Permissions panel, configure the Authorized Scope parameter and attach the AliyunMGWFullAccess and AliyunOSSFullAccess policies to the RAM user. Then, click OK.
In the left-side navigation pane, click Overview to obtain the logon URL. On the RAM User Logon page, enter the username and password of the RAM user.
Test the reading speed of a migration directory
Before you start a migration job, you can use the speed test tool to obtain the speed of reading data from a migration directory.
Speed test on a Linux system
Run the
./speedTestTool/dir
command to test the reading speed of a migration directory. Replacedir
with an actual directory.NoteThe traffic overhead generated by this tool affects the reading speed for other migration jobs that access the same migration directory. We recommend that you stop all migration jobs for the migration directory before you start the test. This ensures the precision of the testing results.
Speed test on a Windows system
Run the
speedTestTool.exe/dir
command to test the reading speed of a migration directory. Replacedir
with an actual directory.NoteThe traffic overhead generated by this tool affects the reading speed for other migration jobs that access the same migration directory. We recommend that you stop all migration jobs for the migration directory before you start the test. This ensures the precision of the testing results.