How to Use Alibaba Cloud Object Storage Service with QNAP
By Wojciech Marusiak, Solution Architect
Alibaba Cloud Object Storage Service (OSS) is an encrypted, secure, cost-effective, and easy-to-use object storage service that enables you to store, back up, and archive large amounts of data in the cloud, with a guaranteed reliability of 99.999999999%. RESTful APIs allow storage and access to OSS anywhere on the Internet.
The 3–2–1 Backup Strategy
The 3–2–1 backup strategy means you should:
- Have at least three copies of your data.
- Store the copies on two different media.
- Keep one backup copy offsite.
For the Home users such a strategy could be difficult to achieve. Alibaba Cloud Object Storage Service with Hybrid Backup Sync from QNAP could help you secure your data not only on-premises but as well in offsite location.
Configure OSS on your QNAP
In order to sync your backups to OSS we need to perform three tasks: create OSS bucket, create RAM User and configure QNAP Hybrid Backup Sync.
OSS bucket creation
- Login to Alibaba Cloud
- Navigate to Object Storage Service (OSS) product.
- Click Create Bucket
- Provide Bucket Name, choose Region, Storage Class and Access Control List.
- Take note of your OSS Endpoint. It will be needed later on to configure as backup destination. In my case it is oss-eu-central-1.aliyuncs.com.
Create RAM User
- In Console navigate to Resource Access Management (RAM).
- Choose Users.
- Click Create User.
- Provide Logon Name and choose Programmatic Access to create AccessKeyID and AccessKeySecret. Click OK.
- Save the user AccessKeyID and AccessKeySecret. We will use it later to connect to OSS from QNAP Hybrid Backup Sync.
- Once the user is created we must grant him permission to use OSS. In this scenario we will use Alibaba Cloud System Policy called AliyunOSSFullAccess
- In the section Grants click Grant Permission.
- In the Principal section enter your username and choose appropriate OSS Policy. Click OK to confirm.
- Permission assignment was successful.
QNAP Hybrid Backup Sync
Once the Alibaba Cloud part is finished we need to create Hybrid Backup Sync Storage Space and Job.
- Login to QNAP NAS and open Hybrid Backup Sync.
- In the Jobs section choose Create Sync Job. Choose desired Sync Job type. For this article I will use One-Way Sync with the cloud.
- Direction selected is local to cloud. This means that selected data from QNAP will be synced to the cloud. As Alibaba Cloud is natively supported in QNAP select Alibaba Cloud icon.
- Enter display name, AccessKeyID and AccessKeySecret. Click Next.
- Enter Job Name, choose local folder to be synced with OSS and choose OSS bucket name.
- You can choose advanced settings and adjust schedule to your requirements.
- Finish the wizard by clicking Apply.
- By clicking on the job name you can verify if sync to OSS is working.
To learn more about storing and backing up data on Alibaba Cloud Object Storage Service, visit https://www.alibabacloud.com/product/oss