Skip to main content

Deployment & Upgrades Commands

Deploy new applications to TEE instances and upgrade existing deployments with new code or configuration.

Commands Overview

CommandDescription
eigenx app deploy [image_ref]Deploy new app to TEE
eigenx app upgrade <app-id|name> [image_ref]Update existing deployment

eigenx app deploy

Deploy a new application to a Trusted Execution Environment (TEE).

The CLI will prompt you for billing details in our payment portal.

Syntax

eigenx app deploy [command options] [image_ref]

Arguments

ArgumentDescriptionRequired
image_refPre-built Docker image referenceNo

Flags

FlagDescription
--dockerfile <path>, -fPath to Dockerfile
--env-file <path>Path to .env file (default: .env)
--private-key <key>Private key for signing transactions
--environment <env>Deployment environment to use
--rpc-url <url>RPC URL to connect to blockchain
--name <name>Friendly name for the app
--log-visibility <setting>Log visibility: public, private, or off
--instance-type <value>Machine instance type to use: g1-standard-4t, or g1-standard-8t

Your Dockerfile must include the EXPOSE directive to specify which port(s) your application listens on, see the Port Exposure Guide.


eigenx app upgrade

Update an existing application with new code, configuration, or environment variables.

Syntax

eigenx app upgrade [command options] <app-id|name> <image_ref>

Arguments

ArgumentDescriptionRequired
app-id|nameApplication ID or friendly nameYes
image_refPre-built Docker image referenceYes

Flags

FlagDescription
--dockerfile <path>, -fPath to Dockerfile
--env-file <path>Path to .env file (default: .env)
--private-key <key>Private key for signing transactions
--environment <env>Deployment environment to use
--rpc-url <url>RPC URL to connect to blockchain
--log-visibility <setting>Log visibility: public, private, or off
--instance-type <value>Machine instance type to use: g1-standard-4t, or g1-standard-8t