VxCloud
Docs/CLI Reference/Deploy applications (vxcli deploy)
vxcli — Deploy applications (vxcli deploy)

Deploy applications (vxcli deploy)

Provision an application onto a remote VM. The CLI bundles your source (or clones a repo), POSTs it to the tenant node, and the node SSHs into the target VM to build, run, and front the app with nginx (or Traefik in SSL mode). All subcommands share the SSH flag set and the SSL flag set. HTTPS modes — `deploy container --enable-ssl` installs host systemd nginx + certbot in front of the first --port; `deploy <stack> --enable-ssl` (fastapi/react/nextjs/django/golang/...) bootstraps the shared `vxcloud-traefik` container which fronts the docker-compose stack on :443 with a Let's Encrypt cert. Both require the domain's A record to already point at --host. Stack deploys also require the keypair to be uploaded to Vault first (`vxcli configure setup vm --pem-file ./mykey.pem --key-pair-name MYKEY`).

22 commands in this section.

Deploy applications (vxcli deploy)

Provision an application onto a remote VM. The CLI bundles your source (or clones a repo), POSTs it to the tenant node, and the node SSHs into the target VM to build, run, and front the app with nginx (or Traefik in SSL mode). All subcommands share the SSH flag set and the SSL flag set. HTTPS modes — `deploy container --enable-ssl` installs host systemd nginx + certbot in front of the first --port; `deploy <stack> --enable-ssl` (fastapi/react/nextjs/django/golang/...) bootstraps the shared `vxcloud-traefik` container which fronts the docker-compose stack on :443 with a Let's Encrypt cert. Both require the domain's A record to already point at --host. Stack deploys also require the keypair to be uploaded to Vault first (`vxcli configure setup vm --pem-file ./mykey.pem --key-pair-name MYKEY`).

Was this page helpful?