Tencent Cloud Cloud Object Storage (COS) is a cloud-based non-hierarchical distributed storage service that provides cost-effective, fast, and reliable data storage solutions. COS stores your data across multiple AZs, incorporating redundant storage to ensure data reliability, and allows multiple clients or application threads to read or write data at the same time.
You can use web APIs to store and retrieve data through CVM instances or over the internet. You can also use the URL of a specified domain name to store and retrieve individual data object in COS through HTTP or HTTPS protocol.
For more information about COS, please see COS Documentation.
COS has no limit on directory hierarchy or data format and can store any amounts of data. There is no upper limit on the storage capacity of buckets where no partitioning is required. It supports HA deployment to ensure the eventual consistency of data but not features such as file locking. Its APIs are provided for data access using the HTTP or HTTPS protocol, and its SDKs and tools can be integrated into your businesses. Objects uploaded to COS can be accessed or downloaded directly through URL.
Cloud File Storage (CFS) uses common network file transfer protocols, can create file systems and implement large-scale expansion, but needs to be mounted onto CVM. It can store data for a wide range of applications such as websites, online distribution, and archiving. Featuring high computing throughput and extremely high availability and persistence, it is also suitable for scenarios demanding high concurrence or shared storage.
COS has no limits on file systems, directory structure, number of files, and storage capacity. It needs to be managed and accessed via web APIs. It offers various SDKs and tools for integration, which can also be used separately without CVM. COS supports access to massive amounts of data but is not suitable for scenarios involving millisecond-level response or random I/O.
Cloud Block Storage (CBS) needs to be used together with CVM and can only be mounted and used after the file system is partitioned or formatted. It comes in different types with varous performance metrics such as IOPS and throughput for different scenarios.
If you use an access link with a temporary signature, the link expires when the temporary signature expires, regardless of whether the file is public-read.
If you want your public-read file to be always accessible, we recommend you use an unsigned access link, which is the object URL on the object details page of the COS console.
The concepts of folder and directory do not apply to COS. However, taking into account the usage habits of different users, COS displays “folders” in the console and COSBrowser just like in the directory structure of traditional file management. For more information, see Folder and directory.
The data redundancy storage mechanism of COS is designed for scenarios where it is necessary to recover data in case of hardware failure. When versioning is not enabled, if you manually delete your data from COS or configure automated deletion, Tencent Cloud will delete the data as requested after which the data is irrecoverable.
You can proactively delete files in the following ways:
COS is capable of monitoring stored data and displaying the details and trends of various metrics in the monitoring window. To view general data trends, go to the Overview page in the COS console, and you can view data such as storage size, request number, and traffic for each storage class.
To view statistics of a single bucket, see Querying Monitoring Reports.
In addition to the COS Console, you can also view the monitoring information of different buckets on the Cloud Monitoring page where you can also configure different alarm policies to fit your business needs.
CI is integrated in the COS console to implement data processing features such as image processing, image compression, thumbnail generation, and video transcoding. For more information, see Data Processing.
COS is a distributed storage service for unstructured data and cannot support image compression or audio/video file processing on its own. For more information on rich media file processing (MP4, AVI, TS, HLS, MP3, AAC, etc.), see Cloud Infinite.
COS is a distributed storage service for unstructured data and does not support file decompression; however, you can use the SCF service to decompress files. For more information, see Setting File Decompression.
For more information, see Specifications and Limits.
A bucket is a carrier of objects, which can be considered as a "container" for storing objects. You can manage buckets and configure attributes of buckets in various methods such as the Tencent Cloud console, APIs, and SDKs. For example, you can set a bucket for hosting a static website or set access permission on a bucket. For more information on buckets, see Bucket Overview.
The bucket length limit has been changed since the COS console update in September 2021. According to the new policy, the length of a bucket name is affected by the number of characters in the region abbreviation and APPID, as the combined full domain can contain 60 characters at most. Note that previous bucket names will not be affected. If you need longer names to meet special requirements, contact us.
You can use Cloud Monitor to get different types of HTTP error code messages. For more information, see Monitoring and Alarm. For information about how to work with Cloud Monitor and obtain relevant data, see Cloud Monitor’s Console Guide or API Documentation.
Please reference the following example for information on how to calculate COS availability:
Tom uses Tencent Cloud COS to run his e-commerce business. Assume that his business consumed a total of 100 USD in the service period from Nov. 1 to Nov. 30, 2018, during which two unavailability events occurred, as shown below:
Unavailability Event No. | Duration | 5-Minute Record of Unavailability Event | HTTP Return Code | Number of Failing Requests | Number of Valid Requests |
---|---|---|---|---|---|
15 min | November 15, 2018, 10:00 - 10:05 | 503 | 100 | 100 | |
November 15, 2018, 10:05 - 10:10 | 503 | 99 | 100 | ||
November 15, 2018, 10:10 - 10:15 | 503 | 98 | 100 | ||
15 min | November 20, 2018, 16:00 - 16:05 | 500 | 150 | 150 | |
November 20, 2018, 16:05 - 16:10 | 500 | 148 | 150 | ||
November 20, 2018, 16:10 - 16:15 | 500 | 140 | 150 |
In all other periods, Tom's requests were successful and a 200 status code was returned.
In this case, the overall availability for the service period is as follows:
(1) Calculate the per-5-minute error rate for the current month
According to the case details: when Tom's business is normal, the per-5-minute error rate is 0%.
Unavailability event 1: This event occurred on November 15, 2018 and lasted from 10:00 - 10:15. The per-5-minute error rate was:
Unavailability event 2: This event occurred on November 20, 2018 and lasted from 16:00 - 16:15. The 5-minute error rate was:
(2) Calculate the service availability for the current month
In this case:
The service availability for this month: (1 - 589% / 8640) * 100% = 99.93%
(3) Calculate relevant compensation
In this example, the service availability is 99.93%, which is lower than the standard 99.95% but higher than 99.9%. According to compensation standards, Tom is eligible for compensation equivalent to 20% of the total monthly service fees, i.e., 20 USD.
Tom only needs to submit a ticket to apply for compensation within sixty (60) calendar days after the end of the service period, i.e., prior to January 29, 2019, and Tencent Cloud will compensate Tom for his losses by issuing a voucher.
You can deactivate COS or stop its billing as follows:
Note
Apakah halaman ini membantu?