Skip to content

Commit f32f15b

Browse files
committed
Patch EndPort Calculation for MJS v2.1.0
1 parent ec1ae3c commit f32f15b

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

aws/security-group/v2/.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v2.0.0
1+
v2.1.0

aws/security-group/v2/security-group.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
2-
# Copyright 2023-2024 The MathWorks, Inc.
2+
# Copyright 2023-2025 The MathWorks, Inc.
33
AWSTemplateFormatVersion: '2010-09-09'
44
Transform: 'AWS::LanguageExtensions'
55
Description: >
6-
MathWorks Reference Architectures Template Security Group: Creates a security group to control the inbound and outbound traffic for the resources deployed in AWS. Version: v2.0.0
6+
MathWorks Reference Architectures Template Security Group: Creates a security group to control the inbound and outbound traffic for the resources deployed in AWS. Version: v2.1.0
77
88
Metadata:
99
AWS::CloudFormation::Interface:
@@ -13,6 +13,7 @@ Metadata:
1313
Parameters:
1414
- VpcId
1515
- CidrRanges
16+
- EndPortForMJSAccess
1617
- Label:
1718
default: Access type to provide
1819
Parameters:
@@ -46,6 +47,8 @@ Metadata:
4647
default: License Manager
4748
InternalAccess:
4849
default: Internal
50+
EndPortForMJSAccess:
51+
default: End port for MJS access
4952

5053
Parameters:
5154
VpcId:
@@ -87,6 +90,9 @@ Parameters:
8790
AllowedValues: ['Yes', 'No']
8891
Default: 'No'
8992
Description: Allow all traffic inside the security group
93+
EndPortForMJSAccess:
94+
Type: Number
95+
Description: Port up to which MATLAB client traffic is allowed from CidrRanges for cluster access. See https://github.com/mathworks-ref-arch/matlab-parallel-server-on-aws for more details.
9096

9197
Conditions:
9298
AllowSSH: !Equals [!Ref SSHAccess, 'Yes']
@@ -194,7 +200,7 @@ Resources:
194200
Properties:
195201
GroupId: !Ref SecurityGroup
196202
FromPort: 27350
197-
ToPort: 27613
203+
ToPort: !Ref EndPortForMJSAccess
198204
CidrIp: !Ref Cidr
199205
IpProtocol: tcp
200206
Description: !Sub

0 commit comments

Comments
 (0)