Deploying OpenVidu on AWS

The deployment of OpenVidu can be a piece of cake if you have an AWS account. Just follow these steps:

1. Access to the console of AWS Cloud Formation

Go to CloudFormation

2. Click on Create Stack

3. Option Specify template 🠚 Amazon S3 URL with the following URL

4. Specify stack details

First of all, indicate a name for your deployment. Next fill the Parameters form depending on the certificate configuration you want.

SSL Certificate Configuration

Configuration for your CloudFormation stack certificate. We provide 3 different scenarios: you can use the default SELF-SIGNED CERTIFICATE stored in the application (users will need to accept the browser security alert) or if you have a custom domain, either allow LET'S ENCRYPT to automatically generate a valid and free certificate for your domain or use your own CUSTOM CERTIFICATE if you already have one.

Self-Signed certificate Let's Encrypt certificate Custom certificate
WhichCert selfsigned letsencrypt owncert
LetsEncryptEmail Your choice
MyDomainName Your fully qualified domain
For example: if your full URL is then this is
Your fully qualified domain
For example: if your full URL is then this is
PublicElasticIP One AWS Elastic IP you generated
(check AWS Docs to generate a new one)
One AWS Elastic IP you generated
(check AWS Docs to generate a new one)
OwnCertCRT URL to your public key file
OwnCertKEY URL to your private key file

If you are using LET'S ENCRYPT CERTIFICATE, of course you will need to register your ElasticIP in your DNS hosting service and associate it with the fully qualified domain name. Until your domain name is not accessible through the public IP you chose, this deployment won't work

OpenVidu Configuration

All of these properties configure OpenVidu Server. You have a list of all available properties here.

OpenViduSecret Your choice
Property openvidu.recording.public-access
Choose from the drop-down button
Property openvidu.recording.notification
Choose from the drop-down button
Your choice
Your choice
Your choice
Your choice
True if you want to deploy OpenVidu Demos. If so OpenViduSecret must be MY_SECRET
Choose from the drop-down button

Other parameters

Instance Type Your choice
KeyName Your choice
(check AWS Docs to create a new one)
True if don't mind sending OpenVidu team some info about your deployment (AWS zone and date)
Choose from the drop-down button

5. Create your Stack

No extra options are necessary. Click on NextNextCreate stack

CREATE_IN_PROGRESS status will show up. You will now have to wait for a few minutes until it shows CREATE_COMPLETE (between 6-10 minutes).

If status reaches CREATE_FAILED, check out this FAQ

6. Access and test your OpenVidu Server through your new IP

After status changes to CREATE_COMPLETE, go to Outputs tab to get your brand new IP and click on it (or if you have deployed under your own custom domain, then you should access through it)

You will connect to your OpenVidu dashboard. Credentials to access to it:

  • OPENVIDUAPP as username
  • The secret you chose on Step 4 as password (field OpenViduSecret in the table).

At OpenVidu dashboard you can test the video transmission. You can now add your own application to your instance. To learn how check out section Deploying your OpenVidu app.