Build a cloud storage system by using an application image

Updated at:

Nextcloud is open source cloud storage software that you can use to quickly build a personal or team-based cloud storage system. It enables file synchronization, sharing, versioning, and team collaboration across different platforms and devices. This topic describes how to use an application image to build a Nextcloud cloud storage system on a Simple Application Server instance.

Procedure

Step 1: Build a cloud storage server

Important

If you already have a Simple Application Server instance, you can reset it to build the cloud storage server. Resetting an instance clears all data from its system disk. You must back up your data before you proceed. For more information, see Reset a simple application server.

  1. Go to the Servers page in the Simple Application Server console.

  2. In the upper-left corner of the page, click Create Server.

  3. On the Simple Application Server page, follow the prompts to configure the resources. The following table describes the configuration items.

    Note

    The available images and plans may vary based on the region and instance type. The options on the purchase page in the console take precedence.

    Configuration item

    Example

    Description

    Servers

    Instance family:General-purpose

    Plan:66 yuan/month

    • Select an instance family: Options include general-purpose, Multi-IP, International, and Large-capacity. Instance families.

    • Select a plan: Click image to view more plans. Each plan bundles vCPUs, memory, a system disk, and a data transfer plan. Instance specifications.

      Important

      To create a Windows instance, select a plan that provides a system disk larger than 40 GiB.

    Image

    • Application Images: NextCloud

    • Tag: NextCloud 23.0.0

    On the Application Images tab, select NextCloud and a version.

    Region

    Singapore

    Select a region close to your target users to reduce network latency. You cannot change the region after the instance is created.

    Important

    Instances in regions outside the Chinese mainland, such as China (Hong Kong) and Singapore, use international bandwidth, which may cause high latency from within the Chinese mainland. Select the region closest to your target users. Regions and network connectivity.

    Purchase Settings

    • Quantity: 1

    • Duration: 1 Month

    • Quantity: the number of instances to purchase. Default: 1.

    • Duration: the subscription duration. Default: 1 month.

      Important

      Instances hosting web services in the Chinese mainland require an ICP filing with a subscription duration of 3 months or longer (including renewals). Domain name filing.

      • Monthly subscription: 1 month, 3 months, or 6 months.

      • Yearly subscription: 1 year, 2 years, or 3 years.

      Enable Auto-renewal is enabled by default to prevent disruptions from expired subscriptions. Auto-renewal.

      • For monthly subscriptions, the renewal period is one month.

      • For yearly subscriptions, the renewal period is one year.

  4. After you complete the configuration, click Buy Now and follow the on-screen instructions to complete the payment.

    After the payment is complete, click Go to Console. In the server list, find the Simple Application Server instance named Nextcloud-xxxx. When the status of the instance changes from Pending to Running, the Nextcloud cloud storage server is ready.

Step 2: Log on to the Nextcloud cloud storage system

  1. Obtain the logon credentials for the Nextcloud cloud storage system.

    1. On the Servers page, click the instance ID of the cloud storage server to go to the Server Overview page.

    2. Click the Application Details tab. In the Nextcloud Information section, you can find the home page URL, administrator account, and password.

      You can also obtain the administrator password by running the command sudo cat /root/readme.txt | grep 'nextcloud'. The website root directory is /var/www/nextcloud.

      Procedure:

      1. You can find the home page URL http://XX.XX.32.45 and the administrator account admin.

      2. Click Quick View to view the administrator password.

  2. Log on to the Nextcloud cloud storage system.

    On your computer, open a browser and go to the Nextcloud home page URL http://XX.XX.32.45. Enter the administrator account and password, and then click Logon. You are then redirected to the dashboard.

    Important

    To prevent data breaches, change the default password immediately.

    The dashboard displays a personalized greeting and provides quick-access entries for Set status and Set weather location. The Recommended files area below lists recent files, and the top navigation bar contains function icons such as search, notifications, and contacts.

Step 3: Use the Nextcloud cloud storage system

This section provides examples of how to upload, download, and share files. For more information about how to use Nextcloud, see the official Nextcloud documentation.

  1. In the upper-left corner of the page, click the image icon.

    The file management page appears.

  2. Upload, download, or share files.

    You can perform the operations as needed.

    Upload a file

    In the upper-left corner of the page, click the image icon and follow the on-screen instructions to upload a file.

    This icon is the + button.

    Download a file

    In the row of the file or folder that you want to download, choose Download.

    Share a file

    1. In the row of the file or folder that you want to share, click the image icon.

      This icon is the Share icon on the right side of each row in the file list.

    2. In the panel that appears on the right, click the image icon next to Share link.

    3. Next to Share link, click the image icon to copy the share link.

    4. After you copy the share link, anyone with the link can access and download the file.

Related operations

After you build the cloud storage system, you can access it using the public IP address of the Simple Application Server instance. However, you can set up a domain name for more secure and convenient access. To do this, perform the following steps:

  1. Register a domain name with a domain name provider or Alibaba Cloud. For more information about how to register a domain name with Alibaba Cloud, see Register a domain name.

  2. Attach and resolve the domain name. For more information, see Register and resolve a domain name.

  3. (Conditional) Obtain an ICP filing.

    If you build a cloud storage system on a Simple Application Server instance in the Chinese mainland and resolve a domain name to it, you must obtain an ICP filing for the domain name. An ICP filing is required before the system can provide services to external users and to ensure that your website is accessible. For more information, see ICP filing process.