Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Looking for a simple example for multiple machine weaver app (non-cloud deployment)

69 views
Skip to first unread message

Tharaneedharan Vilwanathan

unread,
Aug 4, 2023, 7:17:19 PM8/4/23
to Service Weaver
Hi All,

I am looking for a very simple example with detailed instructions for multiple machine weaver app (using ssh?). I have multiple machines (local machines, not cloud) and I would like to play with weaver.

Can someone please provide me the details?

Appreciate your help.

Thanks
dharani

mwhittaker

unread,
Aug 4, 2023, 7:38:31 PM8/4/23
to Service Weaver
Hi dharani,

Thanks for reaching out! We do have an SSH deployer, "weaver ssh". It's not documented on our website, so it's a bit hard to find. To deploy an application with "weaver ssh", first create a file that lists the IP addresses of the machines you'd like to run on. Then, add an "[ssh]" section to your config file like this: https://github.com/ServiceWeaver/weaver/blob/main/examples/collatz/weaver.toml#L11-L13. After that, run "weaver ssh deploy weaver.toml". 

If you're willing to run a Kubernetes cluster on your machines, you can also check out our Kubernetes deployer (https://github.com/ServiceWeaver/weaver-kube). "weaver ssh" has been low priority for us, but we are actively working on "weaver kube" right now. 

Let me know if you run into any problems, and feel free to ping us in our Discord too: https://discord.gg/FzbQ3SM8R5

Best,
Michael

Tharaneedharan Vilwanathan

unread,
Aug 4, 2023, 7:52:59 PM8/4/23
to Service Weaver
Thanks Michael! I will give it a try and get back with any questions.

Regards
dharani
Reply all
Reply to author
Forward
0 new messages