Deploy
The Deploy operation is the most critical operation on KintoHub. This functionality is responsible for safely deploying changes to your service's environment with no downtime.
How To Deploy
There are several ways you can deploy updates to a new or existing service.
Deploy New Service
- Login to KintoHub
- Choose your environment you are interested in deploying into at the top left.
- Click
Create Service
- Fill the Repository information
- Fill the Build Settings information
- Click
Deploy
at the top right
Deploy A Configuration Update
- Login to KintoHub
- Choose your environment you are interested in deploying into at the top left.
- Choose the service you are interested in editing under the services list.
- Click Edit Service at the top right
- Make the changes within the various tabs you wish to edit.
- Click Deploy at the top right.
Deploy A Previous Release
- Login to KintoHub
- Choose your environment you are interested in deploying into at the top left.
- Choose the service you are interested in editing under the services list.
- Click the Releases tab near the top left.
- Click the ... within the row of the release you wish to deploy
- Click Rollback option.
Deploy Updated Code From Your Branch
- Login to KintoHub
- Choose your environment you are interested in deploying into at the top left.
- Choose the service you are interested in editing under the services list.
- Click Trigger Deploy at the top right of the service
Automatically Deploy New Code (CI/CD)
This feature is currently in development and can be read under Service Settings
Deploy Logs
After clicking deploy, you will see a realtime view of the Release Logs.
How Does Deploy Work?
When you deploy a service many things occur under the hood.
- Your deploy request is queued for deployment
- KintoHub starts the deployment and updates its state to Deploying
- Your code is pulled from your repository
- KintoHub executes your Build Command from your Build Settings
- Once your build is successful. KintoHub stores your build artifact for historical use
- KintoHub attempts to deploy your service using a Rolling Update
- KintoHub streams the live Console logs of the new services for review and easy access to potential errors
- Once KintoHub detects your service is live on the specified Port in your Build Settings. Your service is marked as deployed and your API traffic is switched to your new Release.
- If this is not your 1st deployment, KintoHub then shuts down your previous Release.
If any of the above steps fail, KintoHub will try its best to highlight the issue and provide shortcuts to resolving them.
note
All deployments are known as Rolling Updates. When you have a new version of your Service going out, KintoHub will ensure the new version of your service is 100% working and ready to receive traffic before shutting down the previous version of your release. During this time, you will be paying for two instances of your service running, which usually lasts less than 30 seconds.
tip
pay-as-you-go
users have priority over free
users in the KintoHub platform deployment queue.
Every region has its deployment queue.
Abort Deploy Action
Under the Releases Tab of your service, you can click the ... dots a release that is actively deploying and then click Abort