Sharing deployments¶
After you have deployed a project, you can share the deployment with others. You can share a deployment publicly, with other Anaconda Enterprise users, or both.
Any collaborators you add to your deployment will see your deployment in their Deployments list when they log in to AE.
Note
Your Anaconda Enterprise Administrator creates the users and groups with whom you can share your deployments, so check with them if you need a new group created.
To enable others to reference a deployment from within their code:¶
Rather than sharing your model with other data scientists and having them run it, you can give them an endpoint to query the model, which you can continue to update, improve and redeploy as needed.
Note
If the deployment is going to be used as an endpoint that’s called by other code, you’ll want to provide a static URL when deploying the project, and NOT use an auto-generated URL.
If your deployment is Private
, you’ll also need to generate a token that can be used to connect to the associated Notebooks, APIs or other running code. People will need both the deployment URL and the token to access a private deployment. Tokens are powerful and should be protected like passwords.
Click the deployment you want to generate a token for and select Settings in the left menu.
Scroll to the Generate Tokens setting and click Generate. Copy the token that’s generated to the clipboard with the
icon, or by copying it with mouse or keyboard shortcuts like any other text.
You can then share this token, and the Deployment URL, with others to enable them to connect to the deployment from within Notebooks, APIs and other running code.
To remove a deployment from the server—thereby making it unavailable to yourself and others—you terminate the deployment. This also frees up its resources.