Set Up Tencent COS as Backup Storage for Zimly: A Step-by-Step Guide

Tencent COS is an S3-compatible object storage service provided by Tencent Cloud. Tencent Cloud is based in Shenzhen, China, with data centers operated worldwide.

It is a technical product generally aimed at tech-savvy users.

Prerequisites

Before you begin, make sure to:

In this setup, you will create the following resources using COS (Cloud Object Storage) and CAM (Cloud Access Management):

Create Sub-Account and Secret

In the Tencent Console, search for and open Cloud Access Management (CAM). Go to the User List and create a new user alongside the root user:

tencent-cam-create-sub-user.png

Then, create a Secret ID and Secret for programmatic access with the new sub-user:

tencent-cam-create-key-secret.png

Make sure to copy the Secret ID and Secret and store them securely in your password manager.

COS: Create a Bucket

Open Cloud Object Storage and create your bucket:

tencent-cos-create-bucket.png

ACL: Grant Access Permissions to the Bucket

Next, attach an ACL to the newly created bucket for the sub-user:

tencent-cos-attach-acl.png

Finalizing Your Backup Setup in Zimly

Now, let’s put everything together and finalize the backup setup in Zimly. We’ll create a new configuration to back up the Pictures folder.

Name: Zimly Tencent Pictures 
URL: https://cos.<REGION>.myqcloud.com
Region: <REGION>
Key: <TENCENT_SECRET_ID>
Secret: <TENCENT_SECRET>
Bucket: zimly-test-<identifier>
Virtual Hosted Style: enabled

Folder: Pictures

Replace <REGION>, <TENCENT_SECRET_ID>, <TENCENT_SECRET>, and <identifier> with the appropriate values from your setup and make sure you enable Virtual Hosted Style.