Skip to main content

How to choose the appropriate cloud storage bucket region and address cross-region upload challenges?

Currently, cloud recording supports the following cloud storage vendors:

  • Amazon S3
  • Alibaba Cloud
  • Tencent Cloud
  • Microsoft Azure
  • Google Cloud
  • Huawei Cloud
  • Baidu Smart Cloud

Before initiating cloud recording, ensure that you have activated cloud storage services from one of the listed vendors and created a storage bucket. Fill in the relevant cloud storage information in the storageConfig parameter of the Start Cloud Recording API request. When selecting the region for your bucket, choose one that is closest to the server initiating the cloud recording request. For a specific vendor region comparison, see Third-Party Storage Regions.

Files uploaded during cloud recording are stored on machines close to the server that initiated the request. If the cloud storage is in a region different from the server, for example, if the server is in the United States and the selected bucket region is in Beijing, uploads may be slow or could even fail. While Agora backup cloud can back up some files that fail to upload, cloud recording only waits for a limited time after the recording is complete. If the upload does not finish within this timeout period, the task is terminated, and the recorded file is lost. Therefore, cross-region uploading can significantly impact upload times and outcomes.

vundefined