dcloud ec2 instances start-session

Open a terminal on the instance (Deutsche Cloud Connect, no inbound port)

IAM ec2:StartSessionChanges state

Answers a single-use `ticket` valid 60 s and `websocketUrl`. Open the WebSocket with the subprotocols `ews.terminal` and `ews.ticket.<ticket>`; binary frames are the terminal’s bytes, text frames `{"type":"resize","cols":…,"rows":…}`. `dcloud ec2 instances connect <id>` does this for you.

Synopsis

dcloud ec2 instances start-session id [flags]

Arguments

  • <id>Required

    string

    Also accepted as --id. Constraints: /^i-[0-9a-f]{6,32}$/

Flags

  • --login-userOptional

    string

    Log in as root (the default) or the image’s default user

    Constraints: /^[a-z_][a-z0-9_-]{0,31}$/

Example

dcloud ec2 instances start-session id

Generated from the API description, the same one the API checks requests against and the CLI is built from.