Mosek server in production on AWS

18 views
Skip to first unread message

Trevor Jennings

unread,
Apr 9, 2025, 4:07:04 AMApr 9
to mosek
Hello - I am looking to use Mosek in a production setting. I've followed the steps outlined here: https://docs.mosek.com/latest/licensing/licensecloud.html, and am able to get results from an AWS instance.

But, beyond these instructions, it needs some more work - like ensuring the IP address published by AWS is only accessible to my own code using authentication.

I'm currently using the Fusion API. So, when running the lines like:

```
M.optServerHost(host_name)
...
M.solve()
```
Underneath the hood I assume it's making a http request to the solver. I'm thinking along the lines of a proxy solver - but I'm also wondering if there's been anything published about best practices here. I haven't been able to find anything yet, so some suggestions would be appreciated. 

Thanks,
Trevor

Michal Adamaszek

unread,
Apr 9, 2025, 4:19:34 AMApr 9
to mosek
Hi,

These are two completely separate topics: cloud licensing and optserver. One does not require the other and vice versa.

License token server in the cloud: the token server is designed for private closed networks and has no mechanism to prevent anybody knowing the IP to check out a license. There is no authentication.

Remote optimization server: You can use https and authentication tokens when submitting optimization jobs. But, again, not clear why to expose a production setting openly.

I suggest you contact Mosek support and then we can set up a meeting to better understand what you are trying to achieve and find the best solution. We don't have any additional published information about configuring the network surrounding Mosek.

Michal

Reply all
Reply to author
Forward
0 new messages