Skip to main content

Deploy an application

Follow CodeNOW's deployment process to deploy your application in a few clicks. To get a general understanding of deployment-related features, see Deployment overview.

Deployment process

Provide the following five pieces of information, the first of which is mandatory:

  1. Deployment process {#deployment-process}
    1. Deployment target
    2. Deployment configurations {#deployment-configuration}
    3. Assigned domains
    4. Runtime configuration
    5. Connect managed services
  2. Example

Deployment process

Deployment target

In the first step of the deployment process, you specify what to deploy (application package) and where to deploy to (target deployment environment). The combination of the two constitutes a deployment target. Specifying a deployment target is mandatory.

Deployment target

Deployment configurations

In the second step of the deployment process, review the configuration parameters that will be used to deploy the application. This step is optional.

If you skip the deployment configuration step, CodeNOW will use the deployment configuration that it deems the most relevant for the specified deployment target (see Default deployment configurations).

If you do not skip the deployment configuration step, you will be able to manually edit the configuration variables for any of the application components. Your changes will update the deployment configuration stored in CodeNOW for the relevant deployment target.

For more information about deployment configurations, see Deployment configuration.

Assigned domains

As a third step of the deployment process, you can assign a custom domain to your deployed application. This step is optional. Your assigned custom domain should rarely change. You may want to assign a domain name for marketing or user experience purposes. Custom domain names are often chosen to be easy to read or memorize. View or edit your assigned domain configuration by clicking on the highlighted buttons:

step_05

For more information, check our Domain name configuration tutorial.

Runtime configuration

Your application runs on cloud infrastructure. Implement key non-functional requirements of the deployed application (e.g., minimum level of availability, latency, scalability) by specifying the infrastructure resources reserved for your application:

  • memory available to run the application (request/limit)
  • computing power available to run the application (CPU request/limit)
  • number of instances of the deployed application running in parallel

For more information, see Component scaling.

Runtime configuration

info

Apart from "cpu", units are specified as their prefix. For example 1000 m of CPU means 1 whole CPU (= 1 cpu), 1 M of Memory means 1 MB.

Connect managed services

The fifth and last deployment step is optional. If none of the components of the application under deployment uses managed services (e.g., distributed database, authentication), you can skip this step.

If any component of the application does use one or several predefined managed services offered by CodeNOW, indicate which instance(s) of managed services the component will use for the targeted deployment environment.

  • Associate managed services with the matching application components.
  • A yellow exclamation mark indicates that you have some managed services pending association with at least one application component.
Connect managed services
Connect managed services
  • Once finished, click on Deploy to start deploying your application. You will be redirected to the Deployment Detail screen of your deployed application where you can monitor the progress of the deployment.

For more information on managed services, see:

Example

The following animation takes you step-by-step through the deployment of an application:

How to create a deployment configuration for a target environment