how to know about serverless api region information
I want to get region where the serverless api deployed in the rp_handler.py for upload file to choose the bucket region
2 Replies
What bucket region? There are no S3 buckets in RunPod. Are you referring to network storage?
Network storage supports only a single region. Therefore, a serverless API can only use GPUs located in the region where the network storage is situated. To solve this, it is necessary to create network storage in every region and establish an identical serverless API in each region, which is very cumbersome to manage. so I m prefer network storage
Due to the aforementioned drawbacks, I plan to create Google Cloud Storage across multiple regions and, in the serverless API, check the region and then store data in the corresponding Google Cloud Storage.
bucket region meaning region of aws or gcp storage region