Overview

The following guide is designed to help you deploy a sample Node.js app using the Express framework from the Aptible Dashboard.

Deploying the template

Prerequisite: Ensure you have Git installed.

Using the Deploy Code tool in the Aptible Dashboard, you can deploy the Express Template. The tool will guide you through the following:

1

Deploy with Git Push

2

Add an SSH key

If you have not done so already, you will be prompted to set up an SSH key.

3

Environment Setup


Select your Stack to deploy your resources. This will determine what region your resources are deployed to. Then, name the Environment your resources will be grouped into.

4

Prepare the template

Select Express Template for deployment, and follow command-line instructions.

5

Fill environment variables and deploy

Aptible will automatically fill this template’s required databases, services, and app’s configuration with environment variable keys for you to fill with values. Once complete, save and deploy the code!

Aptible will stream logs to you in live time:

6

Expose your app to the internet

Now that your code is deployed, it’s time to expose your app to the internet. Select the service that needs an endpoint, and Aptible will automatically provision a managed endpoint.

View your deployed app

Continue your journey

Deploy custom code

Read our guide for deploying custom code on Aptible.