You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: releases/R2025a/README.md
+15-15Lines changed: 15 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,24 +7,11 @@ Click the **Launch Stack** button for your desired region below to deploy the cl
7
7
| Region | Launch Link |
8
8
| --------------- | ----------- |
9
9
|**us-east-1**|[](https://us-east-1.console.aws.amazon.com/cloudformation/home?region=us-east-1#/stacks/create/review?templateURL=https://mdcs-on-aws.s3.amazonaws.com/R2025a/mjs-cluster-template.json)|
10
-
|**us-east-2**|[](https://us-east-2.console.aws.amazon.com/cloudformation/home?region=us-east-2#/stacks/create/review?templateURL=https://mdcs-on-aws.s3.amazonaws.com/R2025a/mjs-cluster-template.json)|
11
-
|**us-west-1**|[](https://us-west-1.console.aws.amazon.com/cloudformation/home?region=us-west-1#/stacks/create/review?templateURL=https://mdcs-on-aws.s3.amazonaws.com/R2025a/mjs-cluster-template.json)|
12
10
|**us-west-2**|[](https://us-west-2.console.aws.amazon.com/cloudformation/home?region=us-west-2#/stacks/create/review?templateURL=https://mdcs-on-aws.s3.amazonaws.com/R2025a/mjs-cluster-template.json)|
13
-
|**ca-central-1**|[](https://ca-central-1.console.aws.amazon.com/cloudformation/home?region=ca-central-1#/stacks/create/review?templateURL=https://mdcs-on-aws.s3.amazonaws.com/R2025a/mjs-cluster-template.json)|
14
-
|**eu-central-1**|[](https://eu-central-1.console.aws.amazon.com/cloudformation/home?region=eu-central-1#/stacks/create/review?templateURL=https://mdcs-on-aws.s3.amazonaws.com/R2025a/mjs-cluster-template.json)|
15
11
|**eu-west-1**|[](https://eu-west-1.console.aws.amazon.com/cloudformation/home?region=eu-west-1#/stacks/create/review?templateURL=https://mdcs-on-aws.s3.amazonaws.com/R2025a/mjs-cluster-template.json)|
16
-
|**eu-west-2**|[](https://eu-west-2.console.aws.amazon.com/cloudformation/home?region=eu-west-2#/stacks/create/review?templateURL=https://mdcs-on-aws.s3.amazonaws.com/R2025a/mjs-cluster-template.json)|
17
-
|**eu-west-3**|[](https://eu-west-3.console.aws.amazon.com/cloudformation/home?region=eu-west-3#/stacks/create/review?templateURL=https://mdcs-on-aws.s3.amazonaws.com/R2025a/mjs-cluster-template.json)|
18
-
|**eu-north-1**|[](https://eu-north-1.console.aws.amazon.com/cloudformation/home?region=eu-north-1#/stacks/create/review?templateURL=https://mdcs-on-aws.s3.amazonaws.com/R2025a/mjs-cluster-template.json)|
19
-
|**sa-east-1**|[](https://sa-east-1.console.aws.amazon.com/cloudformation/home?region=sa-east-1#/stacks/create/review?templateURL=https://mdcs-on-aws.s3.amazonaws.com/R2025a/mjs-cluster-template.json)|
20
-
|**me-south-1**|[](https://me-south-1.console.aws.amazon.com/cloudformation/home?region=me-south-1#/stacks/create/review?templateURL=https://mdcs-on-aws.s3.amazonaws.com/R2025a/mjs-cluster-template.json)|
21
-
|**ap-east-1**|[](https://ap-east-1.console.aws.amazon.com/cloudformation/home?region=ap-east-1#/stacks/create/review?templateURL=https://mdcs-on-aws.s3.amazonaws.com/R2025a/mjs-cluster-template.json)|
22
-
|**ap-south-1**|[](https://ap-south-1.console.aws.amazon.com/cloudformation/home?region=ap-south-1#/stacks/create/review?templateURL=https://mdcs-on-aws.s3.amazonaws.com/R2025a/mjs-cluster-template.json)|
23
12
|**ap-northeast-1**|[](https://ap-northeast-1.console.aws.amazon.com/cloudformation/home?region=ap-northeast-1#/stacks/create/review?templateURL=https://mdcs-on-aws.s3.amazonaws.com/R2025a/mjs-cluster-template.json)|
24
-
|**ap-northeast-2**|[](https://ap-northeast-2.console.aws.amazon.com/cloudformation/home?region=ap-northeast-2#/stacks/create/review?templateURL=https://mdcs-on-aws.s3.amazonaws.com/R2025a/mjs-cluster-template.json)|
25
-
|**ap-southeast-1**|[](https://ap-southeast-1.console.aws.amazon.com/cloudformation/home?region=ap-southeast-1#/stacks/create/review?templateURL=https://mdcs-on-aws.s3.amazonaws.com/R2025a/mjs-cluster-template.json)|
26
-
|**ap-southeast-2**|[](https://ap-southeast-2.console.aws.amazon.com/cloudformation/home?region=ap-southeast-2#/stacks/create/review?templateURL=https://mdcs-on-aws.s3.amazonaws.com/R2025a/mjs-cluster-template.json)|
27
13
14
+
To deploy the cluster in a region not listed above, see [Deploy Cluster in a Custom Region](#deploy-cluster-in-a-custom-region).
28
15
29
16
## Step 2. Configure the Cloud Resources
30
17
Clicking the **Launch Stack** button above opens the “Quick create stack” page in your browser. You can configure the parameters on this page. It is easier to complete the steps if you position these instructions and the AWS console window side by side.
@@ -187,13 +174,26 @@ By default, MATLAB Job Scheduler (MJS) is configured to manage a wide range of c
187
174
To change the MJS configuration for advanced use cases, replace the default `mjs_def` with your own file using the template parameter `OptionalUserCommand`. This overwrites all MJS startup parameters, except for *DEFAULT_JOB_MANAGER_NAME*, *HOSTNAME*, and *SHARED_SECRET_FILE*. To learn more about the MJS startup parameters and to edit them, see [Define MATLAB Job Scheduler Startup Parameters](https://www.mathworks.com/help/matlab-parallel-server/define-startup-parameters.html).
188
175
For example, to retrieve and use your edited `mjs_def` from a storage service (e.g. Amazon S3), set the `OptionalUserCommand` to the following:
This CloudFormation template uses nested stacks to reference templates used by multiple reference architectures. For details, see the [MathWorks Infrastructure as Code Building Blocks](https://github.com/mathworks-ref-arch/iac-building-blocks) repository.
196
183
184
+
## Deploy Cluster in a Custom Region
185
+
186
+
MathWorks provides prebuilt Amazon Machine Images (AMIs) only in the regions listed in [Step 1. Deploy the Template](#step-1-deploy-the-template). To deploy a cluster in a different region, follow these steps.
187
+
188
+
1.**Copy AMI into your account**: Use this AWS quick-create link to copy the latest MATLAB Parallel Server AMI on Linux into your AWS account. Clicking the link opens a CloudFormation template with prepopulated fields. Set the AWS region in the AWS console to your desired region and deploy the template to copy the AMI. Copying takes 5 to 15 minutes. You are responsible for the costs associated with the storage of this AMI and its snapshots in your AWS account. To save costs, delete this AMI and the snapshots if you no longer need it.
189
+
190
+
[](https://console.aws.amazon.com/cloudformation/home#/stacks/create/review?templateURL=https://mathworks-reference-architectures-templates.s3.amazonaws.com/copy-ami-lambda/v1/0/0/copy-ami-lambda.yml&stackName=Copy-of-MATLAB-Parallel-Server-R2025a-AMI¶m_SourceAmiId=ami-096aa11e95ba97a78¶m_SourceRegion=us-east-1¶m_AmiName=Copy%20of%20MATLAB%20Parallel%20Server%20Linux%20R2025a¶m_ReferenceTag=https://github.com/mathworks-ref-arch/matlab-parallel-server-on-aws¶m_MWTemplateUrl=https://mdcs-on-aws.s3.amazonaws.com/R2025a/mjs-cluster-template.json)
191
+
192
+
2.**Deploy a cluster using your copied AMI**: After your copy is complete and your AMI is ready, use the `LaunchClusterWithCopiedAmi` link in the outputs tab to deploy a cluster in your desired region. You can also share this link or the Custom AMI ID with others in your AWS account to allow them to deploy clusters using the same AMI.
193
+
194
+
### Delete the Copied AMI
195
+
When you deploy a cluster using an AMI, new worker instances are created from that AMI. Delete the AMI from your account only after you have finished using all clusters based on it. To delete the AMI, navigate to the copied AMI in the AWS console using the link in the Outputs tab of the stack. Choose `Actions`, then `Deregister AMI`. Select the option `Delete associated snapshots` to also delete the associated snapshot.
196
+
197
197
## Troubleshooting
198
198
199
199
If your stack fails to create, check the events section of the CloudFormation console. This section indicates which resources caused the failure and why.
0 commit comments