Application Deployments represent the process of updating your application code. Currently, Bunnyshell only allows deployment from git repositories.
After you created your Custom Application, go to your Application view, specify the branch or tag you want to deploy and hit the Deploy button. You will be redirected to the Logs page where you can see all actions in real time.
When you deploy an Application on your Server, the following actions are executed:
The Application code is cloned and packaged on Bunnyshell Servers
The Server downloads the application package into a Release Directory
All Application Secrets are retrieved from Key Vault
Shared Directories are copied or linked
Application Configuration Files are created from Secrets
Pre Symlink Deploy Actions are executed
Release directory becomes live
Post Symlink Deploy Actions are executed
Application Deployment Snapshot is created
In order to fully understand how Application Deployments can be used to build your Application, take a look at the following resources:
When you perform an Application Deployment on Load Balanced or Cluster Servers, a Snapshot is created after the Deployment (when Quick Deployment is not enabled), so that if a Horizontal Scale is performed, the new servers will be created starting from that Snapshot.
Bunnyshell keeps only the last Snapshot created after a Deployment. Snapshots created after Deployments are not visible in the Snapshot View.
(Only for Load Balanced and Cluster servers)
Because Application Deployment Snapshots can take several minutes to create, you can enable the Quick Deployment property on the Deployment page. By enabling this feature, the deployment will not create a Deployment Snapshot. This allows you to do consecutive deployments faster when setting up your Application Deploy Steps.
Bunnyshell offers different Deployment Strategies that you can use with your application. Check the documentation for more info: