> For the complete documentation index, see [llms.txt](https://docs.rumi.systems/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.rumi.systems/rumi-cli/commands/cloud/aws/run-admin-script.md).

# run-admin-script

Execute an admin script on a deployed system.

## Syntax

```bash
rumi cloud aws run-admin-script --profile <profile> --network <network> --system <name> --script <script-file> [--params <params>]
```

## Options

| Option      | Short | Description                                       | Default   |
| ----------- | ----- | ------------------------------------------------- | --------- |
| `--profile` | `-p`  | AWS profile to use                                | Required  |
| `--network` | `-n`  | Name of the Rumi network                          | Required  |
| `--system`  | `-s`  | Name of the system                                | Required  |
| `--script`  | `-i`  | Script file to execute                            | Required  |
| `--params`  | `-a`  | Script parameters in `key1=val1,key2=val2` format |           |
| `--region`  | `-r`  | AWS region                                        | us-east-1 |

## Example

```bash
rumi cloud aws run-admin-script \
  --profile my-aws-profile \
  --network my-network \
  --system my-app \
  --script start.js \
  --params mode=active
```

## See Also

* [launch-admin](/rumi-cli/commands/cloud/aws/launch-admin.md)
