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
ashleyk
ashleyk9mo ago
What bucket region? There are no S3 buckets in RunPod. Are you referring to network storage?
streamize
streamizeOP9mo ago
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
Want results from more Discord servers?
Add your server