Build a cloud storage system by using an application image

更新时间:
复制 MD 格式

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. For information about the use cases and features of different instance families, see Instance families.

    • Select a plan: Click image to view more plans. A plan includes vCPUs, memory, a system disk, and a data transfer plan. For more information, see 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.

    image

    Region

    Singapore

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

    Important

    Simple Application Server instances in regions outside the Chinese mainland, such as China (Hong Kong) and Singapore, provide international bandwidth. This may result in high network latency when you access these instances from the Chinese mainland. We recommend selecting the region closest to your target users to improve access speed. For more information, see Regions and network connectivity.

    Purchase Settings

    • Quantity: 1

    • Duration: 1 Month

    • Quantity: the number of instances to purchase. The default value is 1.

    • Duration: the subscription duration. The default value is 1 month.

      Important

      If your instance is used for web services in the Chinese mainland, you must complete an ICP filing. The subscription duration, including renewals, for an instance that requires an ICP filing must be 3 months or longer. For more information, see Domain name filing.

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

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

      By default, Enable Auto-renewal is enabled to prevent business disruptions caused by an expired subscription. For more information, see 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.

    image

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.

      image

      Procedure:

      1. In section ① of the figure, you can find the home page URL http://XX.XX.32.45 and the administrator account admin.

      2. In section ② of the figure, 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.

    image

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.

    image

  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.

    image

    Download a file

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

    image

    Share a file

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

      image

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

      image

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

      image

    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.