Hi @ghada
you could check out this thread:
Edge + UI Deployment - ein grober Leitfaden - Deutsches Forum - OpenEMS Community
I found it recently and figured out that I set it up very similarly.
My suggestions are:
- Hide your backend websockets behind an nginx as described in the thread above
- Serve the ui with that same nginx
- Use Hetzner Cloud for Hosting (Loadbalancer with managed SSL/TLS certificate)
- Use two servers (One for the application, one for the influxdbv2 server)
This will allow you to easily scale, update, backup, restore your system.
Regards
Simon