Skip to content

Deploying NPL to NOUMENA Cloud

Learn how to deploy your NPL applications to NOUMENA Cloud, the cloud-based platform for building and deploying NPL applications.

Prerequisites

Before you begin, ensure you have:

Create an application on NOUMENA Cloud

  1. Navigate to the NOUMENA Cloud Portal
  2. Open your tenant
  3. Within your tenant, click on "Create application"
  4. Choose an application name, submit the form

It may take up to 3 minutes for your application to be ready.

Authenticate with NOUMENA Cloud

Connect your local NPL CLI to your NOUMENA Cloud account:

npl cloud login

Follow the authentication prompts to complete the login process. This will store your authentication credentials locally for future deployments.

Deploy your NPL backend

Deploy your NPL source code to NOUMENA Cloud:

npl cloud deploy npl \
    --tenant YOUR_TENANT_SLUG \
    --app YOUR_APPLICATION_SLUG \
    --migration api/src/main/migration.yml

Replace YOUR_TENANT_SLUG with your tenant slug and YOUR_APPLICATION_SLUG with your application slug from your NOUMENA Cloud portal. Adjust the path to your migration file as needed. In the absence of --migration parameter, this defaults to the directory from which the command is executed.

The deployment process will:

  • Upload your NPL source code to your NOUMENA Cloud application
  • Deploy it to the NPL Engine within your application
  • Make your application endpoints available at the NPL Engine URL

Access your deployed application

Your application is now available at the NPL Engine URL. You can use this URL to access the NPL Engine API and Swagger UI:

https://engine-YOUR_TENANT_SLUG-YOUR_APPLICATION_SLUG.noumena.cloud

To use your application on NOUMENA Cloud, populate users in your Identity and Access Management service. For more details, see Creating users

Next steps

Now that you have deployed to NOUMENA Cloud, you can: