Group Abstract Group Abstract

Message Boards Message Boards

How can I update a CloudDeploy using the same link?

I use CloudDeploy[] for a Manipulate[], but every time I update the code, a new link is generated. How can I keep using the same link for different versions of the code? How do I know how many credits are being used?

4 Replies

Does this work for you?

CloudDeploy[(* Enter your Manipulate expression here*), "customLink"]

You can monitor credit usage with $ServiceCreditsAvailable.

Thank you Lewis

Thank you. I will try it.

Posted 19 days ago

You want the 2-argument usage form of CloudDeploy, i.e. CloudDeploy[expr, location].

If I want to share a cloud object, typically I'll name it, which you can do in one line:

CloudDeploy[expr, CloudObject["myObject"]]

If you want to use an unnamed object, you have a couple patterns to use.

The simplest is to deploy first like you've been doing:

CloudDeploy[expr]

Notice the CloudDeploy returns a CloudObject expression. You can use this (either via the output label, like %, or by selecting the CloudObject expression and then using copy/paste) in the 2-argument form:

CloudDeploy[expr, %]

You can also create a new unnamed cloud object first, then deploy it with the 2-argument form:

obj = CloudObject[]
CloudDeploy[expr, obj]

Then you can re-deploy it with the same pattern.

To track credit use, see the CloudLoggingData function and the Usage Dashboard in the webapp, under the profile menu in the upper right of the screen.

POSTED BY: Updating Name
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard