Skip to content

Expose a VM Service

On this page
  1. Quick start
  2. Remove an exposed service
  3. Requirements
  4. Flags
  5. gRPC services

rumpty expose gives a service running inside a VM a public HTTPS URL through Rumpty HTTP access. rumpty unexpose removes it, and rumpty vm expose ls lists the URLs a VM already has.

Quick start

bash
rumpty expose api-box -p 3000

Name the URL instead of the default port-<port>:

bash
rumpty expose test-vm8 --ws production-team-019e2b95 --port 18789 --name openclaw

List the exposed URLs for a VM:

bash
rumpty vm expose ls test-vm8 --ws production-team-019e2b95

Remove an exposed service

rumpty unexpose removes a URL by its name:

bash
rumpty unexpose test-vm8 --ws production-team-019e2b95 --name openclaw

Requirements

  • A signed-in session (rumpty login) or the RUMPTY_API_KEY environment variable. See Login & Logout.
  • A workspace: the --ws flag or $RUMPTY_WORKSPACE. The examples without --ws assume RUMPTY_WORKSPACE is set.

Flags

FlagDescription
-p, --portPort inside the VM to expose
--namePublic app name; defaults to port-<port>
--protocolApplication protocol: http (default) or grpc

gRPC services

Pass --protocol grpc for a gRPC service:

bash
rumpty expose api-box --ws production-team-019e2b95 -p 50051 --protocol grpc