Nuon supports several different component types that allow you to connect your existing DevOps automation, infrastructure as code, and containers to your app.

What is a Component?

A component represents a part of your application. Nuon supports the following component types:

Setting up an application requires defining and testing your application configuration.

Component Management

The CLI exposes many operational commands to manage components.

To see all available commands, run: nuon components --help.

Make sure to select an app using nuon apps select before using the components commands, or pass the -a flag to each component command.

Pinning a Component

You can pin a component, which will set its ID as a default argument to all component commands. This is helpful to avoid having to pass -c to each command.

nuon components select

Each example below assumes you have run nuon components select first.

To show the currently pinned component:

nuon components current

Component Management Commands

Commands for working with components:

Components can only be created using the Terraform provider or configuration file.

Get a component

nuon components get 

List components - List components for an app.

nuon components list

Delete a component - Delete a component.

It is not recommended to delete components using the CLI. Instead, manage them using Terraform or config files.

nuon components delete -c component_id

Print a component config - Print the latest configuration for a component.

nuon components latest-config

Component Builds

All components must be built before releasing. The release commands support an -auto-build flag which will trigger a build.

Create a build - Create a build using the latest component configuration.

nuon builds create -c component_id

List builds - List builds for a component.

nuon builds list

Get a build - Print out build details.

nuon builds get -b <build-id>

Logs - Show logs for a build.

nuon builds logs -b <build-id>

Print Plan - Print a build plan with configuration for the build.

nuon builds print-plan -b <build-id>