Hello,
I’ve recently deployed an openvidu cluster using the autoscaling webhook on top of https://scaleway.com/ and since Scaleway has support for the s3 protocol how can I configure the media nodes to use s3 to write their recordings?
Thanks,
Bart
Hello,
I’ve recently deployed an openvidu cluster using the autoscaling webhook on top of https://scaleway.com/ and since Scaleway has support for the s3 protocol how can I configure the media nodes to use s3 to write their recordings?
Thanks,
Bart
Hello,
Please read the first lines of S3 recording documentation: OpenVidu Docs
You can enable it in any OPenVidu Pro deployment, doesn’t matter if it is an AWS deployment or an On Premises deployment.
Best regards.
Thanks, And where do I put the s3 url? I don’t see that as part of the configuration params:
https://s3.nl-ams.scw.cloud
S3 protocol? You’re not using AWS? I’m not sure this would work with other S3 providers. Is this your case?
If you’re using AWS, you just need to put the S3 bucket name, not the URL
Well S3 is more of a spec, and multiple cloud providers have implemented that spec. (Including Scaleway).
So instead of defining the bucket I would expect something like this:
OPENVIDU_PRO_AWS_S3_URL=https://s3.nl-ams.scw.cloud
Try this:
OPENVIDU_PRO_RECORDING_STORAGE=s3
OPENVIDU_PRO_AWS_ACCESS_KEY=<YOUR_ACCESS_KEY>
OPENVIDU_PRO_AWS_SECRET_KEY=<YOUR_SECRET_KEY>
OPENVIDU_PRO_AWS_REGION=nl-ams <--- I suppose this is the region
OPENVIDU_PRO_AWS_S3_BUCKET=<BUCKET_NAME> <--- Only the name, without protocols
Edit: I think this would not work because we did not consider the use case of other endpoint urls, this is actually a possible feature. Sorry for the inconvenience.
Maybe is there a way to set this variable with an environment variable, but it seems like it is not possible: Feature: Configure Services' Endpoint URLs via Environment Variables · Issue #1239 · aws/aws-sdk-php · GitHub
No problem!
Yes I didn’t think you guys have this feature. Would be great to have this in a next release as part of a config property, would this be possible?
Thank you for the sugestion, we will evaluate the feasibility of the feature.
Best regards