tencent cloud

Serverless Cloud Function

Step 1. Prepare COS Bucket

PDF
Focus Mode
Font Size
Last updated: 2024-12-02 16:35:34

Note:
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 the source and target buckets, each thumbnail uploaded to the source bucket will trigger the function again and thus generate unnecessary recursion.
1. Log in to the COS console.
2. Click Create Bucket on the Bucket List tab to create a source COS bucket. For more information, see Create a bucket.
Set the the following parameters:
Name: Set the value to mybucket1.
Region: Select Guangzhou.
Access permissions: Select Private Read/Write.
3. Perform the same steps to create the target bucket mybucket-resized1.

Help and Support

Was this page helpful?

Help us improve! Rate your documentation experience in 5 mins.

Feedback