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 in a redundant manner and allows multiple clients or application threads to read or write your data at the same time.
You can use web APIs to store and retrieve data on a CVM instance or over the internet. You can also use the URL of the specified domain name to store and retrieve individual data object in COS over the HTTP or HTTPS protocol.
For more information on COS, see COS Product Overview.
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 various performance metrics such as IOPS and throughput for different scenarios.
You can go to the object details page in the COS Console to get the object address and signature link.
If your file is public-read:
If your file is private:
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 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 failures in hardware such as servers. If you manually delete your data from COS or configure automated deletion, Tencent Cloud will delete the data as requested in an irrecoverable manner.
You can proactively delete files in the following ways:
COS is capable of monitoring stored data and displaying details and trends of various metrics in the monitor window. To view general data trends, go to the Overview page in the COS Console where you can view data such as storage size, number of requests, and traffic by 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 about different buckets on the Cloud Monitoring page, and configure different alarm policies based on your business needs.
The COS console has integrated Cloud Infinite features, which enable you to scale, crop and add watermarks to your images. For more information, see Enabling Image Processing.
COS is a distributed storage service for unstructured data and cannot support image compression on its own. For image compression, see Cloud Infinite.
COS is a distributed storage service for unstructured data and cannot support thumbnails on its own. For more information on thumbnails, see Cloud Infinite.
COS is a distributed storage service for unstructured data and cannot support video transcoding on its own. For information on how to transcode video files, see Media Processing Service.
COS is a distributed storage service for unstructured data and does not support file decompression on its own. To enable this feature, please use the integrated SCF service. For more information, see File Decompression or Using SCF to Decompress Zip Packages.
For more information, see Specifications and Limits.
You can use Cloud Monitoring to get different types of HTTP error code messages. For more information, see Monitoring and Alarm. For information on how to work with Cloud Monitoring and obtain relevant data, see Cloud Monitoring’s Console Guide or API Documentation.
COS provides the following example of calculating the availability for your reference:
Tom uses Tencent Cloud COS to run his e-commerce business. Assume that his business consumed a total of 100 USD in a service month from Nov. 1 to Nov. 30, 2018, during which two unavailable 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 other periods, Tom's requests were successful and a 200 status code was returned.
In this case, the overall availability of the service month is as follows:
(1) Calculate the error rate per 5 minutes for the current month
According to the case details: when Tom's business is normal, the error rate per 5 minutes is 0%.
Unavailability event 1: The duration was November 15, 2018, 10:00 - 10:15, and the 5-minute error rate was:
Unavailability event 2: The duration was November 20, 2018, 16:00 - 16:15, and 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 the indemnification
In this example, the service availability is 99.93%, which is lower than the standard 99.95% but higher than 99.9%. According to the indemnification standard, Tom is eligible for indemnification equivalent to 20% of the total monthly service fees, i.e., 20 USD.
Tom only needs to submit a ticket to apply for indemnification within sixty (60) calendar days after the end of the service month, i.e., prior to January 29, 2019, and Tencent Cloud will indemnify Tom for his losses by issuing a voucher.
There is no one-click option for disabling COS. If you are not using COS for a long time, you may save storage costs by transitioning your data to ARCHIVE storage class. For the transition operation, see Setting Lifecycle.
If you decide to stop using COS, you can avoid any further billing by permanently deleting all of your COS data (including incomplete multipart uploads and object versions). You need not deregister your account lest your other Tencent Cloud services should be affected.
Before the complete deletion, consider the following: