The ability to enter multiple IP ranges when deploying the MATLAB Production Server R2020b Reference Architecture to AWS is not available, you can indeed really only enter one range during initial deployment. If additional ranges are to be allowed access, these can be added later.
First, highlight the stack created in AWS Cloudformation portal, choose the 'Resource' tab, then:
If you want to allow more IP range to access license server deployed (if any):
- Click the physical ID of "MatlabProductionServerLicenseServerStack"
- From the opened stack, go to "resource" again and click the physical ID of "security group"
- In the opened security group portal, highlight the security group and choose "Inbound Rules", then click "Edit Inbound rules", you will be able to add/delete/edit security rules in the opened page.
- To add IP ranges to rules, click input fields under 'Source', then enter the new IP range in CIDR format. After modifying all rules, click 'Save rules', then the new rules will be saved.
If you want to allow more IP range to access MPS cloud console:
- Click the physical ID of "MatlabProductionServerResourcesStack"
- From the opened stack, go to "resource" again and click the physical ID of "MatlabProductionServerCloudStackElb1Sg"
- Find security group named "matlab-production-server-cloud-stack-elb-1-sg", then see steps 3 and 4 in previous option
If you want to allow more IP range to access MPS endpoints:
- Click the physical ID of "MatlabProductionServerResourcesStack"
- From the opened stack, go to "resource" again and click the physical ID of "MatlabProductionServerCloudStackElb2Sg"
- Find security group named "matlab-production-server-cloud-stack-elb-2-sg", then see steps 3 and 4 in previous option