- The source and target buckets must be in the same region as the function. In this tutorial, the Guangzhou region is used.
- 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.
Guangzhouas the region, set the access permission to the default value of
private read and write, and click OK.
mybucket-resizedin the same way.