Get SpatialOS

Sites

Menu
These are the docs for 13.3, an old version of SpatialOS. The docs for this version are frozen: we do not correct, update or republish them. 13.4 is the newest →

Connecting an external worker to a cloud deployment

Once you’ve got a cloud deployment running, you can connect external workers on your local machine.

Prerequisites

Your worker must have an external worker launch configuration.

Connect workers to the deployment

  1. If you don’t have one running already, run a cloud deployment.
  2. Open a terminal and navigate (cd) to the root directory of your project.
  3. Set up a connection to the deployment by running spatial cloud connect external.
  4. Connect a worker to the deployment by running:

    spatial local worker launch <worker type> <launch_config>
    

    where:

    Run spatial local worker launch --help for more information.

    For example, to start a MyCSharpClient using the default launch configuration file, run

    spatial local worker launch MyCSharpClient default
    

Search results

Was this page helpful?

Thanks for letting us know!

Thanks for your feedback

Need more help? Ask on the forums