tencent cloud

Feedback

Saving Bills to COS

Last updated: 2024-01-02 15:14:59

    Overview

    Tencent Cloud allows you to save bill data as files to COS buckets on a regular basis. If the volume of your bill data is high (for example, if over 200,000 bill entries are generated for a month), bill data query via APIs may be slow. In this case, we recommend you enable bill storage so that you can obtain bill files from COS buckets for analysis.
    Note:
    You may incur fees for using this feature. For details, see Billing Overview.

    Enabling Bill Storage to COS

    1. On the Bill Overview page, set Bill Storage to
    
    .
    
    
    2. Grant access to the service role. In the pop-up window, click Authorize and, on the authorization page, click Grant.
    
    
    3. Set storage information. Select a bill type and a COS bucket to save bill files. You can also save the bill files of your member accounts to a COS bucket.
    
    Bill Type
    Daily bills: If you select daily bills, at 3:00 AM each day, new bill details for the period between the first day of the month and the previous day will be saved to the specified COS bucket. However, on the first day (billing day) of a month, bill data is saved to COS at 8:00 PM. For example, on April 6, a bill summary for the period from April 1 to April 5 will be added, and on April 8, a bill summary for the period from April 1 to April 7 will be added.
    Monthly bills: If you select monthly bills, on the second day of each month, bill details for the previous month will be saved to the specified COS bucket. Data will be saved as multiple CVS files if the volume is high.

    Other Operations

    To disable bill storage, follow the steps below.
    1.1 Set Bill Storage to
    
    .
    1.2 In the pop-up window, click Disable Storage.
    1.3 Click Confirm to disable bill storage. Existing data in the bucket will be kept, but new bill data will no longer be saved to the bucket.
    To change the bucket, select the new bucket you want to use and click Save. Existing data in the old bucket will be kept, while new bill data will be saved to the new bucket.
    Querying the names of bill files via a COS API: GET Bucket (List Objects).
    Downloading bill files via a COS API: GET Object.
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support