This topic describes how to migrate data from a local network-attached storage (NAS) file system to Apsara File Storage NAS for long-term storage.
Background information
Assume that a Hangzhou pharmaceutical enterprise stores data, such as product documents and experimental data, on its local NAS file server. The data includes 10,000,000 files, which is about 10 TB. The NAS server is located in a local server room. The server uses the network file system (NFS) protocol and is installed with a firewall. While the server is unavailable for public networks, it provides an internal IP address: 10.0.0.254.
Based on the considerations of data security and cost saving, the enterprise needs to migrate data from the NAS server to Apsara File Storage NAS.
Procedure
- Create an Apsara File Storage NAS file system in the China (Hangzhou) region and mount the file system onto an Elastic Compute Service (ECS) instance that is located in a VPC.
- Connect the local NAS server to the VPC by using a dedicated leased line. Modify the firewall settings of the NAS server and enable access to the NAS server from all IP addresses in the VPC.
- Proceed as follows by using Data Transport to migrate data from the local NAS server to Apsara File Storage NAS:
Step 1: Create a file system in the Apsara File Storage NAS console
- In the China (Hangzhou) region, create an Apsara File Storage NAS file system of the NFS protocol type. For more information, see Mount a file system on a Linux ECS instance.
- Mount the file system onto an ECS instance that is located in the VPC. For more information, see Mount a file system on a Windows ECS instance.
- Modify the security group of the VPC to enable read/write access to the NAS file system from all IP addresses in the VPC. For more information, see Manage a permission group.
Step 2: Connect the NAS server to the VPC
- Connect the NAS server to the VPC where the ECS instance hosting the NAS file system is located. The connection is established by using a dedicated leased line with a maximum bandwidth of 1 Gbit/s. For more information, see Connect an on-premises data center to a VPC through a physical connection.
- Modify the firewall settings of the NAS server to enable access to the NAS server from all IP addresses in the VPC.