Using deployment profiles

What are deployment profiles?

Deployment profiles enable you to customise the deployment process depending on the situation. For example, you may only want to deploy your front-end servers, and leave your databases undisturbed. Rather than manually setting this up each time you need it, you can save it as a profile.

Creating a deployment profile

To create a new deployment profile:

  1. Log into your Cloud Dashboard and open any of your apps
  2. Click on the green Deploy button (top right) and select Create New Profile
  3. Name your Deployment Profile
  4. Configure it as needed
  5. Click Save Profile

Using a deployment profile

You can use a deployment profile:

  • Via the Dashboard by clicking on Deploy and selecting the profile name
  • Via redeployment hooks (see below)

Option for deployments

Deployment strategy

Pause Jobs

You can choose to pause all your server and application jobs while you’re deploying. The jobs will be automatically resumed once the deployment is completed.

Calling a deployment profile via a redeployment hook

Redeployment hooks allow you to initiate a deployment simply by calling a URI. These hooks can be combined with deployment profiles to completely automate the deployment pipeline. Read our how-to guide on redeployment hooks for details on how to achieve this.

Dockerfile for Rails