These are the docs for 13.8, an old version of SpatialOS.
The docs for this version are frozen: we do not correct, update or republish them.
14.5 is the newest →
spatial alpha cloud launch
Launch a deployment.
Description
Orchestrate a new deployment to run the given code with and tag the deployment. Launching while uploading to the same assembly name in parallel can result in undefined behavior.
spatial alpha cloud launch -d <deployment name> -a <assembly name> [flags]
Options
-a, --assembly_name string Name of the assembly to be uploaded (required).
--cluster string Cluster to create the deployment in. For example, 'eu1-prod', 'us2-prod'. Leave blank to automatically pick.
--deployment_description string Description for the deployment.
-d, --deployment_name string Name of the deployment to be started (required). Deployment names may contain alphanumerical characters and underscores, and must be 2 to 32 characters long.
--experimental_runtime string Specify an experimental runtime version to launch with. Defaults to using the stable released version.
--hide_overview_page Set flag to not open the deployment overview page.
--launch_config string Path to launch configuration file to start the deployment with (optional). This flag overrides any launch configuration file specified in the main project configuration file.
--no_history Do not create a new history. You should normally never need to specify this.
--snapshot string Path to the snapshot file to start the deployment with (optional). This flag overrides any snapshot file path specified in the launch configuration file.
--tags strings Comma-delimited list of tags to attach to the new deployment.
--upload_timeout duration Snapshot upload timeout ('2s', '1m', etc). (default 2m0s)
Options inherited from parent commands
--json_output Print output in JSON format. Useful when you need to parse the Spatial CLI output.
--log_directory string Sets the directory log files will be created in. If not specified, this is set to <project_root>/logs when inside a project directory and logging is disabled when outside a project directory.
--log_level string Sets the log level. Available log levels: debug, info, warning, error, fatal, or panic.
--main_config string The path to your project's main configuration file (usually called spatialos.json)
--no_animation Disable dynamic output elements such as the spinner, progress bars, etc.
--project_name string This flag overrides the project name given in the spatialos.json file of the current SpatialOS project (if there is one).