Mount over a private network by using PrivateLink

Updated at:

After you create an endpoint for OSS in a virtual private cloud (VPC) using PrivateLink, you can establish a secure and stable private connection. When you use ossfs 1.0 to mount and access OSS over this private network, you must set the -ourl parameter to the endpoint domain name and add the -ouse_path_request_style parameter.

Important

ossfs 1.0 version 1.91.1 and later supports the -ouse_path_request_style parameter.

The following example shows how to use ossfs 1.0 version 1.91.6 and PrivateLink in the China (Hangzhou) region. The mount command is as follows:

ossfs examplebucket /mnt/oss -ourl=ep-bp1a****.oss.cn-hangzhou.privatelink.aliyuncs.com -ouse_path_request_style -osigv4 -oregion=cn-hangzhou