Skip to content

Commit

Permalink
Added fix for single, clustered and autoscale env
Browse files Browse the repository at this point in the history
  • Loading branch information
ravired5 committed Nov 3, 2023
1 parent 0db2bcf commit 405467d
Show file tree
Hide file tree
Showing 13 changed files with 459 additions and 348 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ This a reusable Terraform installer module for [Red5 Pro](https://www.red5pro.co

* **single** - Single droplet with installed and configured Red5 Pro server
* **cluster** - Stream Manager cluster (MySQL DB + Stream Manager droplet + Autoscaling Node group with Origin, Edge, Transcoder, Relay droplets)
* **autoscaling** - Autoscaling Stream Managers (MySQL RDS + Load Balancer + Autoscaling Stream Managers + Autoscaling Node group with Origin, Edge, Transcoder, Relay droplets)
* **autoscaling** - Autoscaling Stream Managers (MySQL DB + Load Balancer + Autoscaling Stream Managers + Autoscaling Node group with Origin, Edge, Transcoder, Relay droplets)

---

Expand Down Expand Up @@ -117,7 +117,7 @@ module "red5pro" {
* **Firewall** - This Terrform module create a new Firewall in Digital Ocean.
* **Droplet Size** - Select the appropriate droplet size based on the usecase from Digital Ocean.
* **SSL Certificates** - User can install Let's encrypt SSL certificates or use Red5Pro server without SSL certificate (HTTP only).
***MySQL Database** - Users have flexibility to create a MySQL databse server in Digital Ocean or install it locally on the Stream Manager
* **MySQL Database** - Users have flexibility to create a MySQL databse server in Digital Ocean or install it locally on the Stream Manager
* **Terraform Server** - Uesrs can choose to create a dedicated droplet for Terraform Server or install it locally on the Stream Manager
* **Stream Manager** - Droplet will be created automatically for Stream Manager
* **Origin Node Image** - To create Digital Ocean(DO) custom image for Orgin Node type for Stream Manager node group
Expand Down Expand Up @@ -189,7 +189,7 @@ module "red5pro" {
* **Droplet Size** - Select the appropriate droplet size based on the usecase from Digital Ocean.
* **Load Balancer** - Digital Ocean load balancer for Stream Managers will be created automatically
* **SSL Certificates** - User can install Let's encrypt SSL certificates or use Red5Pro server without SSL certificate (HTTP only).
***MySQL Database** - Users have flexibility to create a MySQL databse server in Digital Ocean or install it locally on the Stream Manager
* **MySQL Database** - Users have flexibility to create a MySQL databse server in Digital Ocean or install it locally on the Stream Manager
* **Terraform Server** - Uesrs can choose to create a dedicated droplet for Terraform Server or install it locally on the Stream Manager
* **Stream Manager** - Droplet will be created automatically for Stream Manager
* **Origin Node Image** - To create Digital Ocean(DO) custom image for Orgin Node type for Stream Manager node group
Expand Down
2 changes: 1 addition & 1 deletion example/autoscale/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* **Droplet Size** - Select the appropriate droplet size based on the usecase from Digital Ocean.
* **Load Balancer** - Digital Ocean load balancer for Stream Managers will be created automatically
* **SSL Certificates** - User can install Let's encrypt SSL certificates or use Red5Pro server without SSL certificate (HTTP only).
***MySQL Database** - Users have flexibility to create a MySQL databse server in Digital Ocean or install it locally on the Stream Manager
* **MySQL Database** - Users have flexibility to create a MySQL databse server in Digital Ocean or install it locally on the Stream Manager
* **Terraform Server** - Uesrs can choose to create a dedicated droplet for Terraform Server or install it locally on the Stream Manager
* **Stream Manager** - Droplet will be created automatically for Stream Manager
* **Origin Node Image** - To create Digital Ocean(DO) custom image for Orgin Node type for Stream Manager node group
Expand Down
137 changes: 69 additions & 68 deletions example/autoscale/main.tf

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions example/autoscale/output.tf
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ output "database_port" {
}

output "database_password" {
sensitive = true
sensitive = true
description = "Database Password"
value = module.red5pro_autoscale.database_password
}
Expand All @@ -72,10 +72,10 @@ output "node_relay_image" {

output "load_balancer_ip_address" {
description = "Load balancer IP address"
value = module.red5pro_autoscale.load_balancer_ip
value = module.red5pro_autoscale.load_balancer_ip
}

output "lb_https_url" {
description = "Load balancer https url"
value = module.red5pro_autoscale.load_balancer_https_url
value = module.red5pro_autoscale.load_balancer_https_url
}
2 changes: 1 addition & 1 deletion example/clustered/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* **Firewall** - This Terrform module create a new Firewall in Digital Ocean.
* **Droplet Size** - Select the appropriate droplet size based on the usecase from Digital Ocean.
* **SSL Certificates** - User can install Let's encrypt SSL certificates or use Red5Pro server without SSL certificate (HTTP only).
***MySQL Database** - Users have flexibility to create a MySQL databse server in Digital Ocean or install it locally on the Stream Manager
* **MySQL Database** - Users have flexibility to create a MySQL databse server in Digital Ocean or install it locally on the Stream Manager
* **Terraform Server** - Uesrs can choose to create a dedicated droplet for Terraform Server or install it locally on the Stream Manager
* **Stream Manager** - Droplet will be created automatically for Stream Manager
* **Origin Node Image** - To create Digital Ocean(DO) custom image for Orgin Node type for Stream Manager node group
Expand Down
Loading

0 comments on commit 405467d

Please sign in to comment.