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/R2023a/README.md
+14-4
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,8 @@
2
2
3
3
## Step 1. Launch the Template
4
4
5
-
Click the **Launch Stack** button to deploy a standalone MATLAB® desktop client on AWS®. This will open the CloudFormation Create Stack screen in your web browser.
5
+
Click the **Launch Stack** button to deploy a standalone MATLAB® desktop client on AWS®. This
6
+
opens the CloudFormation Create Stack screen in your web browser.
6
7
7
8
| Region | Launch Link |
8
9
| --------------- | ----------- |
@@ -46,14 +47,16 @@ After you click the Launch Stack button above, the “Create stack” page will
46
47
|**VPC to deploy this stack to**| ID of an existing VPC in which to deploy this stack |
47
48
|**Subnet**| ID of an existing subnet |
48
49
|**RDP Key Pair**| Name of an existing EC2 KeyPair to allow RDP access to all the instances. See https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html for details on creating these. |
50
+
|**Enable browser access for MATLAB**| Option that enables access to MATLAB on your cloud MATLAB instance within a browser. Opening MATLAB in a browser opens a separate MATLAB session to your Remote Desktop Protocol (RDP) session or NICE DCV session. |
49
51
|**Allow RDP and SSH connections from**| IP address range that will be allowed to connect to this instance from outside of the VPC. This field should be formatted as \<ip_address>/\<mask>. E.g. 10.0.0.1/32. This is the public IP address which can be found by searching for 'what is my ip address' on the web. The mask determines the number of IP addresses to include. A mask of 32 is a single IP address. This calculator can be used to build a specific range: https://www.ipaddressguide.com/cidr. You may need to contact your IT administrator to determine which address is appropriate. |
50
-
|**Remote password**| Password for the user Administrator |
52
+
|**Remote password**| Password for the user Administrator. You also need to enter this as an authentication token to access MATLAB on your cloud instance within a browser.|
51
53
|**Confirm remote password**| Confirm Password |
52
54
|**License Manager for MATLAB connection string**| Optional License Manager for MATLAB, specified as a string in the form \<port>@\<hostname>. If not specified, use online licensing. If specified, the network license manager (NLM) must be accessible from the specified VPC and subnets. To use the private hostname of the NLM hub instead of the public hostname, specify the security group ID of the NLM hub in the AdditionalSecurityGroup parameter. For more information, see https://github.com/mathworks-ref-arch/license-manager-for-matlab-on-aws.|
53
55
|**Configure cloudwatch logging for the MATLAB instance**| Flag indicating whether cloudwatch logging for the MATLAB instance is enabled. |
54
56
|**Additional security group to place instances in**| ID of an additional (optional) Security Group for the instances to be placed in. Often the License Manager for MATLAB's Security Group. |
55
57
|**Use Elastic IP address that persists across machine reboots**| Flag indicating whether you want to keep the same public IP address for the instance. |
56
58
|**AutoShutdown**| Choose whether you want to enable autoshutdown for your instance after a certain number of hours |
59
+
|**Custom AMI ID (Optional)**| ID of a custom Amazon Machine Image (AMI) in the target region (optional). If the build has been customized then the resulting machine image may no longer be compatible with the provided CloudFormation template. Compatability can in some cases be restored by making corresponding modifications to the CloudFormation template. The ID should start with 'ami-'. |
57
60
|**Optional user inline command**| Provide an optional inline PowerShell command to run on machine launch. For example, to set an environment variable CLOUD=AWS, use this command excluding the angle brackets: \<[System.Environment]::SetEnvironmentVariable("CLOUD","AWS", "Machine");>. You can use either double quotes or two single quotes. To run an external script, use this command excluding the angle brackets: \<Invoke-WebRequest "https://www.example.com/script.ps1" -OutFile script.ps1; .\script.ps1>. Find the logs at '$Env:ProgramData\MathWorks\startup.log'. |
58
61
59
62
@@ -63,14 +66,21 @@ After you click the Launch Stack button above, the “Create stack” page will
63
66
64
67
## Step 3. Connect to the Virtual Machine in the Cloud
65
68
69
+
To connect to the Virtual Machine (VM) using Remote Desktop Client, follow these steps:
66
70
1. Expand the **Outputs** section in the *Stack Detail* page.
67
71
1. Look for the key named `RDPSSHConnection` and copy the corresponding public DNS name listed under value. *For example*: ec2-11-222-33-44.compute-1.amazonaws.com
68
72
1. Launch any remote desktop client, paste the public DNS name in the appropriate field, and connect. On the Windows Remote Desktop Client you need to paste the public DNS name in the **Computer** field and click **Connect**.
69
73
1. In the login screen that's displayed, use the username `Administrator` and the password you specified while setting up the stack in [Step 2](#step-2-configure-the-stack).
70
74
1. You can also connect using SSH from the terminal using the format: `ssh Administrator@<DNS name>`. *For example*: ssh [email protected]
71
75
76
+
If you choose to enable browser access for MATLAB, then:
77
+
1. Expand the **Outputs** section in the *Stack Details* page.
78
+
1. Look for the key named `BrowserConnection` and click on it
79
+
1. On the login screen, use the password you specified while deploying the stack in [Step 2](#step-2-configure-the-stack) as the 'auth token' to authenticate.
80
+
1. Browser access for MATLAB is enabled using `matlab-proxy`, a MathWorks® developed Python® package. For more information on `matlab-proxy`, refer to [matlab-proxy GitHub repository](https://github.com/mathworks/matlab-proxy).
81
+
72
82
## Step 4. Start MATLAB
73
-
Double-click the MATLAB icon on the virtual machine desktop to start MATLAB. The first time you start MATLAB, you need to enter your MathWorks® Account credentials to license MATLAB. For other ways to license MATLAB, see [MATLAB Licensing in the Cloud](https://www.mathworks.com/help/install/license/licensing-for-mathworks-products-running-on-the-cloud.html).
83
+
Double-click the MATLAB icon on the virtual machine desktop to start MATLAB. The first time you start MATLAB, you need to enter your MathWorks Account credentials to license MATLAB. For other ways to license MATLAB, see [MATLAB Licensing in the Cloud](https://www.mathworks.com/help/install/license/licensing-for-mathworks-products-running-on-the-cloud.html).
74
84
75
85
>**Note**: It may take up to a minute for MATLAB to start the first time.
76
86
@@ -96,6 +106,6 @@ This CloudFormation template uses nested stacks to reference templates used by m
0 commit comments