mirror of https://github.com/OpenVidu/openvidu.git
openvidu-deployment: - HA - Open port 5349 in media nodes for master nodes if Turn Domain is not configured
parent
335fd8e3c3
commit
e66e5a23e1
|
@ -416,6 +416,7 @@ Metadata:
|
|||
|
||||
Conditions:
|
||||
TurnTLSIsEnabled: !Or [!Not [!Equals [!Ref TurnDomainName, ""]], !Not [!Equals [!Ref TurnCertificateARN, ""]]]
|
||||
TurnTLSIsNotEnabled: !Or [!Equals [!Ref TurnDomainName, ""], !Equals [!Ref TurnCertificateARN, ""]]
|
||||
CreateRecordingsBucket: !Equals [!Ref S3AppDataBucketName, ""]
|
||||
CreateClusterDataBucket: !Equals [!Ref S3ClusterDataBucketName, ""]
|
||||
|
||||
|
@ -2104,6 +2105,7 @@ Resources:
|
|||
|
||||
OpenViduLoadBalancerTurnTLSToMediaNodeIngressSG:
|
||||
Type: AWS::EC2::SecurityGroupIngress
|
||||
Condition: TurnTLSIsEnabled
|
||||
Properties:
|
||||
GroupId: !Ref OpenViduMediaNodeSG
|
||||
IpProtocol: tcp
|
||||
|
@ -2111,6 +2113,16 @@ Resources:
|
|||
ToPort: 5349
|
||||
SourceSecurityGroupId: !Ref OpenViduTurnTLSLoadBalancerSG
|
||||
|
||||
OpenViduLoadBalancerTurnTLSMasterNodeToMediaNodeIngressSG:
|
||||
Type: AWS::EC2::SecurityGroupIngress
|
||||
Condition: "TurnTLSIsNotEnabled"
|
||||
Properties:
|
||||
GroupId: !Ref OpenViduMediaNodeSG
|
||||
IpProtocol: tcp
|
||||
FromPort: 5349
|
||||
ToPort: 5349
|
||||
SourceSecurityGroupId: !Ref OpenViduMasterNodeSG
|
||||
|
||||
OpenViduLoadBalancerTurnTLSToMediaNodeHealthCheckSG:
|
||||
Type: AWS::EC2::SecurityGroupIngress
|
||||
Condition: TurnTLSIsEnabled
|
||||
|
|
Loading…
Reference in New Issue