Deploying OpenVidu Demos on AWS (TUTORIAL)
Deploying on AWS with Cloud Formation
We have packed all our demos in one single template for AWS CloudFormation. You can follow these steps and see how easy it is to deploy OpenVidu in the cloud.
1. Access to the console of AWS Cloud Formation
2. Click on Create Stack
3. Option Specify an Amazon S3 template URL with the following URL
4. Complete the configuration fields
We provide 3 different scenarios: you can use the default SELF-SIGNED CERTIFICATE stored in the application (users will need to accept the 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|
|Stack name||Your choice||Your choice||Your choice|
|Type of SSL Certificate||selfsigned||letsencrypt||owncert|
|Fully qualified domain name||Your custom domainFor example: if your full URL is https://openvidu.io/ then this is openvidu.io||Your custom domainFor example: if your full URL is https://openvidu.io/ then this is openvidu.io|
|Elastic IP||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)|
|CRT File||Content of your .crt file
|KEY File||Content of your .key file
-----BEGIN RSA PRIVATE KEY-----
-----END RSA PRIVATE KEY-----
|Instance Type||Your choice(at least
||Your choice(at least
||Your choice(at least
|KeyName||Your choice(check AWS Docs to create a new one)||Your choice(check AWS Docs to create a new one)||Your choice(check AWS Docs to create a new one)|
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.
5. Create your Stack
No extra options are necessary. Click on Next ➞ Next ➞ Create
CREATE_IN_PROGRESS status will show up. You will now have to wait for a few minutes.
Despite saying CREATE_COMPLETE, it can take up to 7 minutes to fully deploy the Demo Software, so please be patient.
6. Access the demos through your new IP
Go to Outputs tab to get your brand new IP and click on it (or if you have deployed the demos with Let's Encrypt under your own custom domain, then you should access through it).