Skip to content

Commit 8da00f5

Browse files
committed
Update tutorial (#1099)
(cherry picked from commit c1f8a79)
1 parent 6464ea7 commit 8da00f5

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

examples/sklearn/iris-classifier/README.md

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -177,17 +177,27 @@ Cortex can automatically provision infrastructure on your AWS account and deploy
177177
$ cortex cluster up
178178
```
179179

180-
You can deploy the model using the same code and configuration to your cluster:
180+
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.
181+
182+
After your cluster is created, you can deploy your model to your cluster by using the same code and configuration as before:
181183

182184
```bash
183185
$ cortex deploy --env aws
184186
185187
creating iris-classifier
186188
```
187189

188-
<br>
190+
You can then get your API's endpoint (along with other useful information about your API) using the `cortex get` command:
191+
192+
```bash
193+
$ cortex get iris-classifier --env aws
194+
195+
...
196+
endpoint: http://***.amazonaws.com/iris-classifier
197+
...
198+
```
189199

190-
## Serve predictions in production
200+
Then, to make requests to your prediction API on AWS:
191201

192202
```bash
193203
$ curl http://***.amazonaws.com/iris-classifier \

0 commit comments

Comments
 (0)