run-command

Execute a command on an instance.

Syntax

rumi cloud aws run-command --profile <profile> --network <network> --instance <instance> --command <command> [options]

Options

Option
Short
Description
Default

--profile

-p

AWS profile to use

Required

--network

-n

Name of the Rumi network

Required

--instance

Name of the instance

Required

--command

-c

Command to execute

Required

--region

-r

AWS region

us-east-1

Example

rumi cloud aws run-command \
  --profile my-aws-profile \
  --network my-network \
  --instance processor-1 \
  --command "ls -la /opt/rumi"

See Also

Last updated