Docs
  • Getting Started
    • Monitoring & Alerting
    • Path based routing
    • Staging Environments
    • Custom Domains
    • CI Pipelines
    • Zero Downtime Releases
    • Horizontal Scaling with replicas
    • Deployment modes
    • Environment Variables
    • Troubleshooting Deployments
    • Using the IDE
    • Code Reviews
    • Pricing: Hosting and Seats
    • Installing OS-level packages using Nix
    • Speedrun: Deploying an app
  • Templates
    • FlowiseAI - Low Code LLM Apps Builder
    • Llama2 API
    • Llama2.cpp Chat
    • Jupyter Notebook
    • Stable Diffusion Text2Img
    • Text generation web UI
Powered by GitBook
On this page
  • Getting started
  • Get the updates onto Arkane Cloud
  • Review changes
  • Zero downtime releases
  1. Getting Started

Zero Downtime Releases

Learn how to update your Arkane Cloud apps without any downtime. The best? You can roll-back instantly if something goes wrong.

PreviousCI PipelinesNextHorizontal Scaling with replicas

Last updated 1 year ago

Arkane Cloud powerful and flexible setup allows for updating your services without any downtime. In this document we will explain how you can use Arkane Cloud deploy updates with a few clicks and zero downtime for your users.

Getting started

Get the updates onto Arkane Cloud

First make updates to your code or data like you would normally do, either in Arkane Cloud directly (in the staging workspace!) or make changes locally and commit them to your GitHub branch.

Review changes

Make sure your application is running with the latest version of the code (i.e. running the build command or CI stage again) and open the Arkane Cloud URL of this workspace. Test your changes as thoroughly as needed. Once you are confident that everything works as expected you can deploy the changes to production.

Zero downtime releases

Updating your production URL to use the latest version of the code you just tested in the Staging Environment can be done with a few clicks.

  1. Navigate to the Domains tab

  2. Click "Edit"

  3. Switch the workspace currently running your production environment with the staging workspace

  4. Click "Update"

Now your users will be instantly directed to the new application version. What’s unique about this setup is that should you realize something is going wrong afterwards you can switch back to the old version just as easily by connecting the other workspace again. Switching involves literally zero downtime.

Prerequisite for zero downtime deployments is setting up at least two workspaces running your application. Please follow the steps outlined in if you still need to set this up.Also you will need to have a verified domain connected to Arkane Cloud. Follow the if you still need to set this up.

Once the changes are committed to your repository, open the second workspace we created earlier, click the + icon to open a terminal and type git pull. You can perform any of the usual git commands here as well (i.e. switching remote branches, rolling back etc.). If your repository is private you will need to use a personal access token to authenticate (see if you need to set one up first).

Staging Environments Documentation
Custom Domains Documentation
GitHub Documentation
Pull your updates from GitHub