On this page

Rollbacks

A rollback allows you to quickly restore a previous version of your application that was working correctly. It is the fastest way to resolve problems caused by a recent deploy.

What happens during a rollback

When you rollback, Guara Cloud:

  1. Retrieves the container image from the selected version
  2. Creates a new deployment using that image
  3. Deploys the previous version
  4. Verifies that the application is responding correctly

The rollback skips the build step, since the container image from the previous version already exists. This makes rollbacks much faster than regular deploys, typically completing in under 60 seconds.

How to rollback

  1. Go to the service

    In the dashboard, navigate to the service page you want to restore.

  2. Open the Deployments tab

    Click the Deployments tab to view the full history.

  3. Find the previous deploy

    Locate a previous deployment with Healthy status. This is the deploy you will restore.

  4. Click “Rollback”

    Click the Rollback button next to the desired deployment. Confirm the action.

A new deployment will be created with the Rollback type in the history. You can track progress as usual.

Automatic rollback

When a deploy fails the health check (the application does not respond correctly), Guara Cloud automatically attempts to restore the previous working version.

The automatic rollback:

  • Finds the most recent deploy with Healthy status
  • Creates a new deployment from that version
  • Monitors the new version to confirm it is working

If the automatic rollback also fails, the service remains in Failed status and no further automatic attempts are made. In this case, you will need to investigate and resolve the issue manually.