openvidu/openvidu-deployment
Piwccle ab32615e4e openvidu-deployment: a fixed number of Media Nodes on AWS, Azure and Google Cloud
Elastic and High Availability deployments on AWS, Azure and Google Cloud can
run a fixed number of Media Nodes, as DigitalOcean and Oracle Cloud already
could, with the same parameter: FixedNumberOfMediaNodes on AWS,
fixedNumberOfMediaNodes on the other clouds. 0, the default, keeps
autoscaling; a value greater than 0 runs exactly that many Media Nodes and
ignores the initial, minimum, maximum and target CPU parameters. A redeploy
with another value changes the number or switches mode, both ways.

- AWS: the Auto Scaling Group's min, max and desired are the fixed number
  and the scaling policy is not created. A Media Node the number no longer
  needs is drained by the existing lifecycle hook, as in a scale-in.
- Google Cloud: no autoscaler; the scale-in function, which now runs in both
  modes, keeps the managed instance group at the fixed number, abandoning an
  extra Media Node so it drains and deletes itself, or resizing the group up.
  The group's target size is set at creation only, the function's source is
  named by its hash so a code change redeploys it, and `moved` blocks keep
  existing autoscalers when the template is applied again.
- Azure: the autoscale setting stays, pinned to the fixed number (minimum =
  maximum = default). Azure refuses an autoscale minimum below the Media
  Nodes running, which protect themselves from scale-in, so lowering it is a
  manual drain first (manual scale, then stop_media_node.sh on each extra
  Media Node) and then the redeploy; the CHANGELOG and the documentation
  describe it. The portal's form gets the field.

Verified live with ov-cloud-tester's sc-fixed-media-nodes scenario on
Elastic (Google Cloud, AWS and Azure): deploy with 2, lower to 1 (the Media
Node removed served its Room through a 1200 s hold and left once it was
closed), back to autoscaling with no Media Node added or removed.
2026-10-27 19:09:59 +01:00
..
community openvidu-deployment: rebuild the compiled Azure templates with Bicep 0.46.1 2026-10-23 15:09:52 +02:00
pro openvidu-deployment: a fixed number of Media Nodes on AWS, Azure and Google Cloud 2026-10-27 19:09:59 +01:00
CHANGELOG.md openvidu-deployment: a fixed number of Media Nodes on AWS, Azure and Google Cloud 2026-10-27 19:09:59 +01:00
update.sh openvidu-deployment: download the install scripts over HTTPS 2026-10-23 14:57:54 +02:00