Step-by-step guide for deploying a Zebra Zcash full node on Akash.
A full Zebra node that will:
The awesome-akash template now pins Zebra 7.0.0 (never :latest). It enables Prometheus (9999) and health (8080) internally, JSON-RPC internally for a colocated lightwalletd on gRPC 9067, and feature flags ENABLE_METRICS / ENABLE_HEALTH / ENABLE_RPC / ENABLE_LIGHTWALLETD.
For a faster pruned Mainnet node, see . For a disposable Regtest dashboard, see .
The numbers in the SDL (port / as) are container ports. Zebra still listens on 8233, lightwalletd on 9067, health on 8080. Those numbers are for the process and for other services in the same deployment (zebra:8232).
They are not the ports on the provider's public IP.
Default (this template): no dedicated IP. For each global: true TCP expose, the provider maps a random high port on a shared host to your container port. After the lease is up, Console/Air Leases → URIs lists the real endpoints, for example:
zebra-8233: provider.example:31482
lightwalletd-9067: provider.example:32011
Peers and wallets use those host:port values. Copy the URI for the expose you care about (P2P vs lightwalletd). If you set ZEBRA_NETWORK__EXTERNAL_ADDR, set it to the mapped P2P URI (provider.example:31482), not …:8233.
HTTP (as: 80 with http_options, used on the Thus Spoke dashboard): many providers publish an ingress hostname (often on 80/443) instead of a random TCP port. Open the URI for that service in a browser.
Internal (global: false or to: service: lightwalletd): cluster DNS only (zebra:8232). No public URI.
Dedicated IPs (endpoints / kind: ip in the SDL) are a premium extra. They can pin a public IP and sometimes the as port on that IP. These templates do not request one. Add that yourself later if you want a stable host:8233; expect extra cost and fewer bidding providers.
The SDL is the same. The two Akash web UIs differ in how you pay.
| Site | Payments | Wallet |
|---|---|---|
| console.akash.network | Traditional web checkout (card / fiat rails Console offers) | Console account |
| air.akash.network | Native Akash chain payments (AKT / ACT) | Keplr |
Use Air when you want to pay with Keplr on-chain. Use Console when you want a conventional web payment flow. Do not expect Keplr native settlement on Console.
If you pay on Console (web checkout)
If you pay on Air (native Akash / Keplr)
Console (web payments)
Air (native Akash payments)
Web payments (Console)
Native Akash payments with Keplr (Air)
If you want to manually paste the SDL:
The UI will show you:
On Air, click "Approve" and sign in Keplr. On Console, complete the web checkout the UI presents.
After ~ 30 seconds, you'll see bids from providers. Each bid shows:
Don't just pick the cheapest. Check:
Click "Accept Bid" on your chosen provider. On Air, sign in Keplr. On Console, confirm with the web payment flow.
Console will:
This takes 1-2 minutes. You'll see status updates in the UI.
Once deployed, you'll see:
Click on Logs and you should see Zebra starting up:
Loading config from environment variables
Mainnet network selected
Listening for peer connections on [::]:8233
Starting initial sync...
The sync will take hours to days depending on the network. Watch for:
Click on the Leases tab, then URIs.
You'll see something like:
zebra-8233: provider-hostname.com:31482
lightwalletd-9067: provider-hostname.com:32011
Each line is one global: true expose. The name includes the SDL as port (8233, 9067). The number after the hostname is the provider's mapped port, assigned at lease time. Other Zcash nodes dial provider-hostname.com:31482. Compact wallets use the lightwalletd URI (TLS off unless you terminate TLS yourself).
The container is still listening on 8233 / 9067. The public address is always the URI, unless you later add a dedicated IP (not in this template).
The SDL defaults to Mainnet. To use Testnet instead:
# - "ZEBRA_NETWORK__NETWORK=Mainnet"
# - "ZEBRA_NETWORK__LISTEN_ADDR=[::]:8233"
- "ZEBRA_NETWORK__NETWORK=Testnet"
- "ZEBRA_NETWORK__LISTEN_ADDR=[::]:18233"
# Comment out Mainnet port:
# - port: 8233
# as: 8233
# to:
# - global: true
# proto: tcp
# Uncomment Testnet port:
- port: 18233
as: 18233
to:
- global: true
proto: tcp
cpu:
units: 2 # Down from 4
memory:
size: 8Gi # Down from 16Gi
storage:
- size: 50Gi # Down from 150Gi
amount: 5000 # Down from 10000
RPC is disabled by default for security. To enable it:
For Mainnet:
- "ZEBRA_RPC__LISTEN_ADDR=0.0.0.0:8232"
- "ZEBRA_RPC__COOKIE_DIR=/home/zebra/.cache/zebra"
- port: 8232
as: 8232
to:
- global: false # Keep internal for security
proto: tcp
For Testnet:
- "ZEBRA_RPC__LISTEN_ADDR=0.0.0.0:18232"
- "ZEBRA_RPC__COOKIE_DIR=/home/zebra/.cache/zebra"
- port: 18232
as: 18232
to:
- global: false
proto: tcp
If you expose RPC with global: true, the public address is still a lease URI (host:<random-high-port>), not host:8232. With global: false (this template), RPC stays on the deployment network (zebra:8232 for lightwalletd). Dedicated IP leases are a separate paid option and are not in the SDL.
To scrape metrics for monitoring:
- "ZEBRA_METRICS__ENDPOINT_ADDR=0.0.0.0:9999"
- port: 9999
as: 9999
to:
- global: false
proto: tcp
If you're not getting bids or want to optimize cost:
For lower-spec providers, reduce in the profiles.compute.zebra.resources section:
To attract more bids, increase in profiles.placement.akash.pricing:
Need to change configuration after deploying?
If you enabled RPC, you can query your node as a normal zebrad full node (because it is!)
When you're done or want to stop paying:
Your 5 AKT deposit will be refunded. Persistent storage should be preserved by the provider, but don't rely on it - treat it like any other cloud provider.
On Air, fund Keplr with AKT/ACT. On Console, top up the Console payment method.
Either:
The provider might be having issues. Close the deployment and try a different provider.
This is normal for the first few minutes. Zebra will discover peers automatically. If it persists after 10+ minutes, you might have a networking issue (unlikely on Akash).
You cheaped out on RAM. Close the deployment and redeploy with at least 12Gi memory (16Gi recommended).
Define "forever":
Monitor your spending in Console or Air:
When your balance runs low, Akash will auto-close your deployment. Top up your wallet periodically or set up alerts.
| Mainnet (default) | Testnet | |
|---|---|---|
| Purpose | Production Zcash blockchain | Testing and development |
| Network | ZEBRA_NETWORK__NETWORK=Mainnet | ZEBRA_NETWORK__NETWORK=Testnet |
| P2P Port | 8233 | 18233 |
| RPC Port | 8232 | 18232 |
| Sync time | Days | Hours |
| Storage | 350GB+ | 50GB |
| Resources | 4 CPU / 16GB RAM | 2 CPU / 8GB RAM |
| Cost | ~$15/month | ~$5/month |
Start with Testnet if you're just testing the deployment process. See "Switching to Testnet" section above for configuration.