By default, you cannot share files between cloud computers in the same office network. To enable file sharing, you can mount a NAS file system on them. For Windows cloud computers, you can mount a file system automatically by creating a shared storage NAS, or manually by mounting it to a specific directory. This topic uses an advanced office network to demonstrate these procedures.
The term office network in this topic corresponds to the former term workspace. A basic office network corresponds to a basic workspace, and an advanced office network corresponds to a standard workspace.
Background information
Elastic Desktop Service supports mounting NAS file systems within cloud computers, enabling file sharing between different cloud computers, log storage, and backup data storage.
A shared storage NAS created in the Elastic Desktop Service management console is a General-purpose NAS file system by default, and the default file protocol is SMB. For more information about General-purpose NAS, see General-purpose NAS.
Billing
You are charged for using General-purpose NAS file systems. Storage fees for NAS are based on the storage specification, peak hourly storage size, and storage duration. For more information about the billing of General-purpose NAS, see Billing of General-purpose NAS.
Limits
The following limits apply when you use a shared storage NAS to automatically mount a NAS file system on a Windows cloud computer:
Only advanced office networks support creating a shared storage NAS. Basic office networks do not support this feature.
You can enable encryption for a NAS file system only when you create the shared storage NAS. You cannot disable encryption after it is enabled.
NoteBefore you create a shared storage NAS, decide whether the file system requires encryption.
Procedure
Automatic mount
To automatically mount a NAS file system on your Windows cloud computers, create a shared storage NAS for their office network in the console. After the shared storage NAS is created, the system automatically mounts the NAS file system whenever a Windows cloud computer in that office network is created, started, or restarted.
Create shared storage NAS
Log on to the NAS console and activate the File Storage NAS service as prompted.
If you have already activated the File Storage NAS service, skip this step.
Log on to the EDS enterprise console.
In the left-side navigation pane, choose Networks & Storage > Apsara File Storage NAS.
In the top navigation bar, select a region.
On the Apsara File Storage NAS page, click Create NAS File System.
In the Create NAS File System panel, configure the following parameters.
After confirming the information, click Confirm.
On the NAS File System page, the Started status indicates that the shared storage NAS was created successfully.
Verify the mount
Once mounted, you can access and use the NAS file system on the Windows cloud computer like a local drive.
On a Windows cloud computer, the NAS file system is mounted to the Z: drive letter by default. If this drive letter is occupied or multiple NAS file systems are mounted, the system assigns other drive letters in reverse alphabetical order.
You can connect to the cloud computer and access the corresponding drive.
Manual mount
Follow these steps to manually mount a NAS file system. This is useful if a file system was unmounted or if you want to assign a different drive letter.
Log on to the EDS enterprise console.
In the left-side navigation pane, choose Networks & Storage > Apsara File Storage NAS.
In the top navigation bar, select a region.
On the Apsara File Storage NAS page, find the shared storage NAS that you want to manually mount and record its mount target domain name from the Mount Target Domain column.
Connect to the cloud computer and run the following command to manually mount the NAS file system.
In the following example commands, drive
Yis an example drive letter and0bb254adc3-x****.cn-hangzhou.nas.aliyuncs.comis an example mount target domain name. You must replacey:and0bb254adc3-x****.cn-hangzhou.nas.aliyuncs.comwith the target drive letter and the actual mount target domain name.net use y: \\0bb254adc3-x****.cn-hangzhou.nas.aliyuncs.com\myshareOnce the NAS file system is mounted, you can read from and write to it as you would a local disk.
If the Windows cloud computer is in an AD office network and the SMB Access Control List (ACL) feature is enabled for the NAS file system, the system uses the enterprise AD domain user's identity to automatically mount the NAS file system to the cloud computer. For more information about how to enable the SMB ACL feature, see Join the mount target of an SMB file system to an AD domain.