Hi,
we have an OpenVidu Pro license and we currently use AWS for our OV deployments.
We use OV for many different use cases and all of these use cases bring very different requirements in terms of capabilities of the media notes. Therefore we would like to change the instance types of new media notes for each new spawned nodes. Is this currently supported without deleting and re-creating the OpenVidu Pro stack in CloudFormation each time?
Hi @vsx-sieber. To change you AWS Media Nodes instance type, you need to edit the OpenVidu configuration file in /opt/openvidu/.env and change the property:
AWS_INSTANCE_TYPE=c5.xlarge
Also you will need to restart OpenVidu Pro Server.
Hi @cruizba.
Thankfs for the fast reply. I think we are good for now with changing the instance type in the config and restarting OV.
Best regards,
Sven
I just tried your solution, but unfortunately it isn’t working.
I changed the value of the parameter AWS_INSTANCE_TYPE to c5.xlarge in the config file /opt/openvidu/.env and restared the OpenVidu Pro server. I then tried to launch a new Media Node via OpenVidu inspector, but it keeps launching instances of type c5.9xlarge as Media Nodes (this was the value i used when creating the CloudFormation stack). It just complety ignores the value in the .env config file.
Is this a bug or is there another configuration that takes precedence over the .env file?
Ok, so i restarted OpenVidu Pro server again but this time i used the ./openvidu restart command (instead of the Restart button in OpenVidu inspector -> config section) and now it works.