Upgrade an Application

To upgrade your Spin application, there are just a few steps to take. This doesn’t require so much stress.

Upgrade your application

To upgrade a Spin application running in the Fermyon Cloud, you first have to change the version of your application.

  1. Open the spin.toml file. In the file, you’ll find this line of code for the version:
version = "0.1.0"

In this case, we’re changing the version from 0.1.0 to 0.1.1

version = "0.1.1"
Additional info

Spin application are packaged using Bindle. Bindle ensures immutability, meaning you cannot overwrite a Bindle (name+version), once it has been uploaded to a Bindle server. /n/n spin deploy will fail if you try to redeploy a version of an application, which already exists in the Fermyon Cloud.

You can now deploy the upgraded version of your application by running this command:

$ spin deploy

That’s how to upgrade a Spin Application, just as simple as that!

Next steps

Did we miss something?

Let us know how we can improve this project, or contribute an edit to this page. We really appreciate your feedback, to help us build better tools.