Skip to content

RFD 189: Serial Console Access Through CloudAPI#165

Draft
nwilkens wants to merge 1 commit into
masterfrom
rfd-0189-console-access
Draft

RFD 189: Serial Console Access Through CloudAPI#165
nwilkens wants to merge 1 commit into
masterfrom
rfd-0189-console-access

Conversation

@nwilkens
Copy link
Copy Markdown
Member

@nwilkens nwilkens commented Oct 8, 2025

This RFD proposes exposing serial console access to Triton instances through CloudAPI via WebSocket endpoints. Currently, console access requires SSH access to compute nodes via vmadm console command.

The solution provides:

  • Serial console access to KVM instances
  • Zone console access to SmartOS native zones (Joyent brands)
  • Zone console access to LX instances
  • Zone console access to Bhyve instances

Implementation follows the existing VNC architecture pattern, with CloudAPI WebSocket endpoint proxying to vmadmd TCP proxies on compute nodes.

Key changes:

  • vmadmd: Console proxy infrastructure
  • CNAPI: New console endpoint
  • CloudAPI: WebSocket console endpoint
  • node-triton: New 'triton instance console' command

This RFD proposes exposing console access to Triton instances through CloudAPI
via WebSocket endpoints. Currently, console access requires SSH access to
compute nodes via vmadm console command.

The solution provides:
- Serial console access to KVM instances
- Zone console access to SmartOS native zones (Joyent brands)
- Zone console access to LX instances
- Zone console access to Bhyve instances

Implementation follows the existing VNC architecture pattern, with CloudAPI
WebSocket endpoint proxying to vmadmd TCP proxies on compute nodes.

Key changes:
- vmadmd: Console proxy infrastructure
- CNAPI: New console endpoint
- CloudAPI: WebSocket console endpoint
- node-triton: New 'triton instance console' command
@nwilkens nwilkens self-assigned this Oct 8, 2025
@nwilkens nwilkens requested a review from a team October 8, 2025 17:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant