Cloudreve is an open source cloud storage system software. Use it to build your own cloud storage system and share the storage with your team. This way, you can manage file synchronization, file sharing, offline download, and collaboration among team members across platforms and devices. This topic describes how to use a Cloudreve application image to build a cloud storage system and use the cloud storage system.
For more information about Cloudreve, visit the official Cloudreve website.
The Cloudreve application image is based on Alibaba Cloud Linux 3.2104 64-bit and has NGINX, Aria2, and MariaDB pre-installed. Alibaba Cloud will update the Cloudreve application image from time to time. The image information on the simple application server buy page takes precedence.
Procedure
Step 1: Build a cloud storage system server
If you have created a simple application server, you can reset the server to build a cloud storage system server. Select the Cloudreve application image when you reset the server. However, the system disk data on the server is deleted after you reset it. Before resetting the server, back up your data. For more information, see Reset a simple application server.
Go to the Servers page in the Simple Application Server console.
In the middle of the page, click Create Server.
On the Simple Application Server page, configure parameters following the instructions.
The following table describes the parameters.
Parameter
Example
Description
Images
Application Images: Cloudreve
Version: Cloudreve 3.8.3
On the Application Images tab, click Cloudreve.

Region
Singapore
Select a region based on your geographical location to reduce network latency. You cannot change the region after the server is created. Proceed with caution.
ImportantSimple application servers outside the Chinese mainland such as China (Hong Kong) and Singapore regions use international bandwidth. High network latency may occur for accessing from regions inside the Chinese mainland. We recommend that you select the closest region from the geographical location of your user. For more information, see Regions and network connectivity.
Purchase Settings
Quantity: 1
Duration: 1 Month
Quantity: The number of servers. 1 by default.
Duration: The subscription duration. 1 month by default.
Monthly subscription: 1 month, 3 months, or 6 months.
Yearly subscription: 1 year, 2 years, or 3 years.
The Auto-renewal feature is enabled by default. This is to prevent service interruption. If you forget to renew, server will be released and impact your business. For more information, see Renew a server.
Monthly subscription: The renewal cycle is 1 month.
Yearly subscription: The renewal cycle is 1 year.
After the configuration, click Buy Now and follow the instructions to complete the payment.
When the status of the server changes to Running, the server is built.

Step 2: Log on to the Cloudreve cloud storage system
Obtain the information for logging on to the Cloudreve cloud storage system.
On the Servers page, click the Server ID in the card of the cloud storage system server to go to the Server Overview page.
Click the Application Details tab. In the Cloudreve Information section, obtain the home address, administrator account, and administrator password of the cloud storage system.
NoteOn the Application Details tab, you can also view the usage procedure of Cloudreve and the installation paths of Cloudreve, MariaDB, and Aria2.

Perform the following operations:
In section ① of the figure, obtain the administrator account
admin@cloudreve.organd the home addresshttp://118.178.XX.XXof the cloud storage system.In section ② of the figure, click Quick View. In the Quick View dialog box, obtain the administrator password.

Log on to the Cloudreve cloud storage system.
In the address bar of a browser on your computer, enter the home address
http://118.178.XX.XXof the Cloudreve cloud storage system. On the pop up page, enter the administrator account and administrator password and click Sign In. Then you are directed to the home page of the cloud storage system.ImportantTo prevent data leaks, we recommend that you change the default password as soon as possible.

Step 3: Use the Cloudreve cloud storage system
This step describes how to use the Cloudreve cloud storage system. You can upload and download files, share files, offline download files, and configure storage policies. For more information about how to use the Cloudreve cloud storage system, visit the official Cloudreve documentation.
Upload and download files
Upload files to the Cloudreve cloud storage system
On the Cloudreve page, you can drag a local file to the area, or right-click the blank area and click Upload Files.

Download files to your on-premises computer
On the Cloudreve page, right-click the file, and click Download in the pop up menu. Follow the instructions to download the file.

Share files
Set the site URL.
Click your profile in the upper-right corner of the page and then click Dashboard.

In the Confirm site URL dialog box, click Change it.
NoteIf you have already changed the site URL, the Confirm site URL message will not appear.

In the upper-right corner of the page, click the
icon to return to the home page.
Share files.
On the Cloudreve page, right-click the file that you want to download and click Create Share Link in the menu that appears.

In the Create Share Link dialog box, follow the instructions to make settings and then click Create share link.

In the Create share link dialog box, obtain the share link.

After you obtain the share link, access it to download the file.
Offline download files
The offline download mode uses a server to download files. You can shut down your computer during the download, so you can download without waiting online. Offline download supports resumable download and concurrent download of multiple tasks and threads. It saves time and improves work efficiency.
After you configure and enable the offline download feature, you can create magnet URI schemes, HTTPs, and seed download tasks. The server will download files, and then save them to your Cloudreve cloud storage system. For more information, see Offline download.
Enable offline download.
NoteBy default, offline download is enabled for the Admin user group.
On the Cloudreve page, click your profile in the upper-right corner and then click Dashboard in the pop up menu.
Go to Dashboard page.

In the left-side navigation pane, click Groups.
Click
for the target user group and enable Remote download.NoteOn the Edit User page, set parameters such as Initial storage quota and Max download speed.


Click Save.
In the upper-right corner of the page, click the
icon to return.
Create an offline download task.
On the Cloudreve page, click Remote Download in the left-side navigation pane.

In the lower-right corner of the page, click the
icon.In the New remote download task dialog box, follow the instructions to create an offline download task.

Set a storage policy
If you have massive files to store but the system disk does not have sufficient space, store files in cloud storage systems in Alibaba Cloud OSS. For more information, see What is OSS? The following example shows how to store files from the Cloudreve cloud storage system to Alibaba Cloud OSS.
Create a bucket in the same region of the cloud storage system server. For more information, see Create a bucket.
ImportantSelect Standard or IA for the bucket storage class.
Add an Alibaba Cloud OSS storage policy.
Click your profile in the upper-right corner of the page and then click Dashboard.

In the left-side navigation pane, click Storage Policy.
In the upper-left corner of the page, click New storage policy.
In the Select a storage provider dialog box, click Alibaba Cloud OSS.

Follow the instructions to add an Alibaba Cloud OSS storage policy.

Click Next. When you configure the cross-origin resource sharing (CORS) policy, click Let Cloudreve Help Me Set It Up.
Attach the storage policy to the corresponding group.
In the left-side navigation pane, click Groups.
Click
for the target user group to select the storage policy.NoteOn the Edit User page, you can also set parameters such as Initial storage quota and Max download speed.


Click Save.
In the upper-right corner of the page, click the
icon to return to the home page.
Upload a file. For more information, see Upload files to the Cloudreve cloud storage system.

View the files stored in the
uploadsfolder in the OSS bucket. For more information, see List objects.
Related operations
Register and resolve domain names
Accessing your Cloudreve from a public IP address will compromise the security of the server. To improve security, configure a domain name for the Cloudreve. If you have a domain name or want to register a domain name for the it, do as following:
Register a domain name.
For more information, see Register a domain name on Alibaba Cloud.
Apply for an Internet Content Provider (ICP) filing for the domain name.
Apply for an ICP filing for the domain name if you use the domain name for the Cloudreve cloud storage system in a server from Chinese mainland. For information about the ICP filing process, see ICP filing process.
Resolve the registered domain name. Point it to the public IP address of the simple application server.
Domain name resolution is a prerequisite, if you want to use domain names to access your cloud storage system. For more information, see Get started with Alibaba DNS.
Enable HTTPS
If a domain name is bound to your server, you can configure HTTPS access to the domain name. This way, you can convert the data transmission protocol from HTTP to HTTPS at a low cost. This is to perform authentication and encrypted data transmission of websites. It also prevents data tampering and information leakage during data transmission. For more information, see Deploy SSL certificates.