Connecting an external worker to a cloud deployment
Your worker must have an external worker launch configuration.
Connect workers to the deployment
- If you don’t have one running already, run a cloud deployment.
- Open a terminal and navigate (
cd) to the root directory of your project.
- Set up a connection to the deployment by running
spatial cloud connect external.
Connect a worker to the deployment by running:
spatial local worker launch <worker type> <launch_config>
worker type: the type of the worker. For example,
launch_config: the launch configuration file.
spatial local worker launch --helpfor more information.
For example, to start a
defaultlaunch configuration file, run
spatial local worker launch MyCSharpClient default