Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions concepts/deployment.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,34 @@ Choose your instance type based on your model's requirements:
Make sure you setup budget monitory and alerts to avoid unexpected charges.
</Warning>

## Command-line Interface Changes

Starting with Magemaker vNext, the CLI offers:

- Improved `--cloud` option:
Magemaker now **requires you to specify** which cloud provider you want to deploy on via `--cloud`, e.g. `--cloud aws`. Running just `magemaker` will prompt you with possible cloud choices and exit if none is provided.

- Error messages for missing cloud provider:
If you run `magemaker` without arguments, you'll see an error like:

```
Error: You must specify a cloud provider.
Possible solutions:
- magemaker --cloud gcp
- magemaker --cloud aws
- magemaker --cloud azure
- magemaker --cloud all
```

- The `--cloud` flag cannot be used together with the `--deploy` option.
If you try, Magemaker will print:

```
Error: You cannot specify a deployment configuration file with the --cloud flag. We will pick the destination from the yaml file
```

- Improved help output:
Use `magemaker --help` or `magemaker --version` to see available options and version info.

## Troubleshooting Deployments

Expand Down
11 changes: 11 additions & 0 deletions quick-start.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,17 @@ Supported providers:
- `--cloud azure` Azure Machine Learning deployment
- `--cloud all` Configure all three providers at the same time

**If you run without any arguments, Magemaker will show a helpful error and guidance:**

```
Error: You must specify a cloud provider.
Possible solutions:
- magemaker --cloud gcp
- magemaker --cloud aws
- magemaker --cloud azure
- magemaker --cloud all
```


### List Models

Expand Down