Common tasks
Short recipes. Role in brackets.
Add an app and deploy it (admin)
- Overview → + New app (n).
- Choose Git repository (URL, branch) or Directory on this server; Detect settings →.
- Check commands, Port, Health check URL. Keep Deploy right away ticked; Create app.
- Watch the Deploy tab until it says “… is live”.
Details: New app.
Deploy a new version (deployer)
- Push to the app’s branch (or update the directory).
- Deploy on the app’s card in the Overview; or on the Deploy tab pick Branch, Commit, Strategy, then Deploy.
- If the health check fails, the previous release keeps serving; open Build log for why.
Automate with a GitHub webhook or daily deploy (admin).
Roll back (deployer)
- App → Releases (2).
- Roll back on the release you want; confirm.
- When it shows Live, you’re done. No rebuild.
Details: Releases.
Find out why a deployment failed (viewer)
- Deployments (g d), Status Failed, open it.
- Read the red error, the ✕ stage, then Build log.
Details: Deployment details.
Read and search logs (viewer)
- App → Logs (3).
- / to filter; stderr for errors only.
- Pause to read; Download to save.
Details: Logs.
Set CPU and memory limits (admin)
- App → Resources (4) → Limits.
- Untick No limit, drag the slider (or type MiB). Applies on release, no restart.
- If CPU throttled stays high or OOM kills rise, raise the limit.
Details: Resources.
Change a setting or an environment variable (admin)
- App → Settings (5).
- Edit the field (or Add variable); Save settings.
- Check the
aegis.toml diff; confirm.
- Deploy: settings apply to the next deployment.
Give a slow app more time to start (admin)
- Settings → Build & run.
- Set Health check timeout (seconds), e.g.
90 (default 30). Drain timeout is how long a stopping release gets to finish requests.
- Save settings, confirm, deploy. The dashboard value wins over
aegis.toml.
Change where an app’s code comes from (admin)
- Settings → Repository → Change source.
- Pick Git repository (URL, branch) or Folder on this server, optionally an App folder.
- Save source; confirm. Used from the next deployment. See Settings.
Delete an app (admin)
- Settings → Danger zone (bottom).
- Delete app, type the name, Delete this app. Tick Keep the release directories and logs to keep them.
- Processes stop and domains are freed; history stays in Events. See Settings.
Add a secret (admin)
- Settings → Secrets: Name (e.g.
DATABASE_URL), Value, Save secret.
- Accept the restart offer.
Put the app on a domain (admin)
- Point DNS at the server; enable the proxy (
[proxy] enabled = true).
- Settings → Domains: domain, Automatic HTTPS (Let’s Encrypt), Add domain.
- Wait for HTTPS in the certificate column.
Details: Domains.
Run several instances (admin)
- Map a domain first.
- Settings → Build & run: Instances 2 or more; optionally Default strategy Rolling or Blue-green; save.
- Deploy. See the Instances card.
Add a user (admin)
- Account → Users: Username, Role, Add user.
- Copy the password (shown once) and pass it on. They can change it under Account → Password.
Change a role later with the Role menu in their row. Details: Users.
Create an API token for CI (admin)
- Account → API tokens: Name (e.g.
ci-deploy), scope deploy, Create token.
- Copy it (shown once) into CI secrets; send
Authorization: Bearer <token>.
- Revoke if it leaks.
Take a backup (admin)
- Account → Backups: optionally Include releases; Back up now.
- Download for an off-server copy.
Restore with the commands under Restore. Details: Backups.
Update Aegis (admin)
- When “Aegis vX is available” appears, read the Release notes.
- Upgrade now, confirm. A backup is taken first; apps restart.
Details: Aegis updates.
See who did something (viewer)
- Events (g e).
- Pick App and Category, or use Filter by text.
- Entries end with “by user:…” or “by token:…”.
Details: Events.