KArchive User Guide

Last updated:2021-04-28 11:03:41

1.Before you start

2.Console operation guide

3.API

Before you start

You can use Kingsoft Cloud Archive Storage (KArchive) by using one of the following methods:

  1. Use the Kingsoft Cloud Standard Storage Service (KS3) console.

    Log in to the KS3 console in your browser. In the console, you can create a KArchive bucket, upload files to the bucket, restore the files, and transition the storage class. For more information, see Console operation guide.
  2. Call the API.

    Call the API to use KArchive based on your development requirements. For more information, see Archive Storage Related.
  3. Set a lifecycle rule.

    You can set a lifecycle rule to transition files between storage classes. When a file stored in KS3 expires, the system automatically transitions the storage class of the file to KArchive. You can manage the lifecycle of files in KS3. For more information, see Lifecycle management.

Activate KArchive

  1. Register a Kingsoft Cloud account.
    Before you use KArchive, make sure that you have registered a Kingsoft Cloud account and completed identity authentication. If you have not created a Kingsoft Cloud account, the system will remind you to register an account and complete identity authentication. For more information about the authentication process, see Authentication.
  2. Log in to the KS3 console.

Console operation guide

Create a KArchive bucket

  1. Log in to the KS3 console. In the left navigation pane, click Bucket.

  2. Click Create Bucket.
    image.png

  3. In the Create Bucket panel, enter a name in the Bucket name field. The bucket name must comply with the bucket naming rule and cannot be modified after the bucket is created.

Bucket naming rule:

  • The bucket name can contain lowercase letters, digits, periods (.), and hyphens (-), for example, abcdefghijklmnopqrstuvwxyz0123456789.-.
  • The bucket name must start with a letter or digit.
  • The bucket name must be 3 to 63 characters in length.
  • The bucket name cannot use the format of an IP address such as 192.168.0.1.
  • The bucket name cannot start with kss.

image.png




4. From the Region drop-down list, select the data center where you want to create the bucket. The bucket region cannot be changed after the bucket is created.

  1. From the Project drop-down list, select the project to which you want to add the bucket. After the bucket is created, you can change the project as needed.

  2. In Storage type, select Archive.

  3. In Access Control, select an access type.

Note:

Public Reading/Writing: Anyone (including anonymous users) is permitted to upload files and lists to the bucket, and all expenses incurred from the operations are borne by the creator of the bucket. We recommend that you select this option with caution.

Public Reading: Only the creator of the bucket can write files in the bucket. Anyone (including anonymous users) can perform the List operation on files in the bucket.

Private: Only the creator of the bucket can upload files and lists to the bucket. Other users do not have access to the files in the bucket.

Upload files

  1. Log in to the KS3 console. In the left navigation pane, click Bucket. Click a bucket name.

  2. On the page that appears, click the Content Management tab, and click File Uploading.
    image.png

  3. In the Upload files panel, upload one or more files or a folder.

  4. In Storage type, select Archive.

image.png

  1. In Access Control, select an access type.

  2. Click OK to start uploading.

Share files

Before you can share a file stored in KArchive, you must restore the file. The restore process takes 1 to 5 minutes. When the file is restored, it enters the restored state and you can download or share it.

Note: Restoring a file is billed based on the file data that you want to retrieve. For more information, see Billing method and measurement description.

  1. Log in to the KS3 console. In the left navigation pane, click Bucket. Click a bucket name.

  2. On the page that appears, click the Content Management tab. Select a file name or click Details in the Action column of the file name.
    image.png

  3. In the File details panel, click Restore.

image.png

  1. In the dialog box that appears, click OK.

image.png

Delete files

  1. Log in to the KS3 console. In the left navigation pane, click Bucket. Click a bucket name.

  2. On the page that appears, click the Content Management tab. Click More in the Action column of a file and choose Delete to delete the file.

image.png

To delete multiple files at a time, select the files, click Batch operation, and then select Delete.

image.png

  1. In the dialog box that appears, click OK.

image.png

Delete a bucket

  1. Log in to the KS3 console. In the left navigation pane, click Bucket. Click Delete in the Action column of a bucket to delete the bucket.

image.png

  1. In the dialog box that appears, click OK.

image.png

Note:
Before you delete a bucket, you must delete all files from the bucket. For more information about how to delete files, see Delete files.

API

For more information about KArchive-related API operations, see Archive Storage Related.

Did you find the above information helpful?

Unhelpful
Mostly Unhelpful
A little helpful
Helpful
Very helpful

What might be the problems?

  • Insufficient
  • Outdated
  • Unclear or awkward
  • Redundant or clumsy
  • Lack of context for the complex system or functionality

More suggestions

0/200

Please give us your feedback.

Submitted

Thank you for your feedback.

问题反馈