Skip to content

Update tutorial #1099

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 1, 2020
Merged
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
16 changes: 13 additions & 3 deletions examples/sklearn/iris-classifier/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,17 +177,27 @@ Cortex can automatically provision infrastructure on your AWS account and deploy
$ cortex cluster up
```

You can deploy the model using the same code and configuration to your cluster:
This creates a Cortex cluster in your AWS account, and will take approximately 15 minutes. Additional information about your cluster is shown on the command line.

After your cluster is created, you can deploy your model to your cluster by using the same code and configuration as before:

```bash
$ cortex deploy --env aws

creating iris-classifier
```

<br>
You can then get your API's endpoint (along with other useful information about your API) using the `cortex get` command:

```bash
$ cortex get iris-classifier --env aws

...
endpoint: http://***.amazonaws.com/iris-classifier
...
```

## Serve predictions in production
Then, to make requests to your prediction API on AWS:

```bash
$ curl http://***.amazonaws.com/iris-classifier \
Expand Down