tencent cloud


Step 1. Prepare COS Bucket

Last updated: 2022-01-21 15:58:25

  1. The source and target buckets must be in the same region as the function. In this tutorial, the Guangzhou region is used.
  2. Two COS buckets must be used. If you use the same bucket as both source and target buckets, each thumbnail uploaded to the source bucket may trigger the function again and thus generate unnecessary recursion.
  1. Log in to the COS console.
  2. Click Create Bucket in the Bucket List tab to create a source COS bucket.
  3. Set the name of the COS bucket as mybucket1, select Guangzhou as the region, set the access permission to the default value of private read and write, and click OK as shown below:
  4. Create the target bucket mybucket-resized1 in the same way.
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