You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a request to enhance the documentation that describes deploying to AWS and calling a remote endpoint.
Motivation
A lot goes on behind the scenes in the AWS deploy that does not in the local deployment. Between the cortex cluster up command and cortex deploy, it takes 15 mins and many resources are created.
It's also not totally clear how to get the remote endpoint to call, so it might be good to remind users about the usefulness of the cortex get sentiment-classifier command.
Additional context
Could we add more documentation? e.g.
cortex cluster up
This brings up a cluster in AWS by deploying a number of CloudFormation stacks and takes about 15 mins. Additional information about deployment and resources is shown on the command line.
After the cluster is deployed, you'll see:
cortex is ready!
an environment named "aws" has been configured for this cluster; append `--env=aws` to cortex commands to reference it, or set it as your default with `cortex env default aws`
To get the right endpoint to call, use cortex get:
Thanks @ssami, I agree that your additions make it much more clear!
I incorporated them in this PR: #1099. I didn't include as much of the exact CLI output as your proposal did, since we change that output frequently so it may be hard to keep up to date. Everything you suggested makes perfect sense, let me know if you think I've addressed it in the PR, or if I should make any additional changes.
This makes a lot of sense, thank you for addressing! The most relevant thing for me was to see the endpoint information show up in the cortex get ... command. 👍
Description
This is a request to enhance the documentation that describes deploying to AWS and calling a remote endpoint.
Motivation
A lot goes on behind the scenes in the AWS deploy that does not in the local deployment. Between the
cortex cluster up
command andcortex deploy
, it takes 15 mins and many resources are created.It's also not totally clear how to get the remote endpoint to call, so it might be good to remind users about the usefulness of the
cortex get sentiment-classifier
command.Additional context
Could we add more documentation? e.g.
The text was updated successfully, but these errors were encountered: