MATLAB: How to configure the firewall to connect to the Amazon EC2 cluster for the MATLAB Parallel Server on demand license

MATLAB Parallel Server

I am attempting to configure my MATLAB client in order to connect to my MATLAB Parallel Server cluster using Online Licensing on Amazon EC2, what ports are required to be open for communication?

Best Answer

The following ports must be opened in order to use MATLAB Parallel Server with Online Licensing on Amazon EC2.
TCP Ports - Usage
  • 443 - Web access to Cloud Center
  • 22 - SSH
  • 27355 - Access to MATLAB job scheduler on head node
  • 14350–14415 - MATLAB pool or parallel pool workers (R2012b and later)
  • 40000–40065 - MATLAB pool workers (R2012a)
In addition to the above ports the following domains will need to be allowed/bypassed.
  • login.mathworks.com
  • services.mathworks.com
  • licensing.mathworks.com
NOTE: Starting in R2019a the following name changes occurred:
  • MATLAB Distributed Computing Server was renamed to MATLAB Parallel Server