edgible gateway
Most users don’t need this — Edgible operates a managed gateway pool by default. These commands are for advanced setups where you want public traffic to enter through your own AWS account. Alias: gw.
edgible gateway create
Section titled “edgible gateway create”Provision a new EC2 instance as a gateway and register it with your organization. Alias: new.
edgible gateway create \ --name eu-gateway \ --region eu-west-1 \ --instance-type t3.small| Flag | Description |
|---|---|
-n, --name <name> | Gateway name. |
-d, --description <text> | Free-form description. |
-p, --profile <name> | AWS profile to use. Default reads from your CLI config. |
-r, --region <region> | AWS region. |
-t, --instance-type <type> | EC2 instance type. Default t3.micro. |
edgible gateway list
Section titled “edgible gateway list”edgible gateway listedgible gateway list --jsonAlias: ls.
edgible gateway delete
Section titled “edgible gateway delete”Tear down the EC2 instance and remove the device. Alias: rm.
edgible gateway delete --id <id> --forceedgible gateway resync
Section titled “edgible gateway resync”Push the latest agent code to a gateway and restart its service.
edgible gateway resync --id <id>| Flag | Description |
|---|---|
-i, --id <id> | Gateway ID. |
-v, --version <ver> | Specific agent version to install. |
--local | Sync from the locally-built agent (development). |
--install-from-local | Install dependencies and build on the gateway. |
edgible gateway logs
Section titled “edgible gateway logs”Read or tail the gateway’s agent log.
edgible gateway logs --id <id> --follow --lines 200| Flag | Description |
|---|---|
-i, --id <id> | Gateway ID. |
-n, --lines <n> | Number of lines to show. Default 50. |
-f, --follow | Stream new lines. |
-l, --level <level> | Filter by level. |
-c, --comprehensive | Include stdout/stderr alongside the structured log. |
edgible gateway ssh
Section titled “edgible gateway ssh”Open a shell on the gateway over SSH.
edgible gateway ssh --id <id>edgible gateway wipe-logs
Section titled “edgible gateway wipe-logs”Truncate the gateway’s agent log file.
edgible gateway wipe-logs --id <id>