Operate
The appliance runs in your AWS account and you operate it. This page covers reaching the instance, the appxenctl command, what you can and cannot change after launch, backups, and data retention.
Operations
SSH in with the SshCommand output, or reach the instance without opening port 22 at all through AWS Systems Manager Session Manager (the instance role already includes AmazonSSMManagedInstanceCore). Once on the instance, sudo appxenctl manages it:
| Command | What it does |
|---|---|
status | Containers, disk, memory, service health, Bedrock, JWT secrets, network guard. |
logs [service] | Follow the last 200 log lines (every service, or one). |
restart [service] | Recreate containers so they pick up edits to .env. |
backup now | Dump Postgres and upload it to the backups bucket. |
backup list | List the Postgres backups already in the bucket. |
restore <key> | Restore a backup, safety-dumping the live database first. |
reset-admin [email] | Set a temporary password and force a change at next sign-in. |
set-domain <name>set-domain --clear | Switch between a trusted domain certificate and the self-signed one. |
set-brave-keyset-brave-key --clear | Set or remove the Brave Search API key for web search (see Web search). |
allow-upstream <name>allow-upstream --removeallow-upstream --list | Let registered servers reach a server on the appliance itself or behind a single-label host name (see Register MCP servers). |
bedrock-check | Re-run the Bedrock model-access probe. |
Run sudo appxenctl help on the instance for the full command reference.
The services logs and restart accept are gateway, console-api, rag-engine, extension-runner, orchestrator, postgres and redis.
Changing settings later
First boot reads AdminEmail and DomainName once. Changing either in a stack update afterwards does not change the appliance: CloudFormation stops and starts the instance with the new user data and updates the stack's outputs, but first boot does not run again. Make these changes on the instance instead:
- Domain: point the name's DNS A record at the
ElasticIpoutput, then runsudo appxenctl set-domain <name>.sudo appxenctl set-domain --cleargoes back to the self-signed certificate. - Admin: sign in and add the new administrator under Settings > Users. If you are locked out,
sudo appxenctl reset-admin [email]gives an existing admin a temporary password (the instance ID by default) that must be changed at the next sign-in.
Moving to a new version
Changing ImageId, KeyName, RootVolumeSize or AvailabilityZone in a stack update replaces the instance (the update form's parameter descriptions say so too). This is how you move to a new version: update the stack with the new ImageId. CloudFormation starts a new instance, moves the ElasticIp to it and then terminates the old one, so the console keeps its address and ConsoleUrl does not change. Your DynamoDB tables and S3 buckets are not touched.
The Postgres RAG index lives on the old instance's root volume, which is deleted with it. The old instance takes a last backup as it shuts down, but EC2 may stop it before a large backup finishes, so take a backup first:
- 1
Take a backup: click Back up now on Settings > Backups and wait for the new backup to be listed, or run
sudo appxenctl backup nowon the running appliance. - 2
Update the stack with the new
ImageId(orKeyName,RootVolumeSizeorAvailabilityZone), keeping every other parameter as it is. - 3
When the update is complete and first boot has finished on the new instance (a few minutes), sign in with your existing password and accept the offer to restore your latest backup.
Your users, API keys, registered servers and settings are in DynamoDB and carry over on their own; the restore brings back the documents and search data in Postgres. The new instance reads the stack's secrets back from Systems Manager, so the credentials stored for your tool connections stay readable.
Updating from 0.2.x. A stack moving from a 0.2.x template to a newer one replaces the instance for the template change itself, even when the ImageId stays the same, so take the backup before that update too.
0.2.x kept its secrets only on the instance, so the first instance of the new version generates a new credential key. One time only, the console then shows which tool connections need their credentials entered again and links to each one. Later updates keep them.
Backups
Backups are of Postgres, which holds the RAG index (your documents' text and search data). DynamoDB and the S3 buckets need none: they are retained and survive a stack update on their own. Admins manage backups on Settings > Backups in the console:
- The list. Every backup in the backups bucket, newest first, with its time (UTC), size and kind: scheduled, manual or safety (taken automatically before a restore). A backup is restorable only once it is verified: the upload completed, matches the dump's size and reads back. One that fails the check is shown as damaged.
- Back up now. Takes a manual backup. The nightly backup, the page and
sudo appxenctl backup nowshare one lock, so a second backup while one runs is refused with a message saying so. - Restore. Type the backup's date and time, as shown, to confirm. The page first takes a safety backup of the live database, then restores the one you chose. Documents and search data return to the backup's state; users, MCP servers, API keys, workflows and settings stay as they are. The console is offline for about a minute and shows the restore's progress. If the services do not come back healthy, the safety backup is restored automatically. To undo a restore, restore its safety backup.
- Schedule. On or off, and the hour (UTC) of the nightly backup, which runs at 15 minutes past that hour. The default is on, at 03:15 UTC.
- Retention. Backups older than this many days are deleted, 30 by default. Retention never deletes the newest good backup, and a deleted backup stays recoverable as a noncurrent version in the bucket for 30 days. No backup expires by itself otherwise.
The console's health panel has a backups row: it shows the last good backup and turns amber when the last backup failed, when the newest good one is more than 26 hours old while the schedule is on, or when the backup service is not running. When the instance powers off (a stack update that replaces it, a stop, a termination), it takes a last backup first, given up to nine minutes; a reboot takes none.
Over SSH, sudo appxenctl backup now, backup list and restore <key> do the same. Take a backup before any risky change.
Data retention
Deleting the stack does not delete your data. These are retained on stack deletion, by design, so a mistaken or accidental delete can never take your data with it:
- the five DynamoDB tables
- the three S3 buckets (media, RAG documents, backups)
- the SQS queue pair (the queue and its dead-letter queue)
If you are done with the appliance for good, delete those retained resources yourself once you have confirmed you no longer need them.
Inside the buckets, a deleted or overwritten media file or RAG document, and an unshared output, stays recoverable as a noncurrent version for 30 days before S3 removes it. The parts of an interrupted upload are removed after 7 days.